Dark theme
WELCOME TO QQUANTUM

Let Qubi show you around.

Choose how you’d like to explore.

Don’t agreeGo to yourOS instead ↗

Both choices allow Google Analytics, so we can see which pages help.

Sound is your choice. Essential cookies keep the site working. Continuing either way also allows Google Analytics (visits and pages viewed).

Read our Terms, Privacy and Cookies.

Change your choices anytime from the footer.

Getting Qubi ready.
Harness engineering

Harness engineering:
the work around the model.

Harness engineering is the discipline of designing everything around a language model that makes an agent reliable: the loop it runs, the tools it may call, what it sees, what it may never do, how its work is checked and how it learns from failure. It is the part of agent building that decides whether the same model is a toy or a colleague. It is also most of what we do.

  • Reviewed December 2026
All Agent Harness Development →
Pixel illustration for Harness Engineering: a loom weaving coloured threads between connected systems.

The short answer

Harness engineering is the practice of building and tuning the harness — the code, tools, rules, context and checks around an AI model — so that an agent does a job well, safely and repeatably. The model supplies reasoning. The harness decides what that reasoning can see, what it can reach, when it must stop and how anyone knows the result is right.

The term spread in early 2026, as teams running coding agents every day noticed that the gains came less from new models and more from the environment around them. OpenAI’s engineering post “Harness engineering: leveraging Codex in an agent-first world” and Birgitta Böckeler’s article on Martin Fowler’s site, “Harness engineering for coding agent users”, are the two most cited write-ups. The idea is older than the name: anyone who has shipped an agent to production has done it.

If you want the plain definition of the thing being engineered, start with what an agent harness is.

HOW WE GOT HERE

Prompt, context, harness.

Each step widened what an engineer controls. None replaced the one before it; a good harness still contains good prompts and good context.

Prompt engineering vs context engineering vs harness engineering.
Criterion Prompt engineering Context engineering Harness engineering
Question it answers How do I ask? What should the model see? What system should the model work inside?
Unit of work One instruction One model call A whole run of many steps
Main tools Wording, examples, format Retrieval, memory, summaries, tool results Loop, tools, permissions, sandbox, hooks, tests, evals, logs
Typical failure it fixes Vague or badly formatted answers Answers from missing or stale facts Agents that drift, loop, overreach or cannot be checked
Who does it Anyone writing prompts Engineers building AI features Engineers building agents
WHAT A HARNESS ENGINEER DESIGNS

Six parts, one system.

01

The loop

How the agent plans, acts, reads the result and decides what to do next or that it is finished. Limits on steps, time and spend. What happens when a tool fails or the model is unsure.
02

The tools

What the agent can call, described so the model uses them correctly: narrow inputs, clear errors, safe defaults. A well-designed tool removes a whole class of mistakes before the model can make them.
03

The context

What the model sees at each step: instructions, rules files, retrieved documents, earlier results. What gets summarised, dropped or handed to a subagent so the main thread stays focused.
04

The boundaries

Permissions per tool, a sandbox for files and code, secrets kept out of prompts, approvals before anything irreversible. Outside content is untrusted by design, because prompt injection is real.
05

The checks

Tests, linters, type checks, validators and evaluation sets that run on the agent’s output automatically, and tell it — and you — when it is wrong.
06

The feedback

Traces of every run, and a habit of turning each failure into a fix in the harness: a new rule, a better tool, a new test case. The harness improves even when the model does not change.
HOW WE ENGINEER HARNESSES

The rules we build to.

These come from harnesses we run ourselves, and from fixing ones that went wrong.

Every harness change goes through the same loop
  1. Observe
    Read traces of real runs. Find the step where it went wrong.
  2. Diagnose
    Model, context, tool, permission or missing check?
  3. Change the harness
    Fix the cause in the system, not with a longer prompt.
  4. Add a case
    The failure becomes a test in the evaluation set.
  5. Gate
    The change ships only if the whole set still passes.

Code what can be code. If a step has a right answer that a rule can find, a rule finds it. Validation, routing, retries, writes to a database and anything that must happen exactly once stay in plain code. The model handles the judgement in between. On the agent that maintains this website, the model edits page content and nothing else; redirects, the page registry and restores are deterministic operations a person approves.

Give the agent sensors, not just instructions. A rule in a prompt is a request. A test, a type check or a validator that fails loudly is a fact the agent can act on. The most reliable harnesses we have built tell the agent quickly and mechanically when it is wrong.

Keep context small and relevant. More context is not better context. We give each step the files, rules and records it needs, and send focused subagents to explore and report back, so the main loop does not drown in its own history.

Grant the least access that does the job. Each tool gets its own scope. The agent that reads the inbox cannot send from it without approval; the agent that runs tests cannot deploy.

Measure before and after. No harness change, model swap or prompt edit ships without the evaluation set passing. See evaluation harnesses.

TWO KINDS OF HARNESS ENGINEERING

For coding agents, and for business agents.

Questions

Questions about harness engineering.

What is harness engineering?

Harness engineering is designing and tuning the system around an AI model so that an agent works reliably: the loop, the tools, the context it sees, the permissions and sandbox that limit it, the automated checks on its output and the feedback that turns failures into fixes. It treats the harness, not the prompt, as the main thing an engineer controls.

What is harness engineering in AI, with an example?

A coding agent keeps breaking the build. Prompt engineering would add “run the tests” to its instructions. Harness engineering adds a hook that runs the tests after every edit and feeds failures straight back to the agent, plus a rule that it cannot finish while tests fail. The second fix works every time, because it does not depend on the model remembering.

What is the difference between context engineering and harness engineering?

Context engineering decides what the model sees in a single call: retrieved documents, memory, tool results, instructions. Harness engineering includes that, and adds everything around the calls: the loop, tool design, permissions, sandboxing, tests, evaluation and logging across a whole run.

Who came up with harness engineering?

No single person. The word harness was already used for test and evaluation harnesses, and agent builders used it for the code around a model. The phrase harness engineering became widely used in early 2026, helped by an OpenAI engineering post on building with Codex and an article on Martin Fowler’s site about harness engineering for coding agent users.

Is harness engineering just prompt engineering with a new name?

No. Prompts are one part of a harness. Most of harness engineering is ordinary software engineering applied to agents: interfaces, permissions, tests, observability and failure handling. That is why it suits engineers who have built production systems before.

Can you do harness engineering for our team’s coding agents?

Yes. We set up rules files, hooks, test and CI feedback, permissions and review for the coding agents your team already uses, so their changes arrive as pull requests you can trust. The same work is part of our agentic coding service.

Shipped & in build

Real work. Check it yourself.

What we built, what stage it is at, and a link to the live thing wherever there is one.

The updated yourOS homepage: Roxy’s open ring surrounded by bento cards for calls, voice, translation, building, design, apps and more.
The yourOS homepage on a phone, with its compact navigation, welcome film button and bento cards.
youros.tech — the homepage bento hero
Our own · coming soon

yourOS

yourOS is an operating system with an AI at its heart. You talk to it like a person, out loud or typed. It makes your calls, plans your days and works on your projects with a crew of agents, on your own private server. Our own product, built from the first commit; the waitlist is open.

What we built
  • Operating system
  • Roxy
  • Agent crew
  • Voice calls
  • App store
  • Website
Meet yourOS →
The Sonora homepage on desktop: a full-bleed dune landscape behind the headline “Transform Your Life with Sound”, with App Store and Google Play download buttons.
The Sonora homepage on a mobile viewport, showing the same hero reflowed to a single column.
sonora.com — homepage, 1440×900
Live · iOS · Android

Sonora

Website, backend and app assets for Sonora, a free AI sound-therapy app on iOS and Android published by Cognitive AI.

What we built
  • Website
  • Backend
  • App assets
Read the case study →
The updated Podswap homepage on desktop: “Grow on Instagram and TikTok for free, with real engagement from creators your size”, beside a tilted wall of exchange, tool and guide cards on a violet gradient.
The updated Podswap homepage on a phone, with its floating navigation, Instagram and TikTok engagement headline and tilted tool cards.
podswap.app — homepage, 1440×900
Five platforms

Podswap

Brand, website, prototype, apps on five platforms, the AI backend and the algorithm-intelligence pipeline for Podswap, a social growth engine that runs without a human in the loop.

What we built
  • Brand
  • Website
  • Prototype
  • Apps on five platforms
  • AI backend
  • Algorithm pipeline
Read the case study →
The unOpen.AI homepage introducing Roxy, a private AI assistant that remembers who you are.
The unOpen.AI homepage on a mobile viewport.
unopen.ai — homepage, 1440×900
Prototype · closed beta

unOpen.AI

In closed beta: Roxy, a private AI assistant with permanent memory running on infrastructure the user owns. Brand, site, product, backend and conversational design.

What we built
  • Brand
  • Site
  • Product
  • Backend
  • Conversational design
Read the case study →
coherence.com on desktop, headed "Intelligence that moves in phase with people".
coherence.com on a mobile viewport, reflowed to a single column.
coherence.com — homepage, 1440×900
Live

Coherence

Live at coherence.com: brand identity generated with AI agents we directed, the motion system and website for the group behind Sonora, AboutAI, WakeUp and MudShadows. Agent work remains in build.

What we built
  • Brand identity
  • Motion system
  • Live website
  • Agent work — in build
Read the case study →
The new Domain Booth homepage on desktop: the headline “Premium Domains. Serious Buyers. Proven Results.” beside the animated DB monogram.
The new Domain Booth homepage on a phone, reflowed to a single column.
Our build of the Domain Booth homepage — 1440×900
Live

Domain Booth

Live at domainbooth.com for DomainBooth, a premium domain brokerage: a new animated mark, every page redesigned and rebuilt with designed mobile layouts, and a custom CMS for its sales record, featured names, press and enquiries.

What we built
  • Animated mark
  • Every page redesigned
  • Designed mobile layouts
  • Custom CMS
Read the case study →
The WakeUp homepage on desktop: 3D code rain behind the headline “Is reality coded?”, with the blog’s navigation along the top.
The WakeUp homepage on a phone, the headline set over the code rain in a single column.
wakeup.com — the homepage, 1440×900
Live

WakeUp

Live at wakeup.com for Coherence: a new 3D mark, a code-rain site built from scratch, a custom CMS for a team of writers with roles, editor review and author pages, 52 posts moved off WordPress at their old addresses, and every page made readable by search engines and AI assistants, ahead of the WakeUp binaural beats app.

What we built
  • 3D mark
  • Site from scratch
  • Custom CMS
  • WordPress move
  • SEO + LLM ready
Read the case study →
Who we have built for

Twenty-one years. Names you know.

See all of our work →
  • BBC Good Food logo
  • Charities Aid Foundation logo
  • GAME logo
  • NatWest logo
  • Next logo
  • NSPCC logo
  • Tesco logo
  • Worldpay logo
  • Samsung logo
  • Sony logo
  • Land Rover logo
  • UAP Limited logo
  • Netflix logo
  • Amazon Prime Video logo
  • Mercedes-Benz dealerships logo
  • San Miguel logo
  • Biovene Barcelona logo
  • Seventy7 logo
  • Littlewoods logo
  • Smile logo
  • The Co-operative Bank logo
Let’s talk

Better agents,
from a better harness.

Send us the agent that is not behaving, or the workflow you want one for. We will tell you which part of the harness to change first.

30-minute technical call · no deck