SYNTHESIS NOTE
Topics›Agent Harness›this note

How do model capability and harness infrastructure relate to agent code?

Agent systems blend three distinct code layers—model reasoning, system infrastructure, and agent-created artifacts—but treating them as one obscures where failures actually originate and which levers improve performance.

Synthesis note · 2026-05-28 · sourced from Agent Harness

Talking about "agent code" as one thing obscures three distinct elements that the code-as-harness survey separates. First, model-internal capabilities: the reasoning, perception, planning, simulation, and evaluation abilities baked into the model's weights. Second, system-provided harness infrastructure: the predefined tools, APIs, sandboxes, memory systems, validators, permission boundaries, telemetry, and workflows that connect model outputs to external actions and feedback — this is the main focus of harness engineering. Third, agent-initiated code artifacts: the interactive code objects an agent itself creates, executes, observes, revises, persists, and shares within the execution loop. These three are coupled but governed by different design levers.

The decomposition is useful because each element fails and improves differently. You strengthen model-internal capability by training; you strengthen the harness by engineering infrastructure; you strengthen agent-initiated artifacts by shaping how the agent generates and reuses its own code. Confusing them leads to misattributed failures — blaming the model for what is really a harness gap, or vice versa. The counterpoint is that the boundaries blur in practice: a skill the agent writes once may be promoted into harness infrastructure, and harness validators shape what the model learns to emit. But as an analytical frame it clarifies where to intervene. This matters because it gives harness engineering a vocabulary for separating the controllable layers of an agentic system.

Inquiring lines that read this note 15

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

What coordination failures emerge when multiple AI agents work together? How do architecture and coordination patterns drive multi-agent reliability? How well do evolved harness optimizations transfer across different tasks and domains? Why do agents report success despite failing to complete actions? Can harness improvements substitute for model scaling? Can agent-created code become persistent, reusable infrastructure that improves over time? What conditions and architecture enable effective agent ecosystems? When does multi-agent coordination outperform scaling a single agent? Do AI coding tools meaningfully improve developer productivity and quality?

Related concepts in this collection 4

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
16 direct connections · 132 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

agent code splits into model-internal capability system-provided harness and agent-initiated artifacts