The three layers
Optimising all three together is the product — a cheap model on a wasteful loop, or a tight loop on infrastructure that bills an idle machine, both end up expensive.
The harness (harness)
The harness is the agent loop: assemble a turn, call the model, parse tool calls, decide what carries into the next turn. It is configurable per agent, and pi is the default:
GET /v1/harnesses, because a harness needs an adapter compiled in and an environment can have a different set.
The runtime
The runtime is everything under that seam — the managed infrastructure every agent runs on:- Durable loop & scheduling — wake, one bounded turn, commit, sleep. A crash loses one turn, never the run.
- Sandboxed computers & browser — a disposable micro-VM per agent, paused between turns; idle time meters storage.
- Model routing & completion window — one model, three lanes; unsupported lanes are refused, never downgraded.
- Budget enforcement — every call quoted against the cap before it runs, refused over it.
- The ledger — five-tier token accounting in integer micro-USD, per session and agent.
The durable loop
The tools
One interface to a computer, a browser, storage, skills, identity, connections, and MCP servers. Every call passes policy —allow / ask / deny — and is priced before it runs.
What this stack does to cost per finished task is measured on the published benchmark.
Next: the completion window
Three prices for one model, chosen per request.