Stack Assay

Agent harnesses Stackfrom the agent harnesses track

Know what your AI stack costs per solved task

Buy the agent harnesses Stack

$99 a month, or $990 a year, per instance. Full refund within 14 days.

Same model, same tasks, every task solved, and in our lab one harness cost 4.9× as much as another. Before your team builds on one, the agent harnesses Stack runs that comparison on your own tasks, on a laptop or a CI runner, each run sealed in a fresh container, and reports tasks solved and cost per solved task.

In its own lab, it solved 18 of 18 harder tasks at 0.34¢ of model spend per solved task, with 94% of prompt tokens served from cache.

Read every run

The pattern is in production at Spotify, Rakuten and Cisco. See what they built and what it did.

$99 a month, per instance, or $990 a year

  • Full refund within 14 days, no reason needed (refunds).
  • Renews monthly or yearly, as you choose; cancel any time and it runs on, unlicensed, without updates.
  • Runs in your CI with your own model key. Nothing hosted by us.
  • Version 0.5.0, 1 December 2026. Install with npm i @stackassay/stack-agent-harnesses.

Want more than one? Assay Platform includes every Stack.

Already bought? Sign in to your account for set-up steps, your licence file, a new key and invoices.

How it works, step by step

The agent harnesses track’s explainer shows the system the Stack runs, one step at a time, in five views.

Each part of the system as a glyph on the floor; this step’s flows run as moving dashed lines.

Why you need it, what you are buying, and why now

QuestionAgent harnesses: the categoryThe agent harnesses Stack
What it isThe software around a model that makes it a coding agent, meaning the tool loop, memory, permissions, and a way to drive it from code.A test bench for harnesses that runs on your own tasks, the harness command.
What it doesGiven a prompt and a folder, it reads files, runs commands and edits code until the task is done, streaming what it does as it goes.Runs each harness on your tasks, every run in a fresh locked-down container, grades the result with checks the agent never sees, and reports tasks solved, cost per solved task, time and cache hits. It also checks that each harness can be driven safely from code.
Why you need itPublic benchmarks disagree about how much the harness matters, and none run on your code. In the lab, on one model, every harness solved every task while cost differed up to five times and prompt caching ranged from none to over 90%.Your own numbers before you commit. You get cost per solved task, caching and control on your tasks, with each agent sealed off from your machine and your key.
What you are buyingA harness (Claude Code, Ori Code, Hermes, mini-swe-agent, OpenCode) and its maker’s claims about it, or weeks building your own sandbox, grader and cost tracking.That sandbox, grader and meter, built and measured. It has four harnesses unmodified and pinned (Claude Code by default, Ori Code to compare), a gateway that holds your key, checks you can prove before trusting them, and 14 worked tasks to start. It is not a new agent. As an arm in its lab it solved 18 of 18 harder tasks at 0.34¢ each.
Why nowHarnesses run any model through one gateway now, and they ship fast. Claude Code updates daily and Hermes weekly. The behaviour you chose last month may not be the one you run today.Measure now, and again when a release of the Stack pins newer harness versions, in minutes and for cents, so a harness change shows up in your numbers rather than in your bill.
Who it is forTeams building on a coding agent, or choosing one for their developers.A team picking a harness before it builds on one, or checking what a newer harness version does to cost and behaviour on its own tasks.

Teams already doing this

Companies that built this for themselves and published the result. Figures are as each source states them; these companies are not Stack Assay customers, and the Stack is how a team gets the same pattern without building it.

SpotifyStreaming

Spotify tried several coding agents headless before one earned 1,500 merged pull requests

For its background agent, Spotify ran coding agents headless in containers on real migration work, compared Goose, Aider and a loop of its own, and settled on the one that did best, behind build, lint and test checks.

Over 1,500 pull requests merged into production, and a total time saving of 60 to 90% on complex migrations compared with writing the code by hand.

“Claude Code is our top-performing agent.”

With the Stack: The same bake-off on your own tasks, with four harnesses in a locked-down container, scored on what it solved and what each solved task cost.

Spotify Engineering, 24 November 2025.

RakutenE-commerce

Rakuten cut feature time to market from 24 working days to 5 with a coding agent

Rakuten put a terminal coding agent to work across engineering on tests, bug fixes and code review, with sessions in parallel; one run worked on its own for seven hours on an open-source implementation task.

Average time to market for new features fell from 24 working days to 5, a 79% drop, and a single autonomous run lasted seven hours.

“I didn’t write any code during those seven hours.”

With the Stack: Long unattended runs are where cost and safety matter most. The Stack keeps the agent in a container and reports what each solved task cost.

Anthropic customer story, 2026. Published by the agent’s vendor.

CiscoNetworking

Cisco raised defect-fix throughput 10 to 15 times with a command-line coding agent

Cisco ran a command-line coding agent against defect backlogs in large C and C++ codebases, and used it for build work across more than 15 repositories.

A 10 to 15 times increase in defect-resolution throughput, and more than 1,500 engineering hours saved each month from the build work.

With the Stack: Before rolling a harness out across teams, run it on your own backlog and compare it with the others on cost per solved task.

OpenAI customer story, 27 May 2026. Published by the agent’s vendor.

Measured in its own lab

Its own harness assay command on the lab’s six harder tasks, three runs each, with its default (Claude Code on Claude Haiku 5.5), beside the four harnesses on the same tasks. Recorded 20 November 2026.

Read every run
MeasureResult
Solved the hidden check (six harder tasks, 3 runs each)18 of 18
Model spend per solved task0.34¢
Prompt tokens served from cache94%
Median time per run18.9 s

Defaults set by results

Claude Code by default, Ori Code to compare
On one model, all four harnesses solved all 14 tasks; Claude Code cost 0.37¢ per solved hard task and Ori Code 0.39¢, and both met all four control guarantees. Experiment 2
Check caching per harness
Hermes sent prompts of similar size to Claude Code’s, got no cache hits and cost about 3× as much. Experiment 2
Isolation from outside the harness
No harness defence was ever exercised in 42 planted-instruction runs; the container and the key-holding gateway contained every harness unmodified. Experiment 3
A fresh home for every run
Memory carried across sessions in three different places (global, per path, in the repo), so it is product data to manage, not a default. Experiment 5

The story behind this Stack

The harness is the new product layer. We measured four of them, then built one.

The long read covers the trend, who makes what, what the research says and what each experiment found, so you can see how the Stack’s defaults were set. It is also a book to keep, as an EPUB and a PDF.

Or get The Agent Harnesses Lab Book, free by email. See what is inside.

How we keep your address

What you get

  • The harness command, with assay, probe, validate, doctor and licence.
  • A locked-down container per run, behind a gateway that holds your model key.
  • A normalised run record for every run, with pass, calls, tokens, cached tokens, cost and time.
  • The lab’s 14 tasks as worked examples, each with a reference solution and a planted wrong answer.
  • A GitHub workflow that validates your tasks on every pull request and runs the assay when you start it.
  • Every release while your licence runs, each tied to a lab result.

What you need

  • Docker, on a laptop, a VM or a CI runner
  • Your own OpenRouter key (a dedicated one with a credit limit)
  • A few tasks with hidden checks, or the 14 worked examples to start

Set up, after you buy

npx harness init
npx harness image
npx harness doctor
npx harness validate --examples hard

One assay, start to finish

  1. 1.You write tasks the way the lab does, with a prompt, starting files, and a hidden check the agent never sees. harness validate proves each check fails the start, passes a reference answer and catches planted wrong ones, offline and free.
  2. 2.harness assay prints the plan and its estimate, then runs one pilot before anything else. Each harness gets a fresh container per run, with no secrets, a read-only root, and no network except a gateway that holds your key.
  3. 3.Each run is graded offline in a separate container and metered from the outside. Calls come from the gateway’s log, and tokens and cost from your provider’s own records, never from the harness’s report.
  4. 4.You get one row per harness, with tasks solved, cost per solved task, median time and the share of prompt tokens served from cache, plus harness probe for JSON events, honest exit codes, stopping and resuming.

Release notes

0.5.0, 1 December 2026. Upgrade with npm i @stackassay/stack-agent-harnesses@latest; every release is included while your licence is active.

  • No defaults changed.
  • One spend cap for the calendar month across every provider, 20 US dollars until you change it (monthlyUsd at the top of .stackassay/models.json). It is the most the Stacks in your repo may spend on your model keys in a month, each call priced at its own provider's prices, so switching providers keeps the same budget. harness run and harness assay say where the month stands beside the estimate and do not start past the cap. An assay holds to it run by run, so it stops between runs and never in the middle of one. It starts again when the month turns. The count comes from your repo's spend ledger, so it is not the provider's bill. --max-usd still holds for one command.
  • Every line in the spend ledger now names the provider it was spent at.
  • The Stack says how it is set up, so Assay Platform can set it up in a project on one yes. harness help --json prints every verb with its flags, whether the verb spends, every setting in the config, and the set-up steps in order: init, image, then validate --examples starter. None of the three calls a model or spends. The last two need Docker, and Platform leaves them for later when Docker is not running.
  • harness init --dry-run lists the files a set-up would write and writes nothing.
  • harness help is now written from the same list as help --json, so the two cannot differ. The verbs come in the order you use them, and each flag sits beside its verb.
Earlier releases (10)

0.4.1, 1 December 2026

  • No defaults changed.
  • --json on any command now prints its whole document when it is piped to another program. A document over about 64 KB could arrive cut short, because the command exited before the pipe had taken all of it.
  • The README calls harness report --html a one-file report.

0.4.0, 30 November 2026

  • No defaults changed.
  • harness status says where this repo is with the Stack, in four stages. Adopt means the repo is set up and holds tasks of your own. Prove means the checks hold and an assay has given a verdict. Fix means the verdict was no. Watch means it was yes. It names what waits on you and the one next command, and under --json gives stage, why, waits and next. It reads files only, spends nothing and always exits 0. A yes is asked for again when the config or the tasks change after it, or when it is more than 30 days old.
  • harness report --html also writes the Stack's page as one file, report.html beside the records (or the file you name). It opens in any browser with no server and nothing loaded from the network, so it can be kept as a CI artefact. It shows where the repo is and the next command, then two columns. Running lists each harness you run, each marked proven, failed or unproven with what that rests on. Proven holds the verdict, what it was proven on, the last assay's table and each failed run by name. With no records on file the page still writes, and says unproven.
  • A verdict now says what it was proven on. verdict.json gains on, the cases folder and whether the cases are your own. A yes on the worked examples is no longer read as a yes on your work, by status or by the page.
  • harness validate on tasks of your own keeps its result as validated.json in the runs folder, which is how status knows the checks hold. Change one afterwards and status asks for validate again.
  • A model can be a role in the repo's shared settings file, .stackassay/models.json, which every Stack Assay Stack reads: a provider, a model id and prices. --model worker then runs on that provider with that provider's own key. Claude Code runs on Anthropic's own API or any endpoint in the Anthropic Messages format; mini-swe-agent runs on any endpoint in the OpenAI chat format, a model server on this machine included. Every harness still runs through OpenRouter, where the lab measured them, and without the file nothing changes. A harness that cannot run on a provider says so before anything starts.
  • The gateway holds one key per provider and sends each only to that provider's own host. A host the settings file names for a key needs --allow-hosts (or STACK_ALLOW_HOSTS) from the person running the command.
  • Off OpenRouter, cost is counted at the gateway. It reads the token counts from each reply, cached tokens included, and prices them at what the role states (inPerM, outPerM, and cacheReadPerM and cacheWritePerM when given). A call with no stated price is counted and shown as unpriced, and the cap keeps its estimate.
  • harness doctor checks the key the configured model needs and names the model and its provider.
  • harness assay and harness report end with a verdict: yes, no or none, with one sentence of reason. It is on the last line of the text, in verdict and reason under --json, and kept beside the records as verdict.json. Only yes exits 0. yes means every judged run passed its hidden check; no names the runs that failed; none means nothing was judged, or the assay stopped before it finished.
  • A run that failed for infrastructure reasons (no model call reached the gateway) no longer counts as a failed run in the exit code. It is left out, as it already was in the table.

0.3.0, 30 November 2026

  • Two runs a task is now the default; nothing a run measures changed. Lab result: Experiment 1, Same model, different harness (agent harnesses lab), 2026-11-17.
  • harness report prints the last assay's table again from the records on file. It is free: no model calls and no Docker. It exits 1 when a run on file failed its hidden check, as assay does.
  • The Stack's files in your repo now live in .stackassay/agent-harnesses/ (config.json, assay/, runs/), with the licence file and the spend ledger in .stackassay/, shared by every Stack Assay Stack in the repo. Until now this Stack and the agent simulation Stack both wrote .stack/config.json, so one overwrote or misread the other. A repo set up on an earlier version keeps working as it is: the Stack reads .stack/ and .stack-runs/ until .stackassay/agent-harnesses/ exists, and harness init there keeps the old files and prints the commands that move them.
  • The package ships stack.json, a manifest of the Stack's id, command, verbs and file paths, for tools that read a Stack without running it.
  • Every Stack's folders, old and new, are kept out of the agent's copy of the repo, so one Stack's agent cannot read another Stack's hidden checks.
  • harness assay exits 1 when a run fails its hidden check, as the usage text has always said. It used to exit 0 whenever any run finished, so a CI step could not fail on it. The message names the harnesses and tasks that failed.
  • Two runs a task by default (--runs 2, and in the workflow), where it was one. One run cannot tell a flaky solve from a solid one. The estimate printed before a run doubles with it; --runs 1 gives the old behaviour.
  • The README names the four harnesses the Stack runs, in place of "any headless coding harness".

0.2.4, 28 November 2026

  • No defaults changed.
  • A renewed licence now reaches your copy on its own. Once the paid period on your licence file has ended, a run with STACKASSAY_KEY set asks our registry once for the renewed file and uses it; without the key, or if the call fails, nothing changes and the run goes on. Until then the check stays offline. licence --refresh still works by hand.
  • The licence text counts a Stack by instances, like Assay Platform. One instance is one codebase the Stack runs in, with its CI pipelines. It used to allow any number of your repositories. A licence bought before this release keeps the terms it was bought under until it renews.

0.2.3, 27 November 2026

  • No defaults changed.
  • The egress gateway, the one container that holds your OpenRouter key, now stops when the command that started it ends, unless another run of the Stack is still using it. It used to stay up until you removed it.
  • The licence text names its governing law: the State of California, USA (it said the jurisdiction where Orionfold LLC is established).

0.2.2, 23 November 2026

  • No defaults changed.
  • harness validate without Docker now stops with a plain reason and exit 2 instead of reporting every check as failing, reference solutions included. Found when coding agents installed the Stack on a machine without Docker.

0.2.1, 23 November 2026

  • No defaults changed.
  • --json on every harness command: one JSON document on stdout (for run, pass, cost, calls and cache hit rate; for assay, the summary per harness), progress on stderr.
  • Exit codes every script and coding agent can branch on: 0 yes, 1 no, 2 could not run (with {"error"} on stdout under --json).
  • harness init adds a Skill for coding agents (.claude/skills/agent-harnesses/SKILL.md, and the same file in .agents/skills/ for other coding agents) and a short section in your AGENTS.md, between markers so a later version can refresh it without touching the rest of the file.
  • harness doctor links to the Stack's own page for release notes.

0.1.2, 21 November 2026

  • No defaults changed.
  • The Stack Assay registry moves to https://licences.stackassay.com/npm/. Point your .npmrc there when you next touch it (new licence emails show the new lines); the old address keeps working, and doctor and licence --refresh trust both.
  • harness run --apply never writes back a file the agent was not shown (gitignored, or already on your machine but not in its copy); it refuses the whole write-back instead.
  • harness doctor and harness licence --refresh send your licence key only over HTTPS to the Stack Assay registry, whatever a repo's .npmrc names.
  • harness doctor says when a newer version is on the registry, using your licence key; offline it skips the check.
  • The README has an Updates section: upgrading, Renovate and Dependabot with the Stack Assay registry, and renewals.

0.1.1, 20 November 2026

  • Installs with npm i from the Stack Assay registry: 0.1.0 could not, because the registry dropped the note that the kit is bundled inside the package and npm went looking for it.

0.1.0, 20 November 2026

  • Ships under the Stack Assay Commercial Licence (LICENSE) and trusts the live licence signing key, so a purchased licence reads as licensed.
  • First version: harness run, assay, probe, validate, init, doctor, image and licence.
  • Claude Code 2.1.326 by default, Ori Code 0.17.0 as the open-source comparison, mini-swe-agent 2.4.6 and Hermes v0.23.2 available; all pinned, all run only in the locked-down sandbox behind the key-holding egress gateway.
  • The normalised run record with exact cost from OpenRouter's records, cost per solved task, median time and cache hit rate; run-budget guardrails (dry run, --max-usd cap, pilot, watchdog, .stack/ledger.jsonl).
  • harness reprice fills in cost records that OpenRouter publishes late; until then a run counts at its estimate against the cap and the ledger, and every assay reports the key's usage before and after.
  • Fourteen worked examples (the Stack Assay harness lab's task set), each with a reference solution and a planted wrong answer that harness validate proves the checks catch.

Selling a Stack without bending the results

We sell software in categories we measure, which gives us a reason to favour our own. These rules are how you can check that we don’t. They sit alongside the rules every track follows. A licence is per instance and runs by the month or the year; a full refund within 14 days, no reason needed.
  • A Stack runs as an arm in its own track’s lab, on the same tasks, sandbox, checks and cost meter as every other option, and its results are published whether it wins or loses.
  • It is built only from patterns the lab recommends and from open-source parts. No vendor pays to be in a Stack.
  • A track where we sell a Stack says so beside its Players table, and Stacks are never ranked there.

Questions

How do I buy one?
On the pricing page. Choose one or more Stacks and pay by card, Link or a wallet right on the page. Your licence key and install steps arrive straight away, and you can ask for a full refund within 14 days.
Is it a hosted service?
No. It runs in your own CI and calls the model with your own key. We never see your code or your tickets.
What does running it cost?
Your CI minutes plus model spend on your key. In the lab, a factory ticket cost about 1¢ on Haiku 5.5 with the reviewer on, and a harness run on a hard task under half a cent. Your tasks will differ, which is what each Stack’s assay command is for.
Which models does it support?
Any model your OpenRouter key can call. The lab measured Claude Haiku 5.5; measure others on your tasks before you switch.
How do updates and renewals work?
Every release is included while your licence is active, major versions too. Each Stack’s release notes are at the end of its section above and in an Atom feed, and buyers get them by email, with a link to turn that off. Upgrade with npm i @stackassay/stack-<track>@latest, or let Renovate or Dependabot open the upgrade with the same .npmrc lines. A renewal keeps your key; run the Stack’s licence --refresh to fetch the new licence file. If a licence ends, the Stack keeps running with a notice that it is unlicensed, and updates from the registry stop.
Why should I trust a lab that sells?
Because the Stack is measured in public like everything else, with its losses included. The rules are above and on the About page.

Release notes for every Stack go to the list at the foot of this page, the same one that gets each new lab story.

Other Stacks

Run the agent harnesses Stack on your own work

$99 a month, or $990 a year, per instance, every release included, and a full refund within 14 days if it is not for you.

Businesses that need this Stack

38 of the 66 published idea briefs name this as a part of the machine. Each says who pays and what the rest takes.

Browse every idea brief

One email per lab story

Why a trend matters, who the players are and what our lab measured, and a note when a Stack ships. No vendor money, and no tracking pixels in the emails.