add get_agent_device for agid_dao