The State Department tool cost about $400,000 to develop and is at least 97% as accurate as humans, according to an agency leader.