remove AgentManager wrapper