docs(config): add examples for config agents

PiperOrigin-RevId: 793871778
This commit is contained in:
Liang Wu
2025-08-11 18:09:55 -07:00
committed by Copybara-Service
parent 88114d7c73
commit d87feb8ddb
41 changed files with 761 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# 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