Routing coding agent sessions across Claude Code, Codex, and Ollama in one harness — model picked per session
Summary
A developer describes building a multi-engine agentic coding harness that routes sessions across Claude Code, Codex, and Ollama, selecting from twelve models per session based on task value.
Similar Articles
Building my own agentic harness VS using already existing agentic harnesses (like Claude Code)
The author questions the efficiency of monolithic agentic coding tools like Claude Code, suggesting that a custom harness with per-phase model routing could cut costs without sacrificing quality, and asks the community for their experiences and recommendations.
Harness design for long-running application development
Anthropic engineers detail a multi-agent harness design using generator and evaluator agents to improve Claude's ability to build complete, high-quality frontend applications autonomously over long durations.
favorite Agentic Coding Harness
The author compares several agentic coding harnesses (Codex CLI, Claude Code, Gemini CLI, OpenCode, Pi) and finds Pi the leanest and best for local models, praising its simplicity and compatibility with Qwen 27B-MXFP8.
@shao__meng: Why do Claude Code, Cursor, Codex, Aider, and Cline exhibit different agent behaviors despite potentially sharing the same underlying models? @addyosmani argues: It's due to the "shell" above the model — the Harness, which includes "prompts, ...
The article discusses how Addy Osmani argues that the performance difference between AI coding agents like Claude Code, Cursor, and Cline stems from their 'Harness'—the layer of prompts, tools, and constraints around the model—rather than the underlying model itself. It details best practices for harness engineering, including hooks, sandboxing, and context management, to bridge the gap between model capability and actual agent performance.
@unicodef1wn: https://x.com/unicodef1wn/status/2070179071548395916
A thread explaining how Anthropic's dynamic workflows in Claude Code allow Claude to build custom harnesses for complex tasks, preventing failure modes like agentic laziness, self-preferential bias, and goal drift by splitting work across separate agents. It includes practical examples and patterns for users to implement.