R006 · Agent principles and patterns › Harness building blocks

6 must-know terms for AI agent harnesses

Read the original

agent-harnessagent-architectureagent-reliabilityevalscontext-engineering

TL;DR

An agent is a model plus a harness, and the harness is what makes it reliable in production. Paul Iusztin's post names six harness concepts: agent loop, tool calling, context management, checkpointing, permissions and sandboxing, and guardrails. The list is a sound vocabulary but a shallow treatment. The comments add what a staff engineer would: observability and evals, and the fact that checkpoint-and-resume is only safe when side effects are idempotent.

Source: LinkedIn, Paul Iusztin (Decoding AI; author at Manning), published 2026-11-03, 101 reactions and 68 comments when read on 2026-11-04. One infographic, "6 Must Know Terms About AI Harnesses", drawn as a customer-support order example. Read signed out, so this is a paraphrase and only 10 of the 68 comments were visible.

The six terms

The infographic gives each term one flow. The right-hand column is what each one means once you have to build it.

TermThe post's pictureWhat it means in a production harness
Agent loopRequest, model, tool call, read result, "Done?"; loop until yes, then answerThe termination test is the design. Bound it with step and token budgets, and treat "model says done" as a claim to verify, not a stop condition.
Tool callingModel asks for order status, tool returns "Delivered", model repliesTools are a typed API for a non-deterministic caller. Schemas, error messages the model can act on, and output sizes all shape behaviour as much as the prompt does.
Context managementPolicy, instructions and old chat; old chat compacted; prompts and hooks assemble the context for this stepContext is assembled per step, not accumulated. Compaction is lossy, so decide what must survive it (task state, constraints, decisions) and keep it outside the transcript.
CheckpointingSave "order delivered", interruption, restart and load, resumeState save is the easy half. Resume replays the steps after the checkpoint, so every write tool needs an idempotency key or a record that it already ran.
Permissions and sandboxingPermission check allows "read order", blocks "issue refund"Classify tools by blast radius (read, reversible write, irreversible write). Enforce in the harness, not the prompt, and run code in a sandbox with scoped credentials.
GuardrailsDraft ready, human approval, wait or sendA human gate is one guardrail among several (input and output filters, policy checks). Put gates on irreversible, outward-facing actions, and design the wait state so the run can park and resume.

What the post misses

The gaps are where production harnesses actually fail, and the commenters found most of them.

The post also never says which harness it describes. The second roadmap's URL slug is "claude-code-from-scratch", which suggests it is built around Claude Code. That link wasn't opened.

Review checklist for a harness

This is R006 in the research index.

Sources

Connections

See R006 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.