Loading patterns…
Feedback Chaining
Implements iterative improvement cycles where outputs are evaluated and fed back as inputs until quality criteria are met, proven to enhance output quality through convergence-based refinement - particularly effective for creative and optimization tasks
In 30 seconds
- What
- Generates output, evaluates it against quality metrics, feeds critique back as input, and regenerates until meeting a threshold or hitting iteration limits.
- When to use
- Tasks where quality improves through revision cycles, like writing, code generation, or optimization problems with measurable success criteria.
- Watch out
- Easily enters infinite loops or produces diminishing returns; set strict iteration caps and validate that metrics actually correlate with real quality.
Ask the AI expert about this pattern
Opens the assistant with your question prefilled. You review it before sending.
Feedback Chaining: Overview
Implements iterative improvement cycles where outputs are evaluated and fed back as inputs until quality criteria are met, proven to enhance output quality through convergence-based refinement - particularly effective for creative and optimization tasks
- Iterative improvement cycles
- Convergence detection
- Quality metrics tracking
- Stop condition evaluation
Get the Prompt Chaining field guide
All 7 prompt chaining patterns condensed into one guide: which shape fits the work you have, what every extra link costs you, and when a longer chain makes things worse. The link arrives with your confirmation, alongside the weekly Agent Architect.
Weekly email, one-click unsubscribe. We only use your address to send the briefing.
References
The papers, specifications, and repositories this pattern is based on.
- Self-Refine: Iterative Refinement with Self-Feedback (Madaan et al., 2023)arXiv:2303.17651
- Constitutional AI: Harmlessness from AI Feedback (Bai et al., 2022)arXiv:2212.08073
- Training Language Models to Follow Instructions with Human Feedback (Ouyang et al., 2022)arXiv:2203.02155
- LangChain Self-Critique and Refinement Chains
- OpenAI Iterative Prompting Best Practices
From the engineer behind this catalog
Get your agent architecture reviewed
This page documents one pattern. Your system runs dozens, and most failures live in how they fit together. Have the whole design reviewed against the 288 patterns in this catalog: architecture, reliability, evaluation and cost, every finding mapped to the pattern that fixes it.
€750 instead of €1,500, one week, written report and walkthrough call, until 30 September