What Is an AI Harness?

What Is an AI Harness?

Fact-check status

Reviewed claim by claim on 2026-09-02 against the primary or official sources identified inline as S1 and S2. Recommendations are design guidance unless a cited standard makes them normative.

Key jargon

Term Plain-language meaning
Harness The application layer that prepares model calls and controls what happens around them. S1
Orchestration Coordinating steps, models, tools, state, and recovery. S1
Guardrail A technical or procedural control that restricts unsafe or invalid behavior. S1
Run record A durable account of inputs, decisions, tool calls, outputs, and outcomes. S1

Key concepts

Concept map

flowchart LR
    A["User goal"] --> B["Harness assembles and controls"]
    B --> C["Model proposes"]
    C --> D["Harness validates and delivers"]

Diagram semantics verified against S1 and S2 on 2026-09-02.

A raw model accepts input and returns output. A harness decides what input it sees, what tools it may call, what state survives, what output is accepted, and what happens next. S1

flowchart LR
    U[User or event] --> P[Policy and task contract]
    P --> C[Context assembler]
    C --> M[Model adapter]
    M --> V[Validator]
    M <--> T[Tool gateway]
    C <--> S[State and memory]
    V --> H[Human approval or output]
    P --> O[Observability and evals]
    T --> O
    V --> O

Diagram semantics verified against S1 and S2 on 2026-09-02.

Harness responsibilities

Exercise

Draw the harness around a familiar chat assistant. Mark which components you can observe and which are assumptions.