While immigration officials have used the tech for years, an October letter from the Department of Homeland Security obtained exclusively by The Associated Press details how those tools - some of them powered by AI - help make decisions over whether an immigrant should be detained or surveilled.