The Model and Its Runtime
A harness is software around a model. It manages tools, context, execution, and controls. Different harnesses can produce different results. The design needs testing for the intended task.
Review note and archive reference
Removed unsupported claims of settled vocabulary and inevitable competitive advantage.
Archived original PDF, page 2Contents
This guide covers execution loops, control layers, components, evaluations, and practical checks. The contents above link to each reviewed section.
Review note and archive reference
Updated navigation for the reading edition.
Archived original PDF, page 3From Output to Action
A model produces outputs. Surrounding software can execute tools and return results. Together, these parts can form an agent. The harness determines which actions the system permits.
Review note and archive reference
Replaced the unattributed slogan with a plain definition.
Archived original PDF, page 4A Growing Engineering Practice
Harness engineering combines instructions, tools, context management, execution, and feedback. Authors use different boundaries for the term. This guide does not assign a single inventor or a precise adoption date.
Review note and archive reference
Removed the unsupported February 2026 origin and adoption-within-one-week claim.
Archived original PDF, page 5What Is a Harness
A harness connects a model to tools and execution controls. It can store state, manage context, and limit actions. Capabilities vary by implementation. Test the complete system rather than assuming the model alone determines results.
Review note and archive reference
Qualified the model-plus-harness metaphor and removed absolute statements about model capabilities.
Archived original PDF, page 6Working Components
Tools perform defined actions. Memory stores information across steps. Permission checks limit access. Logs record relevant events.
These components need explicit interfaces and failure handling.
Review note and archive reference
Replaced the extended animal metaphor with concrete component descriptions.
Archived original PDF, page 7
The Execution Loop
The model proposes an action. The runtime checks permissions and executes the permitted action. The runtime returns a result. The next step uses that result.
Define stopping rules and limits for repeated failures.
Review note and archive reference
Qualified the claim that every harness uses exactly one universal loop.
Archived original PDF, page 8Guides and Sensors
Birgitta Böckeler describes guides and sensors in Harness Engineering on Martin Fowler’s website. Guides influence behavior before an action. Sensors provide feedback after an action. Tests can supply feedback about results.
Review note and archive reference
Corrected the author from Martin Fowler to Birgitta Böckeler.
Archived original PDF, page 9Builder and User Layers
Ralph Bean discusses builder and user harnesses and credits Birgitta Böckeler for the distinction. Vendors and users can control different layers. A team may configure a runtime or build one. The boundary depends on the system.
Review note and archive reference
Removed the unsupported claim that nearly all enterprise work occurs only in the user layer.
Archived original PDF, page 10Eight Useful Components
Databricks lists eight components: system prompts, tools, sandboxes, filesystem, memory, feedback, guardrails, and observability. This is a useful inventory. It is not a universal standard or a guarantee of production readiness.
Review note and archive reference
Confirmed the eight-component inventory and qualified its scope.
Archived original PDF, page 11Check Each Component
System prompts define instructions. Tools expose actions. Sandboxes isolate execution. Filesystems store data.
Memory manages retained context. Feedback checks results. Guardrails limit permitted behavior. Observability records system behavior.
Test boundaries between components as well as each component.
Review note and archive reference
Removed the claim that these failures can never involve the model.
Archived original PDF, page 12Read Benchmark Results Carefully
Endor Labs reported GPT-5.5 functional scores of 61.5% with Codex and 87.2% with Cursor in Agent Security League. These are functional scores, not security scores. They do not isolate the harness as the sole cause. METR reported 50.7% and 14.5% of bootstrap samples favoring the specialized scaffolds.
These percentages are not task win rates. METR found neither time-horizon difference statistically significant.
Review note and archive reference
Corrected benchmark names, metric meanings, statistical interpretation, and causal overstatement.
Archived original PDF, page 13Check the Attribution
Vivek Trivedy wrote The anatomy of an agent harness for LangChain. Birgitta Böckeler wrote Harness Engineering on Martin Fowler’s website. Anthropic describes runtime design for long-running agents. These sources use related concepts with different scopes.
- Vivek Trivedy: The anatomy of an agent harness
- Birgitta Böckeler: Harness Engineering
- Anthropic: effective harnesses for long-running agents
Review note and archive reference
Corrected the Harrison Chase and Martin Fowler author attributions. Removed unsupported claims about Chiri’s entire product.
Archived original PDF, page 14Forecasts Are Not Adoption Counts
In August 2025, Gartner forecast task-specific agents in 40% of enterprise applications by the end of 2026. Its forecast started below 5% in 2025. A separate June 2025 forecast predicted cancellation of over 40% of agentic AI projects by the end of 2027. Neither forecast establishes an observed adoption or failure rate.
- Gartner: enterprise application forecast, August 26, 2025
- Gartner: agent project forecast, June 25, 2025
Review note and archive reference
Removed unsupported 80%, 33%, 88%, 64%, and 57% figures. Corrected forecast dates and populations.
Archived original PDF, page 15A Published Runtime Example
Anthropic describes separate initialization and coding work for long-running agents. Its design includes progress records and verification. This example illustrates context and continuity problems. It does not establish one mandatory architecture.
Review note and archive reference
Replaced unsupported agreement about every serious runtime with a specific primary example.
Archived original PDF, page 16Define Chiri Acceptance Checks
Confirm the integrations needed for each use case. Test memory updates, permission failures, organization boundaries, and audit records. Verify export and ownership terms. Publish capability counts or guarantees only after checking current implementation evidence.
Review note and archive reference
Removed unverified 2,000+ actions and absolute Chiri immutability, ownership, and access guarantees.
Archived original PDF, page 17Improve the Complete System
Measure failures before changing the model or runtime. Add representative tests. Check context quality, permissions, and stopping rules. Compare changes on the same tasks.
Record costs and limits beside success rates.
Review note and archive reference
Removed unsupported claims that context failures dominate reasoning failures.
Archived original PDF, page 18Working Definitions
A runtime executes and controls software actions. A harness connects that runtime with model instructions, tools, and context. A sandbox provides an execution boundary. Observability means records and signals that help inspect behavior.
Boundaries vary across implementations.
Review note and archive reference
Qualified definitions that previously implied guaranteed isolation or universal architecture.
Archived original PDF, page 19Sources and Review Limits
Section links identify primary explanations and studies. Forecasts retain their dates and populations. Unsupported adoption figures and author attributions do not appear in this edition. The original PDF remains an archive.
Review note and archive reference
Replaced vague secondary references with checked section-level sources.
Archived original PDF, page 20