Chapter 11. Beyond Claude Code
Chapter 1 drew a line between the model and the harness. This chapter is where the two finally come apart. We start with the surfaces, the places other than a terminal where the same harness shows up, and with what happens when you open several of them at once. Then we look at cost and at which model belongs on which task, and I’ll tell you what I actually do.
Then comes the part that surprises people. Claude Code can run against models that do not come from Anthropic. Anthropic documents the knobs and says plainly that it does not support routing Claude Code to non-Claude models, but once you have an API key and set a URL, the harness will talk to something else. We’ll use OpenRouter as a near-universal API for hundreds of models and watch Ollama do the same job under the hood in one command.
After that we run the harness in a loop. You give a high-level goal and an evaluation function, and we climb that ladder a rung at a time, until the loop moves off your machine and becomes an always-on ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access