In the season 4 episode, "Un Chien Tangerine", Pam applied to become a field agent.
She reluctantly goes along with the plan to form a drug cartel in order to provide for her child.
Still insecure in his relationship with Lana, and egged on by Pam, Cyril shadowed Lana and Archer while they were on a mission posing as honeymooners, which may have prompted Lana to pursue artificial insemination.
It is eventually revealed that Malory has set up the entire venture as a ploy to sell drugs for the CIA, and is able to leverage her team a position as a sanctioned outsourced organization in Season 6. A tall, beautiful black woman, she is a competent and deadly agent but is constantly frustrated that she is treated as the number two ISIS field agent because Archer's mother runs the agency.