I found that agent upkeep is controlled by the descr_character file, but looking through all txt and xml files, I could not find which one controls the recruitment cost for agents.
Reason is that I want to increase training cost of diplomats so the AI does not spam the map with them.