This sample uses the Agent Development Kit (ADK) to create a simple "Expense Reimbursement" agent that is hosted as an A2A server.
This agent takes text requests from the client and, if any details are missing, returns a webform for the client (or its user) to fill out. After the client fills out the form, the agent will complete the task.
- Python 3.9 or higher
- UV
- Access to an LLM and API Key
-
Navigate to the samples directory:
cd samples/python -
Create a file named .env under agents/google_adk.
touch agents/google_adk/.env
-
Add
GOOGLE_API_KEYto .env (sample uses Google Gemini by default) -
Run an agent:
uv run google_adk/agent
-
Run one of the client apps