mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
Also expand agent folder name to full spelling, e.g. ma --> multi_agent PiperOrigin-RevId: 795926902
17 lines
478 B
Markdown
17 lines
478 B
Markdown
# Config-based Agent Sample - Sequential and Loop Workflow
|
|
|
|
A multi-agent setup with a sequential and loop workflow.
|
|
|
|
The whole process is:
|
|
|
|
1. An initial writing agent will author a 1-2 sentence as starting point.
|
|
2. A critic agent will review and provide feedback.
|
|
3. A refiner agent will revise based on critic agent's feedback.
|
|
4. Loop back to #2 until critic agent says "No major issues found."
|
|
|
|
Sample queries:
|
|
|
|
> initial topic: badminton
|
|
|
|
> initial topic: AI hurts human
|