Training documents suggest that Palantir has lent its tech to the CBP's program, called the Analytical Framework for Intelligence (AFI), which draws and analyzes information from an array of federal, state and local law enforcement databases.