How databy/taller-google-adk works
PuraVida Tech is a Costa Rican computer-shop assistant. A customer request first reaches the ADK root agent: obvious stock or order questions can be answered by the decider without a model call; other requests are handed to a catalog, order/shipping, or admin specialist, whose tools use the shop’s in-memory data. The README also documents LiteLLM-backed model use and backend price-change safeguards. Tool and data relationships are visible in the excerpts; specialist transfers and model-provider wiring are documented or configured, but their runtime internals are not shown.
Main entry points: agent.py Root assistant · decider.py Fast decider · tools.py Catalog tools · datos.py Shop data
Components 12
Conversation routing
- Root assistant
agents/tienda_cr/agent.py - Fast decider
agents/tienda_cr/decider.py - Catalog specialist
agents/tienda_cr/agent.py - Orders specialist
agents/tienda_cr/agent.py - Admin specialist
agents/tienda_cr/agent.py
Shop capabilities
- Catalog tools
agents/tienda_cr/tools.py - Order and shipping tools
agents/tienda_cr/tools.py - Inventory and price tools
agents/tienda_cr/tools.py
Model and data
- Shop data
agents/tienda_cr/datos.py - LiteLLM adapter
agents/tienda_cr/agent.py
Other components
- Customer
- Configured model provider
Connections 21
- Customer → Root assistant: asks
README.md - Root assistant → Fast decider: checks first
agents/tienda_cr/agent.py - Fast decider → Catalog tools: calls stock
agents/tienda_cr/decider.py - Fast decider → Order and shipping tools: calls order
agents/tienda_cr/decider.py - Root assistant → Catalog specialist: transfers to
README.md - Root assistant → Orders specialist: transfers to
README.md - Root assistant → Admin specialist: transfers to
README.md - Catalog specialist → Fast decider: runs callback
agents/tienda_cr/agent.py - Orders specialist → Fast decider: runs callback
agents/tienda_cr/agent.py - Admin specialist → Fast decider: runs callback
agents/tienda_cr/agent.py - Catalog specialist → Catalog tools: uses
agents/tienda_cr/agent.py - Orders specialist → Order and shipping tools: uses
agents/tienda_cr/agent.py - Admin specialist → Inventory and price tools: uses
agents/tienda_cr/agent.py - Catalog tools → Shop data: reads
agents/tienda_cr/tools.py - Order and shipping tools → Shop data: reads
agents/tienda_cr/tools.py - Inventory and price tools → Shop data: reads and updates
agents/tienda_cr/tools.py - Root assistant → LiteLLM adapter: uses model
agents/tienda_cr/agent.py - Catalog specialist → LiteLLM adapter: uses model
agents/tienda_cr/agent.py - Orders specialist → LiteLLM adapter: uses model
agents/tienda_cr/agent.py - Admin specialist → LiteLLM adapter: uses model
agents/tienda_cr/agent.py - LiteLLM adapter → Configured model provider: calls provider
README.md