Copy-paste patterns for common voice agent workflows — tested, annotated, and ready to adapt.
Recipes are focused, working examples for the patterns you’ll build most often. Each recipe shows the complete code, explains the key decisions, and flags common mistakes.
Recipes assume you’re comfortable with functions and basic return values. Most Level 2+ learners can use them directly; Level 1 learners should finish the core lessons first.
Each recipe is a starting point, not a final implementation. Adapt the function names, prompts, and logic to match your agent’s context. The comments in each snippet explain why each decision was made — read them before editing.
If you find yourself writing the same pattern more than once, it’s a good candidate for a recipe. The ADK makes it easy to pull patterns into reusable utility files.