get agents to run server-side