It's top C.I.A spy Walter Burke, Al Pacino, who seeks out James for the job whom he feels, like father like son, he'll make a 1st class spoke-spy-for the agency. Going through the rigorous mental & psychical training for becoming a spook at the agency's Langton Farm James meets and falls in love with fellow spook Layla Moore, Bridget Moynahan, that seems to upset his controller Burke. It's Burke who suspects that she's in fact a spy for the other side-Russia China Iran or maybe North Korea- who's using her position to get important and critical computer information to the nation that she's spying for.
***SPOILERS**** Like in most modern spy movie no one knows what's going on and on who's side their on their or working for until the films final moments. James who gets booted from the agency for cracking under pressure finds out later that he in fact passed with flying colors. Given a menial job as cover by his controller Burke at the agency emptying out ash trays and garbage cans James is told to keep an eye on Layla who's suspected of being a mole for the outer side. It's later that James finds out the truth and that leads to him also finding out just who the mole is that really is no surprise to anyone in just how crazy, just get a load of his reasons for selling out his country are , and obvious he is. As for James' Pop he in the end finds out what really happened to him as well as the person he was involved with who may have set him up for the kill.