Two Americans killed in a recent ambush in Afghanistan were contract employees of the CIA , the agency said Tuesday .