The Information Machine

SemiAnalysis Demystifies Agentic Coding Harness Architecture: Model vs. Orchestration

open · v1 · 2026-07-04 · 90 items

What

On July 3, 2026, SemiAnalysis published a thread demystifying agentic coding harnesses — Claude Code, Codex, OpenCode, and similar tools — arguing they are fundamentally context orchestration tools, not architecturally distinct systems. [1] Every harness request to a stateless LLM contains the same three components: a system prompt, tool definitions as JSON schemas, and a chronological message history; what differs between products is context management strategy, not underlying structure. [3][2] SemiAnalysis concludes that model quality, not harness engineering, is the decisive variable in agentic performance. [5] Practitioners push back directly, arguing the operational bottleneck has in practice moved to the harness layer. [6][7]

Why it matters

How the industry frames the model-vs-harness split determines where engineering investment and vendor differentiation actually go. If harnesses are commodity wrappers, model quality is the competitive variable; if harness design is the primary lever, orchestration tooling and context management become the field worth owning.

Open questions

  • 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? [5][3]

  • If models are the decisive variable, why do practitioners consistently report that harness-level failures — context limits, tool routing, retry logic — are what break first in production? [7][6]

  • Will model-routing tools like Rayline [9] and the Workweave router [10] become standard infrastructure, effectively decoupling harness from model choice and making the model-vs-harness debate moot in practice?

  • What does the reported Claude Code source leak and overnight community rewrite [11] reveal about the harness's actual complexity versus the 'REST all the way down' characterization? [5]

Narrative

On July 3, 2026, SemiAnalysis published a thread aimed at a technically-minded audience asking what agentic coding harnesses actually are. [1] The thread's foundational premise is that major LLMs — Opus, GPT-5.5, and others — are stateless: they retain no memory between requests, and the harness must reconstruct and resend the full conversation on every user turn. Prompt caching exists specifically to reduce the computational cost of this repeated context assembly. [2] Every request the harness builds contains the same three parts: a system prompt, tool definitions expressed as JSON schemas, and a chronological message history. What distinguishes Claude Code from Codex from OpenCode is therefore not some distinct architecture but differing choices about how that context is managed. [3]

The mechanics of tool use, as SemiAnalysis describes them, are a simple loop: when the model decides to invoke a tool, it generates a JSON object in its response body specifying the call. The harness parses that JSON, executes the tool on the host machine, and returns the output to the model in the next turn. [4] This repeats through a 'plan, act, verify' cycle that SemiAnalysis argues all harnesses share. The thread's conclusion is pointed: harnesses are often overhyped, and the real power in agentic systems is still in the underlying models — 'everything else is just REST all the way down.' [5]

That conclusion meets direct pushback from practitioners. Prasenjit Sarkar argues the bottleneck in agentic coding has moved from the model to the harness layer. [6] Duy (goon_nguyen) makes a related point from production experience: 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. [7] AiDevCraft, by contrast, observes that swapping the underlying model under the same harness shape still yields usable agentic coding on consumer hardware (a 3090), which implicitly supports the SemiAnalysis framing by suggesting the harness shape itself is not the binding constraint. [8]

The surrounding ecosystem adds texture. Model-routing tools have emerged specifically to decouple harness from model selection: Rayline routes Claude Code subagents to on-device and cheaper models [9], and the Workweave router handles routing within Claude, Codex, and Cursor. [10] A reported leak of Claude Code's source code, followed by an overnight community rewrite [11], drew attention to how much actual complexity may live in the harness — a data point that sits uneasily with the 'REST all the way down' framing. Separately, Harness (the DevOps company, distinct from the architectural concept) shipped autonomous worker agents on June 30 [12], illustrating that the commercial market is already building on these primitives regardless of where the theoretical debate settles.

Timeline

  • 2026-06-08: Rayline launches, routing Claude Code subagents to on-device and cheaper models. [9]
  • 2026-06-26: Workweave router published, enabling smart model routing within Claude, Codex, and Cursor. [10]
  • 2026-06-29: Claude Code source code reported leaked; developer community produces an overnight community rewrite. [11]
  • 2026-06-30: Harness (DevOps company) ships autonomous worker agents, framed as distinct from other market offerings. [12]
  • 2026-07-03: SemiAnalysis publishes thread demystifying agentic coding harnesses, arguing they are context orchestration tools and that model quality is the decisive variable. [1][2][3][4][5]

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; the conclusion is argued from first principles.

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; no prior position established in this thread.

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 and at odds with the SemiAnalysis conclusion.

AiDevCraft

Model swappability under the same harness shape is practically viable — usable agentic coding is 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.

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. [5][6]
  • 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 — context management, tool routing, retry logic — are what actually break in real deployments. [5][7][6]
  • AiDevCraft's observation that model-swapping under a fixed harness produces usable results supports the model-primacy view, but Rayline and Workweave's emergence as model-routing infrastructure implies harness-to-model binding is itself an engineering pain point — suggesting the two layers are not as separable as SemiAnalysis implies. [8][9][10]

Status: active and growing

Sources

  1. [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. [2] 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)
  3. [3] 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)
  4. [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. [5] So while all harnesses make slightly different decisions while performing this "plan, act, verify" pattern, this loop is… — SemiAnalysis Twitter (2026-07-03)
  6. [6] The bottleneck in agentic coding just moved from the model to the harness. — reactive:agentic-harness-internals (2026-06-30)
  7. [7] 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)
  8. [8] 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)
  9. [9] Show HN: Rayline routes Claude Code subagents to on-device and cheaper models — reactive:agentic-harness-internals (2026-06-08)
  10. [10] Show HN: Smart model routing directly in Claude, Codex and Cursor — reactive:agentic-harness-internals (2026-06-26)
  11. [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. [12] 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)