support get_agents
Merge pull request #14 from Juniper/agent_ext

support get_agents