Browse the complete guide

Front matter

The factory in one line

Part I — Understand

Part II — Design

Part III — Build

Part IV — Prove

Part V — Operate

Part VI — Improve

Appendix — Reference

Appendix — Mission Control case studies

Appendix — Research

ReferenceAbout 9 minappendix

Execution boundaries and canonical terminology

On this page13 sections
  1. The compact mental model
  2. Three meanings commonly collapsed into “harness”
  3. 1. The Agent Loop
  4. 2. The Work Graph
  5. 3. The Agent Harness
  6. Harness, Runtime, Sandbox, and Control Plane
  7. Coding and IDE Harnesses
  8. Capability and Capability Implementation
  9. Factory, Factory Version, and Factory Platform
  10. Canonical relationship
  11. Diagnose the boundary that failed
  12. Explain it in thirty seconds
  13. Go deeper

Most disagreement about the meaning of “agent harness” is a boundary disagreement. Some people mean the loop inside a worker. Some mean the operating environment around the worker. Some mean the workflow that coordinates many workers. Others include enterprise policy, identity, budgets, and kill switches under the same term. FDLC separates these concerns so that each layer has a clear responsibility, owner, lifecycle, and qualification boundary.

Do not ask only, “What is a harness?” Ask which boundary you are discussing: the iteration loop, the operating envelope, the work graph, the execution substrate, or the enterprise control plane.

The compact mental model

Scroll horizontally to read every column.

TermFDLC meaningGoverning question
ModelAn inference engine that supplies reasoning, generation, classification, or other model intelligenceWhat intelligence is available?
AgentA goal-directed worker using model intelligence, instructions, context, state, and capabilitiesWho is pursuing the task?
Agent LoopThe worker’s bounded iteration cycleHow does this worker make progress and stop?
Agent HarnessThe operating envelope governing how the agent interacts with models, context, tools, state, resources, and external systemsUnder what conditions may this worker operate?
Work GraphThe explicit topology of nodes, dependencies, branches, joins, gates, interrupts, cycles, error transitions, and terminal statesWhat work can happen next?
OrchestratorThe durable coordinator that advances the Work Graph and its task stateWhich eligible work executes next, and how does the overall run progress?
RuntimeThe substrate that starts, hosts, persists, resumes, and terminates executionWhere and how does execution live and survive?
SandboxAn isolated execution environment provisioned by or beneath the RuntimeWhat can this execution affect?
CapabilityA qualified ability to perform a defined type of workWhat outcome can be delegated with evidence?
FactoryA governed, versioned composition designed to produce one defined class of outcomeWhat complete production system delivers the outcome?
Factory PlatformShared enterprise infrastructure supporting many governed FactoriesWhich services and controls should every Factory reuse?

These are responsibilities. One deployment may implement several, and one product may package several together. Categorize a component by the responsibility it performs at the boundary being discussed, not by its product category or marketing name.

Three meanings commonly collapsed into “harness”

1. The Agent Loop

Code example 1: 1. The Agent Loop
Load State → Plan / Select → Act / Call → Observe Result
           → Evaluate → Update / Replan → Repeat

The loop answers, “How does this worker make progress?” FDLC calls this the Agent Loop or Execution Loop, and the discipline that improves it Loop Engineering. Some external material calls the loop an inner harness; translate that usage to Agent Loop when writing canonical FDLC architecture.

The loop stops when success criteria are met, a turn, time, token, or cost budget is exhausted, progress has stalled, policy requires escalation, or a human decision is required. The agent may propose continuation. A deterministic boundary evaluates whether continuation is permitted.

2. The Work Graph

Code example 2: 2. The Work Graph
Intake → Route → Specialist → Tool Action → Human Gate → Join → Verify → Done

The graph answers, “What work happens next?” Nodes perform bounded work. Edges determine the next eligible node from durable state. Graph Engineering designs dependencies, parallel branches, joins, gates, interrupts, failure transitions, cycles, and terminal states. The Agent Loop can operate inside one node; it is not the graph.

The Orchestrator advances this graph. It coordinates tasks, agents, harness invocations, dependencies, retries, handoffs, human waits, compensation, recovery, and completion. The harness controls a worker’s operating envelope; the orchestrator coordinates the work across workers and time.

3. The Agent Harness

Code example 3: 3. The Agent Harness
Context · Tools · Permissions · State · Budgets
Recovery · Stopping · Telemetry · Provenance · Artifacts

The harness answers, “Under what conditions may this worker operate?” It turns raw model intelligence into an operational capability by binding the task contract, instructions, context construction and compression, state and memory views, model and tool interfaces, the Agent Loop, permissions, capability restrictions, retry and recovery behavior, stopping conditions, resource budgets, artifact handling, telemetry, provenance, and validation of tool results.

A harness determines how an agent is allowed to operate. It may enforce controls locally, but it does not own every enterprise policy or grant itself authority. These three layers cooperate; they should not be collapsed into one architectural primitive.

Harness, Runtime, Sandbox, and Control Plane

The Runtime supplies process lifecycle, compute, containers or virtual machines, queues, leases, persistence, checkpoint storage, resume, retry infrastructure, filesystem lifecycle, network access, credential injection, isolation, concurrency, and side-effect recovery support. The Runtime answers where and how execution lives and survives. The Harness answers how the agent is allowed to operate. A Runtime may host many harness invocations, and a harness adapter may run on several qualified runtimes.

The Sandbox is the isolated environment provisioned by or beneath the Runtime. It enforces filesystem and process isolation, network restrictions, scoped credentials, resource limits, dependency-installation boundaries, and blast-radius reduction. Runtime and Sandbox are related records, not synonyms: the Runtime manages execution lifecycle; the Sandbox contains one execution.

The Control Plane is the external authority governing agents, harnesses, runtimes, orchestrators, and Factories. It owns identity, authentication, authorization, policy, Execution Profiles, budgets, routing authority, capability grants, approval requirements, emergency controls, tenant boundaries, audit and evidence requirements, governance, and release authority.

Enforcement and authority are not the same thing.

A Coding Harness may enforce maximum turns, allowed tools, local filesystem scope, and output limits. Those limits may originate in the Factory Version, Execution Profile, policy engine, capability qualification, or user and organizational authority. Policy authority should remain external to the replaceable harness wherever practical. This preserves portability, governance consistency, model and harness independence, reproducibility, auditability, centralized revocation, and enterprise control.

The phrase AI harness is not a canonical FDLC primitive because it does not identify a boundary. Translate it to Model Harness, Agent Harness, Coding Harness, Evaluation Harness, Runtime, Orchestrator, or Control Plane after establishing which responsibility is meant.

Coding and IDE Harnesses

A Coding Harness is an Agent Harness specialized for software engineering. It can expose repository access, file manipulation, code search, shell and compiler execution, tests, build and package systems, Git operations, diffs, patches, diagnostics, language servers, repository instructions, checkpoints, repair loops, test feedback, and artifacts.

An IDE Harness is a Coding Harness whose primary interaction and execution experience is integrated into an editor. It may consume open files, cursor and selection state, diagnostics, language-server data, terminal state, Git status, diffs, workspace state, and user approvals. An IDE is not inherently a harness; it can host or expose one. A terminal-based Coding Harness remains a Coding Harness without being an IDE Harness.

For a familiar classification example:

Scroll horizontally to read every column.

ComponentFDLC classification
ClaudeModel
Claude CodeCoding Harness or coding-agent operating environment
Hardened container or remote execution environmentRuntime Artifact, Execution Backend, or Sandbox according to the boundary being discussed
Temporal-style workflow or another durable graph executorOrchestrator
FDLC Mission ControlControl Plane and factory coordination
Software Delivery FactoryGoverned outcome-producing composition using the components above

Vendor boundaries differ internally. FDLC classifies components by architectural responsibility rather than marketing terminology. The Coding Harness is not the entire Runtime, Orchestrator, Factory Platform, or Factory.

Capability and Capability Implementation

A Capability is a qualified ability to perform a defined type of work, such as code modification, test generation, dependency analysis, security scanning, incident investigation, browser interaction, database analysis, or documentation generation. Capability is not synonymous with Agent. A model, agent, Coding Harness, deterministic tool, MCP capability, API, workflow, human, or hybrid composition can implement one.

A Capability Implementation is a concrete, qualified way to supply the Capability. It can bind an Agent Recipe, Harness version, Model Route, Runtime Artifact, Execution Backend, tools, Context Policy, qualification evidence, cost profile, and latency profile.

Code example 4: Capability and Capability Implementation
Capability: Code Modification

Implementation A
  Coding Harness: adapter A@version
  Model Route: route A@version
  Runtime Artifact: image digest A
  Execution Backend: sandbox profile A
  Qualification: evidence set A

Implementation B
  Coding Harness: adapter B@version
  Model Route: route B@version
  Runtime Artifact: image digest B
  Execution Backend: sandbox profile B
  Qualification: evidence set B

Routing should select among eligible Capability Implementations whose complete composition meets the workload’s quality, security, latency, cost, availability, and authority requirements. Selecting only “an agent” hides the model, harness, runtime, tool, context, and qualification identities that made the result possible.

Factory, Factory Version, and Factory Platform

A Factory is a governed, versioned composition of workflows, capabilities, policies, context, execution environments, verification rules, evidence requirements, and authority designed to produce a defined outcome. A Software Delivery Factory, Modernization Factory, and Security Remediation Factory may reuse the same Coding Harness and Runtime while binding different work graphs, capabilities, risk policies, and acceptance contracts.

A Factory Platform supplies the shared enterprise foundation: Mission Control, identity, policy, Capability Registry, model gateway, context and retrieval, orchestration, runtime and sandbox infrastructure, observability, evaluation, evidence, approvals, and release integration. One platform supports many Factory Definitions and Factory Versions without duplicating the underlying infrastructure.

A Factory Version binds the qualified immutable composition used for a class of execution. Keep these identities separate:

  • Model identity;
  • Model Route identity;
  • Agent Recipe or Agent Definition identity;
  • Harness identity and version;
  • Runtime Artifact identity;
  • Execution Backend and Sandbox Profile identity;
  • Capability and Capability Implementation identity;
  • Qualification identity; and
  • Factory Version identity.

The routable unit remains the governed Factory Version or another explicit execution composition defined by the current architecture. An Execution Profile binds the eligible runtime, harness, model, tools, environment, and applicable policy for an Attempt. The immutable execution manifest resolves that composition for one Attempt. Mutable runtime discovery cannot silently change it.

Canonical relationship

Diagram — Authority, execution, and evidence boundaries.

Diagram 5: Canonical relationship
Read diagram as text
  1. Builder or system" → Mission Control / Control Plane"
  2. CP → Governed Plan"
  3. Plan → Orchestrator / Work Graph"
  4. Orch → Capability Router"
  5. Router → Qualified Capability Implementation"
  6. Agent Harness: operating envelope" → Agent: goal-directed worker"
  7. Harness → Model: intelligence"
  8. Harness → Tools: bounded effects"
  9. Agent → Agent Loop: iteration"
  10. Impl → Agent
  11. Harness → Runtime: execution substrate"
  12. Runtime → Sandbox / Execution Backend"
  13. Sandbox → Artifacts"
  14. Artifacts → Independent verification"
  15. Verify → Evidence / approval / authority"
  16. Decision → Delivery"

The diagram is conceptual. Implementations may deploy these responsibilities as peers or combine several into one service. Ownership and immutable references, not visual nesting, define the boundary.

Diagnose the boundary that failed

When an autonomous run fails, ask these questions in order:

  1. Did the Agent choose a poor next action or fail to make progress? Inspect Loop Engineering: context sufficiency, action selection, evaluation, replanning, progress detection, and stopping.
  2. Did the workflow route incorrectly or coordinate work badly? Inspect Graph Engineering and Orchestration: dependencies, eligibility, fan-out, joins, retries, handoffs, human gates, and failure transitions.
  3. Did the worker see, spend, retry, call, or modify beyond its intended authority? Inspect Harness Engineering and the Control Plane: local enforcement, the originating grant, policy version, and observed revocation.
  4. Did execution disappear, fail to resume, lose state, or corrupt external effects? Inspect Runtime and durable orchestration: leases, checkpoints, persistence, idempotency, reconciliation, compensation, and recovery.
  5. Was an output accepted without adequate proof? Inspect Verification, Evidence, and Authority: subject binding, verifier independence, currentness, required gates, and the accountable decision.

This keeps a workflow, infrastructure, or governance defect from being filed as a generic “agent problem.”

Explain it in thirty seconds

The model supplies intelligence. The agent is the goal-directed worker. The Agent Loop is how that worker iterates. The Agent Harness is the operating envelope controlling what the worker can see and do. The Work Graph describes the topology of the larger job, and the Orchestrator advances it. The Runtime keeps execution alive, while a Sandbox contains its effects. A Capability is an ability qualified through one exact implementation. A Factory composes those pieces to produce an outcome, and the Factory Platform supplies shared enterprise authority and infrastructure. Enforcement can happen inside a harness; authority remains in the Control Plane.

Go deeper