Overview of ADK Agent patterns and examples
mainThis repository provides practical implementations of various Agent Development Kit (ADK) patterns. Use these examples to learn specific agent capabilities:
- Basic Agent: Simple query-response agents.
- Tool Agent: Agents equipped with tools to perform external actions.
- LiteLLM Agent: Using LiteLLM to abstract LLM providers and switch models easily.
- Structured Outputs: Using Pydantic models with
output_schemafor consistent responses. - Sessions and State: Maintaining memory across multiple interactions.
- Persistent Storage: Storing agent data across restarts.
- Multi-Agent Systems: Orchestrating specialized agents, including Stateful Multi-Agent workflows.
- Agent Control Flow: Implementing Callbacks (real-time monitoring), Sequential Agents (pipelines), Parallel Agents (concurrency), and Loop Agents (iterative refinement via feedback loops).