SemiAnalysis Demystifies Agentic Coding Harness Architecture: Model vs. Orchestration · history
Version 3
2026-07-08 18:15 UTC · 102 items
What
SemiAnalysis argued in July 2026 that agentic coding harnesses — Claude Code, Codex, OpenCode — are context orchestration tools sharing a common 'plan, act, verify' loop, and that model quality is the decisive variable in agentic performance. [3][2][1] Practitioners pushed back, citing harness-layer failures as the dominant operational constraint in real deployments. [7][8] Simon Willison, amplifying Armin Ronacher, reported that newer Anthropic models Opus 4.8 and Sonnet 5 perform worse on custom edit tool schemas than their predecessors — theorized as RL training optimizing for Claude Code's native built-in tool at the cost of third-party schema conformance. [10]
Why it matters
The Willison/Ronacher finding moves the model-vs-harness debate from first principles to a concrete product problem: if RL training couples models to the primary harness's native tool schemas, third-party harness builders may find that capability improvements come at a cost to their specific implementations. Where investment goes — model quality or harness engineering — depends on which layer is the binding constraint, and the answer may differ by harness and use case.
Open questions
If RL training is coupling models to specific harness tool schemas (Claude Code's native edit tool, Codex's apply_patch), must third-party harness builders maintain multiple tool variants per model to preserve performance as models update? [10]
Does the 'plan, act, verify' loop described by SemiAnalysis hold structurally across all major harnesses, or do deviations in context management produce meaningfully different agent behavior? [3][2]
Will model-routing tools like Rayline [5] and Workweave [6] become standard infrastructure, effectively decoupling harness from model choice — and if so, does that make the model-vs-harness debate moot in practice?
What does the reported Claude Code source leak and overnight community rewrite reveal about harness complexity versus the 'REST all the way down' characterization? [11]
Narrative
On July 3, 2026, SemiAnalysis published a thread aimed at technically-minded practitioners asking what agentic coding harnesses actually are. [1] The core argument: LLMs like Opus and GPT-5.5 are stateless — they retain no memory between requests, and the harness reconstructs and resends the full conversation on every turn. Every request contains the same three parts: a system prompt, tool definitions as JSON schemas, and a chronological message history. [2] What distinguishes Claude Code from Codex or OpenCode is therefore differing choices about context management strategy, not some distinct underlying architecture. The thread's conclusion: harnesses are often overhyped, and model quality is the real determinant of agentic performance — 'everything else is just REST all the way down.' [3]
Tool use, as SemiAnalysis describes it, is a simple loop: when the model decides to invoke a tool, it generates a JSON object specifying the call; the harness parses that JSON, executes the tool, and returns the output in the next turn. [4] This repeats through a 'plan, act, verify' cycle that SemiAnalysis argues all harnesses share. Model-routing tools have emerged alongside this debate — Rayline routes Claude Code subagents to cheaper models [5], and Workweave handles routing within Claude, Codex, and Cursor [6] — suggesting that decoupling harness from model selection is itself a recognized engineering problem.
That conclusion meets direct pushback from practitioners. Prasenjit Sarkar argues the bottleneck in agentic coding has moved from the model to the harness layer. [7] Duy (goon_nguyen) adds from production experience that when agents break for real users, the model is usually not the first failure point — retry logic, context limits, tool routing, and environment handling fail first. [8] AiDevCraft observes that model-swapping under a fixed harness still yields usable agentic coding on consumer hardware, implicitly supporting the model-primacy view. [9]
The sharpest evidence against clean model-harness separability comes from Simon Willison, amplifying Armin Ronacher's finding: newer Anthropic models Opus 4.8 and Sonnet 5 are worse than their predecessors at conforming to custom edit tool schemas — they invent extra fields not present in the schema. [10] The proposed explanation is that RL training optimized these models for Claude Code's built-in search-and-replace edit tool, which then interferes with differently shaped schemas used by third-party harnesses. OpenAI's Codex, which uses a distinct edit mechanism (apply_patch) and has been trained on it, illustrates the same dynamic from the other direction. For third-party harness builders, the implication is that 'better' models may perform worse on their specific tool implementations — concrete evidence that the model and harness layers are more tightly coupled than the 'REST all the way down' framing implies.
Timeline
- 2026-06-08: Rayline launches, routing Claude Code subagents to on-device and cheaper models. [5]
- 2026-06-26: Workweave router published, enabling model routing within Claude, Codex, and Cursor. [6]
- 2026-06-29: Claude Code source code reported leaked; developer community produces an overnight rewrite. [11]
- 2026-06-30: Harness (DevOps company) ships autonomous worker agents. [13]
- 2026-07-03: SemiAnalysis publishes thread arguing harnesses are context orchestration tools and model quality is the decisive variable in agentic performance. [1][12][2][4][3]
- 2026-07-04: Simon Willison reports (amplifying Armin Ronacher) that Opus 4.8 and Sonnet 5 regress on custom edit tool schemas, theorized as RL coupling to Claude Code's native built-in tool. [10]
Perspectives
SemiAnalysis
Harnesses are context orchestration tools sharing a common 'plan, act, verify' loop; differences between products lie in context management strategy. Model quality is the real determinant of agentic performance — harness engineering provides only incremental improvement.
Evolution: Consistent throughout the thread; argued from first principles.
Simon Willison / Armin Ronacher
Empirical observation that newer Anthropic models regress on custom tool schemas, with RL training for Claude Code's native tool as the likely cause; third-party harness builders may need to maintain multiple tool variants per model to preserve performance.
Evolution: Neutral-curious rather than prescriptive, but the finding directly challenges the separability implied by 'REST all the way down.'
Prasenjit Sarkar (@stretchcloud)
The bottleneck in agentic coding has moved from the model to the harness; harness-layer engineering is now the primary constraint on system performance.
Evolution: Direct counter to SemiAnalysis's model-primacy conclusion; consistent.
Duy (goon_nguyen)
In production agentic systems built for real users, the model is usually not the first thing to break; harness-level failures dominate operational experience.
Evolution: Practitioner perspective offered independently; consistent with Sarkar's framing.
AiDevCraft
Model swappability under the same harness shape is practically viable — usable agentic coding achievable on consumer hardware — suggesting the harness architecture is not the binding constraint.
Evolution: Implicitly supports SemiAnalysis's model-primacy framing from the angle of hardware accessibility; consistent.
Tensions
- SemiAnalysis argues model quality is the decisive variable and harnesses are often overhyped; Prasenjit Sarkar argues the bottleneck has moved to the harness layer, not the model. [3][7]
- SemiAnalysis frames the harness as 'REST all the way down' — a straightforward parse-and-execute loop; production practitioners (Duy, Sarkar) report that harness-level failures dominate real deployments. [3][8][7]
- SemiAnalysis implies model and harness layers are separable; Willison's report shows RL training is coupling newer Anthropic models to Claude Code's native tool schema, making 'better' models worse for third-party harness builders with differently shaped tools. [3][10]
- AiDevCraft's observation that model-swapping under a fixed harness produces usable results supports the model-primacy view, but the emergence of Rayline and Workweave as model-routing infrastructure implies harness-to-model binding is itself an engineering pain point. [9][5][6]
Sources
- [1] Everyone's always talking about agentic coding harnesses: Claude Code, Codex, OpenCode, Pi... the list goes on. But what… — SemiAnalysis Twitter (2026-07-03)
- [2] So a "harness" is really a context orchestration tool. Every request body it builds typically has the same three parts: — SemiAnalysis Twitter (2026-07-03)
- [3] So while all harnesses make slightly different decisions while performing this "plan, act, verify" pattern, this loop is… — SemiAnalysis Twitter (2026-07-03)
- [4] When you send a message, the harness will route your request to the appropriate LLM server, then apply some chat templat… — SemiAnalysis Twitter (2026-07-03)
- [5] Show HN: Rayline routes Claude Code subagents to on-device and cheaper models — reactive:agentic-harness-internals (2026-06-08)
- [6] Show HN: Smart model routing directly in Claude, Codex and Cursor — reactive:agentic-harness-internals (2026-06-26)
- [7] The bottleneck in agentic coding just moved from the model to the harness. — reactive:agentic-harness-internals (2026-06-30)
- [8] the unsexy part of building agents for real users is that the model is usually not the first thing to break — reactive:agentic-harness-internals (2026-06-28)
- [9] The fact that you can swap the model underneath the same harness shape and still get usable agentic coding on a 3090 is ... — reactive:agentic-harness-internals (2026-06-28)
- [10] Better Models: Worse Tools — Simon Willison (2026-07-04)
- [11] ‼️Claude Code source leak and its "rewritten" by the developer community overnight. No, not a fake news. — reactive:agentic-harness-internals (2026-06-29)
- [12] It is first helpful to understand how the underlying models work. Opus, GPT 5.5, etc (the models) are all stateless -- t… — SemiAnalysis Twitter (2026-07-03)
- [13] Harness shipped autonomous worker agents on June 30. Their framing is different from everything else in the market right... — reactive:agentic-harness-internals (2026-07-03)