AI Agent
=
Model“the brain”Reasons and proposes
+
Harnessthe control plane around the modelWhat it may do, on what criteria it stops, who signs off
Hype
“Hand the whole workflow to the AI and it runs end to end”
- Model IQ really is rising and the demo really does run smoothly — nobody disputes that part.
- But a demo proves capability. Operating demands reliability: thousands of runs a day, for months, on real data.
Reality
Run it long-term at enterprise scale and four truths surface
- Goal drift. It repeats one step forever, or wanders off target with nobody able to say when.
- Silent failure. A reported error is visible at once; a confident “done” on a wrong result is what travels on through the process.
- Cost and tail latency. Token spend grows exponentially, and what the customer feels is p95, not the average.
- Untrusted input. Web pages, client files, comments — outside content can carry instructions of its own.
Harness engineering closes exactly that gap: instead of hoping the AI gets it right, build a system in which it cannot get it wrong.
- 5 layersevery call passes through
- 2 clearedall layers passed, model reached
- 1 stoppedloop broken at layer 2
- SandboxLeast privilegeTools and APIs declared up front; data cut to the asker's own rights.
how it works here
The model never sees more than the person asking is allowed to see. Outside content is always wrapped in a data block and has its delimiters scrubbed before it reaches the prompt — closing the path for stray instructions to ride in with the data.
- Loop ControlTermination criteriaThe system defines when a task is finished; the agent does not get to decide.
how it works here
The reason–act chain (ReAct) is watched. Missing facts earn exactly one follow-up question; a third round is refused outright. Every run carries its own step ceiling and budget ceiling, and hitting either one stops it.
- Verification & self-healingChecked before hand-offA rule set inspects the output, one repair pass is allowed, anything still wrong is flagged.
how it works here
Language, banned terms, invented numbers, compile errors. Every number in an answer must be copied from a cited fact; the model may not invent one. Whatever is still wrong after the repair pass is flagged, never passed on silently.
- Unit EconomicsCost per taskEach kind of task to its own model; a repeat prompt is answered again for 0 credits.
how it works here
Semantic routing, so light work never pays the price of heavy work. The prompt prefix is byte-stable so the provider's prompt caching actually bites.
- Human-in-the-loopHuman in — and on — the loopHigh-risk work needs a human click; routine work stays reversible.
how it works here
Human in the loop: the AI proposes a change set you can preview, and nothing is applied until someone approves it. Human on the loop: deletions go through a two-step bin, and undo restores exactly the links they had.
- ModelThe core — “the brain”, innermostReaching this point means all five layers were cleared. The result travels back up the same way.
You can only govern what you can measure · every layer above is running today, not a roadmap
- A trace for every callWhich model, what it cost, how long it took, whether it had to fail over to a backup account.
- A replayable eval harnessReal model outputs are recorded and replayed through the current pipeline. Drop the quality and the suite goes red at once.
- A bounded blast radiusEvery change the AI makes is reversible. There is no hard delete.