Files
Google Team Member ed8b31ce5f chore: migrate from gemini-1.* and gemini-2.0* to gemini-2.5-*
`gemini-1.*` and `gemini-2.0*` models are respectively deprecated and scheduled for shutdown on June 1, 2026. `gemini-2.5*` models are their successors.
No regressions in unit tests:
```
========================================================================================== 5583 passed, 2237 warnings in 84.91s (0:01:24) ===========================================================================================
```

PiperOrigin-RevId: 907663315
2026-04-29 10:34:22 -07:00
..

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