This sample creates a simple "weather_time_agent" agent hosted by an A2A server using the Agent Development Kit (ADK).
- Development Environment
- backend
- Python 3.13 or higher
- UV installed
- frontend
- node v22 or higher
- npm installed
- GCP Account
- Account with LLM access and Vertex AI permissions
gcloud auth application-default login- When deploying to GCP CloudRun, connect using a service account.
- Download
curl -L -o a2adk-template.zip https://github.com/didim365/a2adk-template/archive/main.zip
unzip a2adk-template.zip- Backend Installation
uv sync- Frontend Installation
cd frontend
npm install- Run the ADK agent. (Does not use the A2A server.)
cd a2adk
adk run agent
# or adk web- Run the A2A server:
a2adk
# or a2adk --agent root_agent
# or a2adk --host localhost --port 10008- Run the frontend.
- Start the development server.
cd frontend
npm run dev- Open http://localhost:5173 in your web browser.
Use the VSCode debugger.
- Debug ADK Agent
Debug the ADK agent (code under ./a2adk/agents). - Debug A2A Agent
Debug the A2A server. - Debug frontend
Debug the A2A web client (runnpm run devfirst).
- Backend
docker buildx build --platform=linux/amd64 -t a2adk-backend .- Frontend
cd frontend
docker buildx build --platform=linux/amd64 -t a2adk-frontend .When deploying, use the values from .env as environment variables.