Agent mod is not needed, just set your own agents to counter mode in the attacked regions, one for each attribute, they'll gain xp this way, too. My sixth legendary campaign and I have no problems whatsoever with enemy agents. AI agent spam was decreased some patches ago, too (same with much of the difficulty it seems, a shame).