agentManager added