ciunkos.com/Glossary

Agents and tools

Agent harness (harness engineering)

Everything around the model that makes it an agent: the loop, tools, permissions, instructions, saved state, checks and session handoff.

The harness is the system the model runs inside: the agentic loop, the tools it can call, what needs approval, how files are read and when context is compacted. Claude Code, Codex and Cursor are harnesses, and the same model behaves very differently in each. Harness engineering is the practice of designing that environment so a coding agent finishes real tasks in a real repository, across many sessions. It does not make the model smarter; it makes its output dependable.

The open course Learn Harness Engineering splits a harness into five parts. Instructions: an AGENTS.md that says what to read first and points to deeper files, instead of one giant file. State: progress and a feature list kept on disk in the repository, so the next session can resume; what the agent cannot see in the repo does not exist for it. Verification: tests, lint, type checks and an end-to-end run as proof before the agent may call a task done, because agents declare victory too early. Scope: one feature at a time, with no editing the feature list to hide gaps. Session lifecycle: an init script at the start, and at the end a clean, committed state with a note for the next session. Hooks and a sandbox turn the most important rules into hard limits rather than requests.

Larger setups wrap this in loops and graphs of agents that plan, build and check each other’s work. The term spread through write-ups by OpenAI, Anthropic and Martin Fowler’s site. When an agent fails, the harness is often the fix, not the model.

Sources

Share: LinkedIn · X ·

Related terms

  • Agentic loop: The cycle of model call, tool call and result that an agent repeats until it stops.
  • Hooks: Scripts the harness runs automatically at fixed points, such as before a tool call or after an edit.
  • Context engineering: Deciding what goes into the model’s context, in what order and when, across a whole task.
  • Ralph loop (Ralph Wiggum technique): Running the same prompt against a coding agent again and again, each time with a fresh context, while progress lives in files and tests decide when it is done.
  • AGENTS.md and CLAUDE.md: Files in a repository with the rules a coding agent reads at the start of every session.
  • Agent graph (state graph): Modeling an agent as explicit nodes, edges and shared state, with checkpoints, so each step can be paused, resumed, inspected and tested.
  • Compaction: Replacing the older part of a long conversation with a summary so the agent can keep going.
  • Agent sandbox: An isolated environment where an AI agent runs code and commands without access to your network, secrets or real files.
  • Trajectory evals: Tests that grade an agent’s whole path to an answer: which tools it called, in what order, how many steps and at what cost, not only the final output.
  • Validation loop (agent backpressure): Commands a coding agent runs after every change (tests, types, lint, build) and fixes against until they pass, so it checks itself before a person looks.
  • Agent-ready codebase: A repository a coding agent can work in reliably: one fast command to check everything, types, clear module borders, examples to copy and written rules.
  • Agent permission modes (YOLO mode): Settings that decide what a coding agent may do without asking, from approving every command to skipping all checks, known as YOLO mode.

Linked from

← All terms

Free tools

Business idea validatorTen rubrics, a fixed-rule verdict and three cheap experiments. Free.Software cost estimatorYour project among 125 real products, with honest ranges.Engagement configuratorPick the work and its size, see hours, price and start date.SPF, DKIM and DMARC checkerGrade any domain’s email DNS, with records to paste.BIMI checkerRecord, DMARC, SVG Tiny PS logo and VMC or CMC, with an inbox preview.App store readiness checkWhat your web app lacks for the stores, TWA or Capacitor, files to copy.Build or buy calculatorSaaS against your own app over 1, 3 or 5 years, with the payback month.Runbook generatorA RUNBOOK.md for a system only you know, in two minutes, in your browser.SLA calculatorMonthly fee, response times, a downtime budget and contract clauses.Local model or API?Does the model fit your hardware, how fast, what it costs against an API.OpenAPI to MCP toolsPaste an OpenAPI spec, get narrow MCP tools and a server skeleton.KSeF invoice validatorCheck an FA(3) invoice against the official schema in your browser.Quoting time calculatorHours spent turning inquiries into quotes, and when an agent pays off.Multi-tenant SaaS calculatorWhich multi-tenant model, the work per release and the weeks to get there.Quote DeskDrop a customer inquiry, get lines matched to your price list. Free.AI Visibility DeskDoes Claude recommend your brand? Weekly runs of your buyers’ questions, free.List DeskClean an email list in your browser: dead domains, disposable, typos, duplicates.Eval DeskTest cases for your AI prompt, run after every change: what regressed, what got fixed.Dashboard DeskA growth dashboard created in your PostHog, plus what your tracking is missing.Signature DeskOne email signature template for the whole team, as HTML for Gmail, Outlook and Apple Mail.Phishing email checkerForward a suspicious email or upload the .eml file; three AI models and technical checks give a verdict.Email TestSend one email, check one-click unsubscribe, SPF, DKIM, DMARC and spam signals.Vitals DeskA daily lab check of your pages on a throttled phone: LCP, CLS and TBT, and an email when a page gets slower. Free.Legacy rewrite estimateLines of code to function points, hours and cost, with and without agents.

Want the fun version? The Corporate-speak Translator has a Polish dictionary of office phrases and what they really mean. Corporate-speak dictionary (Polish) →

Need this built, fixed or reviewed?

I build and rescue products with AI coding agents under rules: AI features in production, honest estimates, email that gets delivered.

Przemysław Zalewski

How I work

Przemysław Zalewski · 15+ years shipping software

“a true bias for action” client CTO, public LinkedIn recommendation

My pledge

All principles, the AI policy and working hours →

Pricing · Security · Privacy and analytics opt-out · Trust center