Drag and drop agent blocks to build the correct architecture for this pattern.
Create a system where an agent generates code, a critic reviews it, and the generator improves based on feedback — like an automated code review loop.
Coder Agent
Generates code from a specification
Critic Agent
Reviews code for bugs, style, and correctness
Feedback Loop
Passes critique back to the coder for revision
Max Retries Gate
Stops the loop after N iterations to prevent infinite loops
Router
Routes requests to different handlers
Memory Store
Stores long-term context
Drop blocks here to build your agent pipeline
Arrange them in the correct order