Pay the smart model for judgment, the cheap one for volume
@seeconvm wrote a long course on X called "Prompt, Context, Harness, Loop, Graph: The Full Agent Stack in One Course". The core idea is that those five words are a stack, nested like boxes: the harness holds the graph, every node of the graph runs a loop, every turn of the loop builds context, and context holds the prompt. When an agent fails, you find the layer that broke before you touch the prompt.
It's a good course. The section I keep thinking about is the one on money.
The model mix is the bill
The course cites Cursor's swarm runs, where the same task cost anywhere from about $400 to over $10,000 depending on the model mix, with similar quality. The point it takes from that: few moments in a big task actually need frontier intelligence.
So the split it suggests for its example bug-fixing agent is Fable 5.2 for planning and review, Sonnet 5.5 to implement, and Haiku 5.5 for triage. It also says to test that split on your own evals, which is the right caveat.
I've run almost the same split in Claude Code since November 2. Opus only plans, verifies and diagnoses. Sonnet 5.5 does the edits and tests, and Haiku 5.5 does the reads, greps and benchmarks. A separate Sonnet pass verifies coding work on its own, so the model that wrote the code isn't the only one grading it.
Where my setup is still a suggestion
The course has a line I can't argue with: "Never push to main" in a markdown file is a suggestion, and a hook that blocks the push is a rule. It calls these walls, meaning everything that still holds when the model is wrong.
By that standard my setup is half walls, half wishes. The model pins are real config: on one of my Macs, the Sonnet and Haiku versions are set in Claude Code's settings file, so the version doesn't depend on the agent reading a rule. But "Opus only plans" is a sentence in my CLAUDE.md, next to at least four other rules I added this month. The agent reads them, and reading is all a markdown rule can ask for.
The course's fix is to move a rule down a level, from something the agent has to remember to something the environment enforces. My take: any rule an agent breaks twice is the one to move first.
The course goes much deeper than this, with a five-stage build of a bot that turns GitHub issues into pull requests, a security section and a 20-failure catalog. Read the whole thing before you swap in a new model and hope.
Tags: Cost Agents Claude Code Agent workflow