🔄
Self-Evaluation Loop Flow CrewAI
blueprint · 3 agents
6124★ stars
What it does
CrewAI's evaluator-optimizer example: a writer crew produces an X post in a persona, a review crew critiques it against constraints (including a character-counter tool), and the flow feeds the verdict back until it passes. The pattern to study for quality loops in Flows.
Agent flow
1 · Writer crew
Draft in persona
no tools · reasoning
2 · Review crew
Critique & verdict
character counter
3 · Flow
Loop until it passes
flow control
get the code
View the source on GitHub ↗
This blueprint lives in its authors' repository. SocketCat indexes it and links you to the real thing.