Files
Liang Wu 43f302ce1a chore(config): Add _config suffix to all yaml-based agent examples
Also expand agent folder name to full spelling, e.g. ma --> multi_agent

PiperOrigin-RevId: 795926902
2025-08-16 16:10:43 -07:00

12 lines
557 B
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/google/adk-python/refs/heads/main/src/google/adk/agents/config_schemas/AgentConfig.json
name: root_agent
model: gemini-2.0-flash
description: Root agent
instruction: |
If the user query is about life, you should route it to the life sub-agent.
If the user query is about work, you should route it to the work sub-agent.
If the user query is about anything else, you should answer it yourself.
sub_agents:
- config_path: ./work_agent.yaml
- code: sub_agents_config.life_agent.agent