Harness Engineering and the Physical Instantiation of Intelligence
*Macheng Shen — research note / blog essay*
Abstract
Recent discussion around **harness engineering** has clarified something many people had sensed but had not yet named: the capability of an AI system is not determined by the base model alone. What matters just as much is the surrounding stack—memory, tools, interfaces, evaluators, retrieval systems, routing logic, guardrails, and workflow structure. This essay argues that this observation is not just an engineering practical point. It has theoretical significance. It suggests that intelligence is not best understood as a property contained entirely inside model weights. Rather, intelligence is **physically instantiated** when free energy is driven through a trained, stateful, conditional transduction stack whose parameters, memory, interfaces, and external subsystems already encode reusable structure about the world. From this perspective, harness engineering is not merely "prompting plus tools." It is the design of the externalized control plane through which intelligence expresses itself.
1. Why this question matters
People often speak as if the central mystery of AI were simply this: how does a large model become so capable? But the more frontier systems are deployed in real workflows, the harder it becomes to treat the model as the whole story. The same model can behave like a toy, a mediocre assistant, a strong researcher, or a highly effective coding agent depending on the harness wrapped around it.
This is not just a product insight. It is a conceptual one. If capability changes dramatically when we alter memory, tools, routing, evaluator loops, and permission boundaries, then intelligence cannot be identified with the model alone. It must be identified with a larger organized system.
This note develops that idea in a more physical and architectural language.
2. A simple but powerful shift: the model is not the whole machine
A useful starting point is the recent harness-engineering perspective that has emerged around agentic coding systems. In that view, the engineer's job is no longer only to write code directly, but increasingly to design environments, specify intent, and build feedback loops in which agents can work reliably. Long-running agents also require structured handoff artifacts, explicit context management, evaluator loops, and orchestration logic to remain coherent over time.
Once that shift is seen clearly, a deeper point follows:
A model is not the whole intelligence.
The intelligence that users encounter is a model *plus* a harness.
The harness includes at least:
- a memory substrate,
- a tool interface,
- rules about when tools may be called,
- retrieval and summarization policies,
- evaluators and verifiers,
- workflow decomposition,
- handoff artifacts across sessions,
- permissions and trust boundaries,
- interfaces to the world.
If these components are missing or poorly designed, the model's apparent intelligence collapses. If they are well designed, the same underlying model may appear dramatically more capable.
3. From electricity to structured behavior
This is where I want to connect the engineering insight to a more physical one.
At the bottom of the stack, what enters the system is not "meaning." It is electricity: low-semantic, generic free energy. That free energy powers transistors, clocks, memory accesses, matrix multiplies, network transport, disk reads, and state updates. None of these operations, by themselves, explain why the final system can write code, answer questions, or plan across tools.
So what happens in between?
A helpful way to think about it is this:
1. **Free energy** keeps the system away from equilibrium and allows state transitions to occur.
2. **Trained parameters and programs** constrain which transformations are possible.
3. **Memory and context** inject persistent state from prior interaction and prior computation.
4. **Tools and interfaces** expose additional transformations that the system can invoke.
5. **The harness** decides how these transformations are composed, routed, checked, and iterated.
6. The result is a stream of outputs that humans interpret as coherent, goal-directed, semantically meaningful behavior.
So "electricity turns into intelligence" is not the right statement. A better statement is:
Free energy drives a structured transduction stack whose learned and engineered constraints turn low-semantic resources into high-semantic behavior.
That is much more precise.
4. Why generative modeling is the right analogy—but only partially
There is a useful analogy to generative modeling here. In a normalizing flow, diffusion model, or other generative system, one begins from a simple prior or simple noise source and passes it through a learned transformation until structured outputs emerge. The output distribution is not "in the noise." It is produced by the composition of learned transformations.
Something similar happens in deployed AI systems. A simple low-level resource—energy plus simple digital states plus randomization—passes through a sequence of learned and engineered transformations. The end product is not raw signal but structured semantic output.
But the analogy must be handled carefully.
A real agentic system is not just a pure generative model. It is usually:
- conditional,
- stateful,
- partially irreversible,
- memory-dependent,
- tool-using,
- world-coupled,
- and often closed-loop.
In other words, it is closer to a **thermodynamically implemented conditional generative control system** than to a stand-alone sampler.
This matters because once the system has tools and memory, the question is no longer just "what does it generate?" but also:
- what world state can it access?
- what computations can it call out to?
- what actions can it externalize?
- what information can it preserve across time?
- what internal and external loops shape its behavior?
5. Tools are abstracted computation
This is where harness engineering becomes especially important.
A tool is not just a convenience. At a high level, a tool is a callable abstracted computation. It is a packaged transformation that the model does not need to realize internally token by token.
A calculator is a computation abstraction.
A search tool is a retrieval abstraction.
A compiler is a code-to-behavior abstraction.
A filesystem is a persistent state abstraction.
An evaluator agent is a judgment abstraction.
A browser is an interface to a huge external information and action surface.
From this perspective, a harness gives the model access to a set of **externalized functions**. It expands the system's action set and information set. The model does not cease to matter, but it is no longer the sole carrier of intelligence. Instead, the intelligence of the whole system is distributed across model weights, external tools, memory artifacts, and orchestration logic.
That point is crucial:
Harness engineering is not merely "wrapping a model."
It is the design of the computational ecology in which the model operates.
6. The harness as an externalized control plane
This leads to what I think is the deepest conceptual payoff.
A harness does not merely provide more capabilities. It also decides **how** capabilities are selected, composed, and checked. In that sense, the harness behaves like a kind of externalized control plane for intelligence.
It can determine:
- whether the model searches or answers from memory,
- whether it retrieves documents or reasons locally,
- whether it asks a clarifying question,
- whether it writes a file or only drafts one,
- whether it routes work to a specialist sub-agent,
- whether outputs are evaluated before release,
- whether the next step is acting, observing, replaying, or summarizing.
This means the harness changes more than the system's raw outputs. It changes the shape of the system's internal and external dynamics.
At a decision-theoretic level, one can say that the harness modifies:
- the action set,
- the information structure,
- the memory structure,
- the commitment and verification structure,
- the effective policy class.
This is why harness engineering feels so powerful in practice. It does not merely make the model "a bit better." It changes the landscape in which the model's intelligence is realized.
7. Intelligence is instantiated at the system level
If we take the previous sections seriously, a stronger thesis appears:
Intelligence is not fully contained inside the weights of a transformer.
It is instantiated at the level of a larger physical-computational system.
That system includes:
- energy supply,
- hardware substrate,
- trained parameters,
- runtime state,
- memory architecture,
- tools,
- interfaces,
- environment coupling,
- and control logic over the composition of all of the above.
This thesis has several consequences.
Consequence 1: capability is system-dependent
A capability benchmark that measures the base model alone may miss the more important practical question: what can the whole system do when embedded in a well-designed harness?
Consequence 2: safety is system-level too
If dangerous behavior arises not only from the model but from the combination of model, tools, permissions, and orchestration, then safety cannot be reduced to the weights either. It becomes a problem of system design, control, and governance.
Consequence 3: theory should study transduction stacks, not only models
A theory of intelligence that focuses only on optimization inside a neural network may be too narrow. It may need to account for how intelligence is physically and architecturally instantiated across multiple interacting substrates.
8. A more formal way to say it
Let:
- \(E\) denote the available free energy / compute budget,
- \(z\) denote simple initial stochastic state or seed,
- \(c_t\) denote conditioning inputs and environmental observations,
- \(m_t\) denote persistent memory state,
- \( heta\) denote learned parameters,
- \(H\) denote the harness and tool interface structure,
- \(x_t\) denote world state,
- \(a_t\) denote externalized actions.
Then we can think of the whole system as implementing something like:
\[
s_{t+1} = F_{H,\theta}(s_t, m_t, c_t, z_t; E)
\]
\[
a_t = \pi_{H,\theta}(s_t, m_t, c_t)
\]
\[
x_{t+1} \sim P(x_{t+1} \mid x_t, a_t)
\]
This is not yet a full theory. But it already says something important: the effective transition law is not a property of \( heta\) alone. It is a property of \((H, \theta)\), and often of the whole closed loop with the world.
That is exactly what harness engineering practitioners have been discovering empirically.
9. Why this matters for a broader theory of intelligence
I think this perspective opens several nontrivial directions.
9.1 Semantic structure per joule
If free energy is generic, and structured intelligence arises only after passing through a trained and harnessed transduction stack, then an interesting quantity is not just tokens per second or FLOPs per joule, but something like:
- useful structure per joule,
- control-relevant information per joule,
- or semantic work per joule.
This is still vague, but it points toward a more physical theory of efficient intelligence.
9.2 Harnesses as "world-shaping priors"
A harness does not just expose tools; it shapes what sorts of computation are easy to perform, what sorts of evidence are easy to gather, and what kinds of action sequences are easy to stabilize. In that sense, harnesses act like world-shaping priors over the system's behavior.
9.3 Externalized cognition is not an implementation detail
Memory files, notebooks, checklists, evaluators, and tools are often treated as engineering tricks. But from this perspective, they may be better understood as parts of an externalized cognitive architecture.
10. Open questions
This line of thought leaves at least five large questions open.
10.1 Where does semantic structure first become visible?
Is it in hidden states?
In memory artifacts?
At the tool interface?
Only at the point of human interpretation?
Probably there is no single answer.
10.2 What is the right mathematical object?
Is the best formal lens:
- a stochastic dynamical system,
- a conditional generative model,
- a control system,
- an energy-based model,
- or a hybrid of all of these?
10.3 Which harness components are essential, and which are superficial?
Many systems use prompts, tools, retries, evaluators, and memory. But which of these are first-order necessities for scaling intelligence, and which are merely current contingencies?
10.4 How should safety be analyzed at the harness level?
If capability is system-level, then safety is system-level too. This suggests we need theories not only of model alignment, but of tool alignment, memory governance, permission design, and evaluator design.
10.5 Can harnesses themselves become scientific objects?
Recent work on natural-language harnesses suggests that high-level harness logic can be externalized as a portable artifact rather than hidden in code. If that line continues, harnesses may become comparable, optimizable, and theoretically analyzable in their own right.
11. A working conclusion
My current conclusion is modest but important:
Harness engineering is not just a new product-development trend. It is evidence that the practical realization of intelligence is moving from a model-centric view toward a **system view**.
The model matters. But the model is not the whole machine.
If we want a better theory of intelligence, we may need to stop asking only how a transformer becomes capable, and start asking a harder question:
How does a physically powered, memory-bearing, tool-using, harnessed system turn generic free energy into structured, semantically effective behavior?
That, to me, is the more interesting mystery.
References
- OpenAI, *Harness engineering: leveraging Codex in an agent-first world* (2026).
- Anthropic, *Effective harnesses for long-running agents* (2025).
- Anthropic, *Harness design for long-running application development* (2026).
- Pan et al., *Natural-Language Agent Harnesses* (2026).
- Bennett, *The Thermodynamics of Computation* and related work.
- Landauer, *Irreversibility and Heat Generation in the Computing Process*.