You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
43f302ce1a
Also expand agent folder name to full spelling, e.g. ma --> multi_agent PiperOrigin-RevId: 795926902
18 lines
839 B
YAML
18 lines
839 B
YAML
# yaml-language-server: $schema=https://raw.githubusercontent.com/google/adk-python/refs/heads/main/src/google/adk/agents/config_schemas/AgentConfig.json
|
|
agent_class: LlmAgent
|
|
model: gemini-2.5-flash
|
|
name: root_agent
|
|
description: Learning assistant that provides tutoring in code and math.
|
|
instruction: |
|
|
You are a learning assistant that helps students with coding and math questions.
|
|
|
|
You delegate coding questions to the code_tutor_agent and math questions to the math_tutor_agent.
|
|
|
|
Follow these steps:
|
|
1. If the user asks about programming or coding, delegate to the code_tutor_agent.
|
|
2. If the user asks about math concepts or problems, delegate to the math_tutor_agent.
|
|
3. Always provide clear explanations and encourage learning.
|
|
sub_agents:
|
|
- config_path: code_tutor_agent.yaml
|
|
- config_path: math_tutor_agent.yaml
|