encyclopegia.org

Agent harness

Codex agentic harness working under the hood with the Tauri (software framework) DOM Inspector An agent harness, also known as agent scaffolding, is the software infrastructure surrounding a large language model (LLM) that enables it to operate as an AI agent.[src] It manages tool use, memory, state persistence, execution environments and feedback loops, as opposed to the model's internal reasoning.[src] The UK's AI Security Institute described an AI agent as being formed by the model plus the scaffolding back in 2023.[src] The relationship can be expressed as agent = model + harness.[src] Because a "base model" LLM is a stateless probabilistic function that maps input token sequences to output token sequences, the harness is what makes an agent out of a model, i.e.[src] a thing that interfaces with external tools, inputs and outputs non-token data (such as images), and interacts with a task-environment coherently over many rounds.[src] Rather than repeatedly re-reading an ever-growing transcript inside the context window, a harness can offload record-keeping into a structured software environment that manages the agent's state.[src] A minimal harness is unnecessary for a single prompt-and-response exchange, but becomes important as tasks grow multi-step, tool-oriented, or long-running.…[src]

Codex agentic harness working under the hood with the Tauri (software framework) DOM Inspector An agent harness, also known as agent scaffolding, is the software infrastructure surrounding a large language model (LLM) that enables it to operate as an AI agent.[src] It manages tool use, memory, state persistence, execution environments and feedback loops, as opposed to the model's internal reasoning.[src] The UK's AI Security Institute described an AI agent as being formed by the model plus the scaffolding back in 2023.[src] The relationship can be expressed as agent = model + harness.[src] Because a "base model" LLM is a stateless probabilistic function that maps input token sequences to output token sequences, the harness is what makes an agent out of a model, i.e.[src] a thing that interfaces with external tools, inputs and outputs non-token data (such as images), and interacts with a task-environment coherently over many rounds.[src] Rather than repeatedly re-reading an ever-growing transcript inside the context window, a harness can offload record-keeping into a structured software environment that manages the agent's state.[src] A minimal harness is unnecessary for a single prompt-and-response exchange, but becomes important as tasks grow multi-step, tool-oriented, or long-running.[src] Popular agent harnesses are focused on AI-assisted software development, including Anthropic's Claude Code, OpenAI's Codex, Google DeepMind's Antigravity, and SpaceXAI's Cursor.[src] China's Qwen, DeepSeek, Kimi, and GLM models are also offered with official harnesses.[src] The vocabulary of "harness engineering" emerged in early 2026, and attribution of the specific phrase is contested.[src] Several accounts trace it to a February 2026 blog post by Mitchell Hashimoto, co-founder of HashiCorp, who described a practice of engineering a permanent fix into an agent's environment each time it makes a mistake; other accounts credit Vivek Trivedy of LangChain, whose "Anatomy of an Agent Harness" post derived the harness components from the agent = model + harness formula.[src] A widely cited OpenAI engineering report describing a large codebase built largely by coding agents, together with follow-on writing from Thoughtworks, LangChain and Anthropic, helped spread the term.[src] By mid-2026 the harness had become an object of academic study.[src] Independent reporting described research such as Self-Harness, in which an agent iteratively mines its own failures to propose and validate changes to its harness, and Harness-1, an open-source search agent that improved retrieval accuracy chiefly by redesigning the software environment around the model rather than by enlarging the model.[src]

23 sentences · 23 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Agent harness." encyclopegia.org, 2026, https://encyclopegia.org/wiki/agent-harness. Accessed 01 December 2026.

Chicago

"Agent harness." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/agent-harness.

APA

encyclopegia.org. (2026). Agent harness. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/agent-harness

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
date of formation2023Wikipedia

Related articles

agent

stub · references available

oxidizing agent

stub · references available

British Agent

stub · references available

full-harness

stub · references available

safety harness

stub · references available

St Michel Harness Race

stub · references available

Agent 327

stub · references available

Secret Agent 077

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378485680 · 0.5 · snapshot enwiki-001378485680

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.