An AI agent is a language model given tools, a loop, and the autonomy to decide which tools to call, in what order, and when to stop. What sets it apart from a plain workflow is precisely that the model directs its own process, instead of following a predefined code path.
From the Old French harnois, attested around 1300, borrowed from the Old Norse hernest, "provisions for the army", the harness names the soldier's equipment or the web of straps that routes the horse's force. In both cases: a structure of constraint that converts brute force into directed work.
The harness, in this frame, is the envelope that gives the model what it needs to act: "the system that turns a model into something that can take actions", writes MindStudio; "an agent harness wraps around a model to manage long-running tasks", writes Aakash Gupta; "Think of the model as an engine. The harness is the car", he writes again in the same note. Anthropic, in an engineering post from November 2025 (Effective Harnesses for Long-Running Agents), calls the Claude Agent SDK "a powerful, general-purpose agent harness".
The Inversion: Where the Decision Lives
In agent systems that work in production, and I do mean that work, not that demonstrate, what decides what to do next is almost never the model. It is code, a function that looks at an input, checks conditions, and settles the matter.
The model, in these systems, does something just as necessary: it infers. It reads an ambiguous text, extracts a meaning, proposes a wording, assesses a quality, rephrases… It is a sophisticated classifier, sometimes a writer, sometimes an evaluator. But the operational decision to call such a tool with such arguments at such a moment is taken by procedural code that consumes the model's output. And when the harness assesses what the model has produced, the verdict ("acceptable", "to be reworked", "blocked") does not come from the model either: it comes from deterministic tests that parse its output. The model supplies the material; the test delivers the verdict.
The autonomy attributed to the model is therefore, in systems that work, a metaphor. The system runs because code has decided what to do with the model's output. This is where the word harness regains its full sense. If operational agency lives in the code, then the harness, in the original sense, is exactly that piece of code: what holds the model in its role as reader, and routes its output towards directed work.
This intuition is not new. Léon Bottou, as early as 2011 (From Machine Learning to Machine Reasoning), anticipated that the algebraic composition of modules produces reasoning that the modules alone do not have. Very recently it has crystallised as a discipline under the name harness engineering. Mitchell Hashimoto, in My AI Adoption Journey (5 February 2026), sets down the term. Ryan Lopopolo, six days later, takes it up in an OpenAI text (Harness Engineering, 11 February). Birgitta Böckeler proposes an analytical grid for it (Harness engineering for coding agent users) on 2 April 2026, in two dimensions: guides, which steer the agent before it acts, and sensors, which measure what it has produced, each of which can be computational, whose results, she writes, are "reliable", or inferential, which remains "more non-deterministic". The grid is useful, and its rapid spread through the industry shows it. But it remains descriptive: it says what a harness contains, without settling where operational agency should live.
The adjacent position, code decides, the model infers, has meanwhile been held publicly by several teams. Nathan Sportsman, at Praetorian, sets down the formula on the same day as Mitchell Hashimoto: "We transform the LLM from a "creative assistant" into a deterministic component of the software supply chain." Microsoft, with its Conductor framework published on 14 May 2026, goes the same way: routing between agents is defined in YAML and stays deterministic, "the orchestration layer consumes zero tokens". Bhattarai and Vu, in an arXiv preprint from February 2026 (Trustworthy Agentic AI Requires Deterministic Architectural Boundaries), set out an adjacent thesis: the reliability of an agentic system does not proceed from safety training of models but from the architectural enforcement of limits. Cao et al. (Auton, February 2026), formalise the idea in almost identical terms: "strict separation between the Cognitive Blueprint… and the Runtime Engine." And upstream, the article The Plausibility Trap (January 2026) proposes a Deterministic-Probabilistic Decision Matrix for deciding, at each branch, when to call on a model and when not to.
My position is a firm one: it holds that a sensor delivering a verdict must be computational by default, because the operational decision cannot be probabilistic without giving up on audit.
Agency does not live in the model. It lives in the code that orchestrates it. And to admit it explicitly, to move it to where it already lives in fact, is to recover the meaning of the word we use.
Why This Shift Is Not a Matter of Words
One might say: fine, it is a question of words. Whether the code or the model decides, the result is the same. It is not, and that is the point worth establishing, because it makes the difference between a quarrel over vocabulary and an architectural decision.
One concrete question shows it: can the decision just made be audited?
If the decision was taken by an LLM, the prompt can be replayed, the output examined, log-probs perhaps obtained, but the question why cannot be answered cleanly. The model generated tokens because they are the probable tokens given the prompt and its internal state. There is, underneath, no formalisable reasoning that can be extracted and set before an audit. A probability cannot be audited. The model supposes, often well.
If the decision was taken by code, then the audit consists in reading that code. There is a file, there is a line, there is a logic, there is a unit test. The decision has a provenance that can be named.
The difference lies in the epistemic nature of the decision. And in 2026 this difference is no longer merely aesthetic: the EU AI Act, postponed in part only, requires through its Article 11, read with Annex IV, a technical compliance file describing the system. Its Article 12 asks for logging built into the design, that is, logging whose structure follows from the architecture, not bolt-on logging added after the fact. A system in which operational decisions live in code can produce this file by reading its own code. A system in which they live in the model cannot, short of recording its calls and praying that the record explains anything at all, which will not work before an informed regulator.
The Harness, and What It Becomes Once Admitted
If agency lives in code, the word harness recovers its original sense, and this device is called an architecture.
In practice, in the harness I am describing, a few rules have to hold of their own accord. Before any call to the model, a deterministic route is attempted. The rule, on the first line of the contributor's guide: try_script() before any LLM. This prevents a trivial decision from taking a probabilistic path where a certain one would do. Context collectors run in parallel, deterministic, before any inference token; the model does not decide which context is relevant, it receives it. A validator's verdict does not come from the model but from the tests that consume its output. APPROVE, REVISE, BLOCKED, STALL, ABSTAIN are values produced by deterministic code. Permissions are layered: READ_ONLY, WRITE_SAFE, WRITE_DANGEROUS, IRREVERSIBLE. And the confidence threshold for the last is set at 1.0, that is, at explicit human approval. An action with no way back is not triggered from a chain of reasoning. State writes go through a temp + rename: the data is written to a temporary file, then renamed atomically. A power cut no longer leaves a partial state on disk; a crash becomes a crash again, and not a corruption.
None of these decisions is exotic. All of them have long existed in classic industrial systems. What is new, and what to my mind deserves to be set out as a position, is applying them to an agent system while holding that they are the architecture of agency itself: that is, quite literally, what a harness does.
I am not describing a finished system, with rules laid down all at once, a priori, like a star drawn on a whiteboard. The harness, as Hashimoto noted, grows by accretion: it describes what the system has learned no longer to do, and why. For audit, this is a property and not a by-product: the justification of each constraint is, by construction, datable and enforceable.
The Reverse Objection, and Its Reversal
The opposing objection is well known; it runs roughly like this. If you put all the intelligence in the code, you lose what makes LLMs interesting. You are rebuilding a system from the nineteen-eighties, simply with LLMs as subroutines.
It is a serious objection, but I think it is off by one notch. The model's abilities are used within a system where code decides. The model is called on wherever there is a decision that demands reading: extracting meaning, classifying intent, rephrasing, synthesising, qualitative assessment. These are hard tasks, sometimes irreducibly hard, and the model does them better than anything we knew how to do before. But these tasks are not the operational decision. They are its raw material. The layering of permissions is not an incidental precaution; it is what turns this rigidity into a virtue. An unforeseen case does not trigger an improvised action; it triggers a STALL, an ABSTAIN or an escalation. Faced with the unknown, the system refuses instead of embroidering.
A second, more recent objection is circulating, and it is worth answering briefly. Ryan Lopopolo's team at OpenAI showed in February 2026 that a product of a million lines of code could be built in five months by three engineers, without a single line written by hand, inside a harness that rests heavily on inferential guides and sensors. A possible conclusion: the deterministic is not needed at scale. But the Codex experiment is, by construction, interactive work, with a human in the loop at every pull request. That is the case in which agency can legitimately slide towards the model, because a human downstream delivers the operational verdict. It is not the long-running autonomous case in which a system must, without continuous supervision, write to shared state, trigger an irreversible action, or account for a decision to a regulator. These are two regimes, and what I defend here concerns the latter.
The error of the opposing position, in both variants, is to confuse capacity for interpretation with capacity for decision. A model that reads an email well has no title, by that skill, to decide to file it in a given folder, to summon you at a given hour, or to send a given reply. These are different decisions, which require knowledge of the system, of its constraints and of your preferences, which the model does not have. Someone, code in this case, has to set out these preferences explicitly and wire the model's output to them. And it so happens that this someone, in every system that works without a human at each step, is code. Either it is written explicitly, or we pretend it does not exist.
These Are Decisions of Taste
Building a harness like the one I describe demands, at each branch, decisions that cannot be reduced to technical optima. Should the Verdict enum have five values or six? Should the confidence threshold for irreversible actions be 1.0 or 0.95? Each of these questions can be argued, and must be, but none is settled for good. There is, in the end, a decision of taste, a coherence of architectural style, which determines what the system is and what it is not.
These decisions of taste cannot be delegated to a model. They can be discussed with a model or tested by a model, but they belong to a human who keeps a system running over time and who answers, in the first person, for the consequences of these choices. That is why, I believe, the metaphor of the autonomous agent is attractive: it promises to remove this burden. It does not remove it, because it cannot be removed; it hides it. The position I defend consists, at the very least, in not hiding this burden: to name it, document it and make it auditable.
— From Brussels, which since the twentieth century has made administrative form a critical tool. —
Sources
- Léon Bottou, From Machine Learning to Machine Reasoning, arXiv 1102.1808, February 2011. https://arxiv.org/abs/1102.1808
- Anthropic (Schluntz & Zhang), Building Effective Agents, December 2024. https://www.anthropic.com/engineering/building-effective-agents
- Anthropic (Young), Effective Harnesses for Long-Running Agents, November 2025. https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents
- Aakash Gupta, 2025 Was Agents. 2026 Is Agent Harnesses. Here's Why That Changes Everything, January 2026. https://aakashgupta.medium.com/2025-was-agents-2026-is-agent-harnesses-heres-why-that-changes-everything-073e9877655e
- The Plausibility Trap: Using Probabilistic Engines for Deterministic Tasks, arXiv 2601.15130, January 2026. https://arxiv.org/abs/2601.15130
- Mitchell Hashimoto, My AI Adoption Journey, 5 February 2026. https://mitchellh.com/writing/my-ai-adoption-journey
- Nathan Sportsman (Praetorian), Deterministic AI Orchestration: A Platform Architecture for Autonomous Development, 5 February 2026. https://www.praetorian.com/blog/deterministic-ai-orchestration-a-platform-architecture-for-autonomous-development/
- Manish Bhattarai & Minh Vu, Trustworthy Agentic AI Requires Deterministic Architectural Boundaries, arXiv 2602.09947, February 2026. https://arxiv.org/abs/2602.09947
- Ryan Lopopolo (OpenAI), Harness engineering: leveraging Codex in an agent-first world, 11 February 2026. https://openai.com/index/harness-engineering/
- Sheng Cao et al., The Auton Agentic AI Framework, arXiv 2602.23720, February 2026. https://arxiv.org/abs/2602.23720
- Birgitta Böckeler (Thoughtworks), Harness engineering for coding agent users, 2 April 2026. https://martinfowler.com/articles/harness-engineering.html
- Microsoft, Conductor: Deterministic orchestration for multi-agent AI workflows, 14 May 2026. https://opensource.microsoft.com/blog/2026/05/14/conductor-deterministic-orchestration-for-multi-agent-ai-workflows/
- Regulation (EU) 2024/1689 (EU AI Act), Articles 11-12, Annex IV. Application timeline revised by the political agreement of 7 May 2026 (Digital Omnibus on AI): Annex III obligations postponed to 2 December 2027; Annex I to 2 August 2028; watermarking under Article 50(2) to 2 December 2026; other transparency obligations kept at 2 August 2026. https://artificialintelligenceact.eu/implementation-timeline/
- Since then, Regulation (EU) 2026/1744 (Digital Omnibus on AI), done at Strasbourg on 8 July 2026: Annex III obligations from 2 December 2027, Annex I from 2 August 2028. https://eur-lex.europa.eu/eli/reg/2026/1744/oj/eng
— John Linotte · Section des Essais · Brussels · mmxxvi