Building a model-routed agent workflow that learns from failures without changing weights
Motor-Cat-6853 · reddit · 2026-11-26
A detailed Reddit writeup of a model-routed agent workflow that improves reliability by learning from failed runs — changing task breakdown, routing, instructions and checks rather than model weights. The repeatable loop:
- Plan: a stronger model turns the outcome into bounded, verifiable steps and flags missing files/tools/decisions up front.
- Implement: a model suited to small tasks handles one step, returning the artifact plus evidence — "I read the task" doesn't count.
- Verify: a separate check inspects the file/diff/command output against acceptance criteria written before implementation.
- Repair: a recovery model gets the specific failure and original constraint, fixing the miss rather than restarting.
- Review & learn: a stronger reviewer studies results and run records; a coach proposes routing/instruction changes, kept only if checks improve.
- Compare before adopting: keep a stable baseline and a task set not used to guide the latest change; compare quality and cost to avoid overfitting to the last example.
Current routing: Astra or Sol for high-reasoning planning, Luna for narrow implementation, Terra for repeated specific failures, a stronger model for final review. The author cites OpenAI's GPT-6.2 launch notes — new models were more likely to omit blockers like missing files or unavailable tools, and Codex instructions reduced those omissions — as justification for explicit blocker checks. Metrics recorded: full acceptance-check pass, first-attempt pass rate, retries and human repairs, time and allowance cost, and safety/approval-gate compliance. Single-model routing remains right for simple tasks; multi-model loops only pay off where planning, targeted recovery, or independent verification adds reliability.
More from coding & agent
- Antigravity ToS: ACP only allowed in thin-client editors, third-party harnesses face bans — dotey · 2026-11-26
- Open Artifact hits 554 GitHub stars as Cindy preps /artifacts integration for docs, slides, whiteboards — dotey · 2026-11-26
- AFTERDROP: a Grok Bot template that keeps watching prices after you buy — minchoi · 2026-11-26
- Grok Bot runs Black Friday shopping: fake discounts caught, price drops tracked, stores called — minchoi · 2026-11-26
- Caltech's "vibe discovery" agents using Gemini 4 find 93 solar system candidates — DynamicWebPaige · 2026-11-26
- Antigravity's rough edges: can't change permissions while agent is running — teortaxesTex · 2026-11-26