Back to AI/ML Overview
🧰 Knowledge Site · The Runtime Around a Model Call · From One Call to Managed Platforms

Harness EngineeringAn agent is a model call in a loop. Everything else is the harness.

A language model keeps nothing between two calls. An agent is that call in a loop, and the harness is the software around the loop: it builds the context, runs the tools, keeps the state, enforces the rules and records what happened. This site starts from one HTTP call and climbs, one abstraction at a time, to SDKs, coding harnesses, frameworks and managed platforms, asking one question at each step: who runs this job?

🎯The problem

Every agent product promises to “handle” context, tools, memory and safety. Underneath, each one runs the same loop around the same stateless call, and the work around that loop either happens in its code, in yours, or nowhere. Without a map of that work, a team cannot tell what a product actually does for it, or what it still has to build.

🔑Eight jobs, one question
Context, tools, control flow, state, identity, output, reliability and observability: eight jobs every harness must do. At each rung, from raw HTTP to a managed platform, the site asks who runs each job, and reads every product on its own documentation.

🗺️What is inside

One call, one loop

What a model is from the outside, the thirty lines that turn a call into an agent, and the six rungs of abstraction built over the same call.

The eight jobs

Context, tools and , retrieval, control flow and state, , reliability and cost, observability and , and many agents: one chapter per job.

Products, read by job

Provider and agent SDKs, coding harnesses, frameworks and graph runtimes, managed platforms, each described by which jobs it runs and which stay with you.

Build or adopt

A whole harness in one readable file, and the map of products against jobs to decide, job by job, what to build and what to adopt.

🖱️How to read it

  • New to agents: read in order. Each chapter starts with a moment from one property-insurance quote.
  • Experienced: jump to the eight jobs, the coding harnesses or build or adopt. Depth sits in folded blocks.
  • A miniature harness of about 450 lines runs with no model and no key; every command shown from it is real.
  • Product behavior was read on each vendor’s own documentation and is dated. No product is ranked.