afterAgent

Runs after an agent.