AXON Runtime → DigitalOceanAgentRouter → ADK Agents (deployed on DigitalOcean)
Edit backend/.env:
# AXON Mode: mock (test mode) or real (DigitalOcean agents)
AXON_MODE=real
# DigitalOcean API Token
DIGITALOCEAN_API_TOKEN=your_do_api_token_here
# Agent URLs (from ADK deployment)
AXON_PLANNER_AGENT_URL=https://agents.do-ai.run/<planner-id>
AXON_RESEARCH_AGENT_URL=https://agents.do-ai.run/<research-id>
AXON_REASONING_AGENT_URL=https://agents.do-ai.run/<reasoning-id>
AXON_BUILDER_AGENT_URL=https://agents.do-ai.run/<builder-id>cd backend
uv synccd backend
uv run uvicorn src.main:app --reloadpip install gradient-adkexport DIGITALOCEAN_API_TOKEN=your_token_here# Planner
cd agents/planner_agent
gradient-adk deploy
# Research
cd agents/research_agent
gradient-adk deploy
# Reasoning
cd agents/reasoning_agent
gradient-adk deploy
# Builder
cd agents/builder_agent
gradient-adk deployAfter each deployment, copy the agent URL and add to backend/.env
curl -X POST http://localhost:8000/tasks \
-H "Content-Type: application/json" \
-d '{"title": "Test task", "description": "Test description"}'Set AXON_MODE=real in .env and restart backend
curl -X POST http://localhost:8000/tasks \
-H "Content-Type: application/json" \
-d '{"title": "Build a REST API", "description": "Create a FastAPI REST API with CRUD operations"}'tail -f backend/audit.loggradient-adk logs <agent-id>.
├── agents/
│ ├── planner_agent/
│ │ ├── main.py
│ │ ├── requirements.txt
│ │ └── .env.example
│ ├── research_agent/
│ ├── reasoning_agent/
│ └── builder_agent/
├── backend/
│ └── src/
│ ├── agents/
│ │ ├── planning_agent.py (modified)
│ │ ├── research_agent.py (modified)
│ │ ├── reasoning_agent.py (modified)
│ │ └── builder_agent.py (modified)
│ ├── providers/
│ │ └── digitalocean/
│ │ ├── digitalocean_agent_client.py
│ │ ├── digitalocean_agent_router.py
│ │ └── digitalocean_agent_types.py
│ ├── config/
│ │ └── config.py (modified)
│ └── core/
│ └── agent_orchestrator.py (modified)
└── .env.example (modified)
- Check agent URL is correct
- Verify DIGITALOCEAN_API_TOKEN is valid
- Check agent logs:
gradient-adk logs <agent-id>
- Verify AXON_MODE is set correctly
- Check all agent URLs are configured
- Review backend logs
Set AXON_MODE=mock to use local mock agents for testing