When does an agent harness pay for itself?
Compare the full cost of accepted changes and find the smallest feedback loop that improves it.
A harness earns its keep when the feedback it gives a coding agent saves more than it costs to build, run and maintain. That can happen when the feedback prevents expensive retries or lets a cheaper model meet the same acceptance criteria. If the agent already clears those criteria reliably, sending every check back into its working context can lengthen an otherwise straightforward job.
Give the agent feedback and keep the acceptance test independent
For this comparison, a development harness gives the agent executable feedback during a build. A check might show that a timed-out request lost its polling link or that a retry used the wrong idempotency key. An independent evaluator runs after the build against the same acceptance scenarios for every candidate. As the team collecting the results, you control those checks and fixtures. A brief-only condition still runs through the evaluator. Naresh Jain’s experiment
In Jain’s Java API experiment, the outer evaluator used 178 checks, including failures at downstream boundaries. Both models ran at Low reasoning effort on one brief. Luna cost more per attempt with feedback. Once the seven failed brief-only attempts counted, it cost slightly less per accepted build. Sol cleared all ten attempts in both conditions and cost about 6.6 times as much with feedback. Results and cost assumptions
| Model | Accepted with brief only | Accepted with feedback | Estimated model cost per accepted build |
|---|---|---|---|
| GPT-6 Luna | 3/10 | 10/10 | $0.287 → $0.273 |
| GPT-6 Sol | 10/10 | 10/10 | $0.406 → $2.679 |
Faster builds can use more tokens
Our 5 December 2026 study used a synthetic inventory API. Sol and Luna each made ten attempts with the brief alone and ten with a guide and executable development checks. Both ran at Low reasoning effort in Codex. All 40 builds passed the same 58 held-out checks. Both models had lower mean build times and higher mean token use with feedback. The cost estimates cover model usage during build execution. Fixture authoring, maintenance, external evaluation and Syndical squad overhead are outside these figures. Syndical inventory API study
| Model | Mean build time, brief → harness | Mean tokens, brief → harness | Estimated model cost per accepted build |
|---|---|---|---|
| GPT-6 Sol | 69.5s → 55.9s | 78,451 → 84,033 | $0.05587 → $0.05431 |
| GPT-6 Luna | 81.5s → 60.1s | 89,330 → 108,900 | $0.00440 → $0.00388 |
The two experiments suggest different reasons to add feedback. On the inventory task the benefit was mostly time. On Jain’s task the benefit for Luna was consistency. The cheaper run, the faster run and the more reliable run can each be a different choice. Decide which matters to your team before setting the budget.
Delivery estimates need the same attention to scope. One Contoso builder-plus-verifier run recorded a $30.85 subtotal for 31 of 32 calls. The performance table shows that coverage alongside the estimate. Carry the same detail into a harness trial. Keep track of unpriced calls and label subtotals so readers can spot gaps before comparing runs. The paired inventory study held the model, brief and acceptance checks fixed while adding a guide and development checks together. Contoso run with partial pricing · Benchmark runs · Benchmark performance
Start with a failure you keep paying to fix
- Pick one recurring failure in a class of changes you expect to repeat. For a retryable API call, write a check that drives the timeout, verifies the polling link and confirms that the later retry reuses the original key.
- Compare the same model and effort with and without that feedback. Keep the repository snapshot, brief, time budget and independently owned acceptance checks fixed. Retain timed-out and failed attempts in the measurement.
- Divide the combined cost of all attempts, including human review and rework, by the number of accepted changes. Track elapsed time and first-pass acceptance alongside spend. Give durable harness setup and maintenance their own budget line.
If a check costs $200 to build and saves $10 per accepted change after ongoing costs, it needs 20 accepted changes to break even. Treat that calculation as a forecast until real tickets repeat the saving. Where reliability is the objective, compare cost only after the alternatives clear the required acceptance rate.
The feedback loop is one decision among several in the delivery workflow. What engineers own in a software factory · When to use multiple coding agents