Reflection pattern
One agent critiques its own draft, finds weaknesses and refines it before answering. Generation, review and refinement stay inside the same agent.
In plain terms Like proofreading your own essay before handing it in.
Last reviewed · Custom implementation A prompting/loop technique inside one agent; no dedicated platform orchestration.
How it works
One agent generates an answer, critiques its own output and refines it, repeating while improvement is needed.
Roles in the example
- Nova · Self-reflecting agent Generates, reviews its own work and refines it.
At a glance
- Pattern type
- Reasoning technique
- Execution model
- Self-critique loop in one agent
- Coordination
- None between agents; self-review step
- Runs agents in parallel
- No, one step at a time
- Implementation complexity
- Low
- Relative latency
- Medium · Each reflection round adds a model call
- Relative operational cost
- Medium · One agent, but every review-and-refine round is extra calls.
- Predictability
- Medium · Bounded rounds; critique quality varies
- Scalability
- Cheap to add; cost scales with reflection rounds.
Complexity, latency, cost and predictability are qualitative ratings that compare these patterns with each other, not measured benchmarks.
When to use it
Good for: Better answers without adding more agents.
Use when
- Cheap quality boost without extra agents
- Drafting, summarization and reasoning tasks
- Prototype before a full evaluator
Avoid when
- Independent verification is required (use maker–checker)
- Strict latency budgets
- The model can’t judge the domain reliably
Enterprise use cases
- Email and report drafting
- Answer self-checking before sending
- Code explanation refinement
Advantages and limitations
Advantages
- Simple to implement
- No extra agent infrastructure
- Often improves clarity and completeness
Limitations and trade-offs
- Same model judges itself — shared blind spots
- Can over-edit or drift
- Not a substitute for independent review
Security, oversight and failure handling
Security and governance
- Self-review is not a security control
- Keep content filtering on every round
- Don’t grant extra tools for reflection
Human oversight
Optional. Not in the loop; self-critique does not replace independent or human review for high-stakes output.
Failure handling and recovery
- Cap the number of rounds
- Stop when no meaningful change is detected
- Fall back to the first acceptable draft
Implementation guidance
Decisions to settle before building
- Cap the number of self-review rounds: each one adds latency and cost, and more rounds do not always improve the result.
- Give the agent concrete review criteria rather than a generic instruction to check its work.
- Switch to an independent reviewer (evaluator–optimizer or maker–checker) when self-review is not enough for the risk involved.
Supported technologies
| Technology | Support | How |
|---|---|---|
| Microsoft Agent Framework | Build from primitives | Bounded looping in an agent or a custom workflow loop |
| Microsoft Foundry | Custom implementation | Prompt design within an agent |
| Copilot Studio | Custom implementation | Prompt design within an agent |
Code samples and step-by-step guides for Python, C#, Microsoft Foundry and Copilot Studio are in the interactive explorer’s Developer implementation section.
Official references
- Agent Framework: bounded looping
- Reflexion: Language Agents with Verbal Reinforcement LearningResearch paper
- Azure Architecture Center: maker-checker loops (group chat)
Last reviewed 5 December 2026 against Microsoft Agent Framework (Python 1.26 release line), Microsoft Foundry Agent Service, Copilot Studio. Platforms change often: confirm details in the linked documentation.