added /api/agent/create service