Design, build, or audit a coding agent, agentic loop, tool-use harness, or autonomous coding system — covering loop architecture, action space, context strategy, observation formatting, evaluation, error handling, prompt engineering, and task decomposition. Use when the user wants to design an agent, build a coding agent, scaffold an agentic system, architect a tool-use loop, review an existing agent harness for improvements, fix context bloat or compaction problems, tune observation formatting or tool output handling, debug agent loop or termination issues, design a system prompt or evaluator prompt for an agent, set up or redesign an agent evaluation pipeline, plan multi-agent orchestration, or specify how an agent should manage context, tools, prompts, evaluation, or recovery (greenfield design or audit mode).
100
100%
Does it follow best practices?
Impact
100%
1.23xAverage score across 4 eval scenarios
Passed
No known issues
| Model tier | Decomposition level |
|---|---|
| Frontier (Opus 4.7, o3) | Minimal; good specs > structural scaffolding |
| Strong general (Sonnet 4.5, GPT-4o) | Feature-level + context resets; sprint contracts for complex builds |
| Mid-tier (Haiku, GPT-4o-mini) | Aggressive decomposition; escalate architecture decisions to stronger models |
| Small/specialized (7B-13B) | Maximum decomposition with atomic subtasks |
Max 3 hierarchy levels. Max 12 subtasks per level. Deeper decomposition causes exponential error amplification (up to 17x).
20-30 testable criteria per sprint. Negotiated between generator and evaluator before implementation begins. Active interaction for evaluation (Playwright, API calls, database queries), not static review. Shrinking specs pattern: completed work is removed from specs on each iteration.
evals
scenario-1
scenario-2
scenario-3
scenario-4
references