This repository contains examples for learning Google's Agent Development Kit (ADK), a powerful framework for building LLM-powered agents.
Create virtual environment.
# Create virtual environment in the root directory (agent-development-kit)
uv init
uv venv
# Activate virtual environment
# Windows PowerShell:
.venv\Scripts\Activate
# Install dependencies
uv add <PackageName>- Create an account in Google Cloud https://cloud.google.com/?hl=en
- Create a new project
- Go to https://aistudio.google.com/apikey
- Create an API key
- Assign key to the project
- Connect to a billing account
- Add the API key to the .env file for each Agent folder
Each example is designed to build upon the previous one, gradually introducing more complex concepts.
Simplest form of ADK agents. Create a basic agent that can respond to user queries.
Enhance agents with tools that allow them to perform actions beyond just generating text.
LiteLLM to abstract away LLM provider details and easily switch between different models.
Pydantic models with output_schema to ensure consistent, structured responses from agents.
Maintain state and memory across multiple interactions using sessions.
Storing agent data persistently across sessions and application restarts.
Orchestrate multiple specialized agents working together to solve complex tasks.
Build agents that maintain and update state throughout complex multi-turn conversations.
Implement event callbacks to monitor and respond to agent behaviors in real-time.
Create pipeline workflows where agents operate in a defined sequence to process information.
Leverage concurrent operations with parallel agents for improved efficiency and performance.
Build sophisticated agents that can iteratively refine their outputs through feedback loops.
For more detailed information, check out the official ADK documentation:
https://github.com/bhancockio/agent-development-kit-crash-course