<< Home | Prompting craft
Adversarial sub-agents identify and correct errors
| Area | Prompting craft |
| AI used | Claude |
| Source | Reddit thread |
| Posted | 2026-01-21 |
The move
Use a secondary agent to independently evaluate and grade the primary agent's output.Steps
- Task the primary agent with the initial request.
- Assign a second agent to independently evaluate the output.
- Have the second agent grade the work and spot errors.
- Compare the output to the original plan to identify gaps.
- Iterate by creating a new plan to fill those gaps.
Prompt for your AI
Act as an adversarial evaluator. Review the previous output, grade it for accuracy and completeness, and identify any specific gaps or errors compared to the original requirements.
What happened
Users struggling with Claude's incomplete or lazy responses were advised to implement an adversarial workflow. By having one agent perform the task and a second agent critique the work, the model is forced to address gaps. Commenters confirmed that this iterative process helps overcome the tendency to provide only partial solutions.Who confirmed it
Users noted that models often deliver about 80% of a solution, and this method allows them to 'pinpoint gaps, devise a new plan to fill those gaps, and iterate.'Watch out
Increases token usage and complexity of the prompt chain.Give it to your agent
Read https://howtheyuse.ai/p/adversarial-sub-agents-identify-and-correct-errors.md and help me do this.