The US embassy in Baghdad is increasing its security staff and vowed to remain open after militants captured vast swathes of territory and headed for the capital, officials said Saturday.