The gate can't be the model
A tool passing its own test tells you very little. Independent oracles are what make a kept tool worth keeping.
Armature is a multi-tenant agent platform. Each workspace writes its own tools, runs them against real data, and keeps only the ones that pass. When the same kind of task comes back, the workspace runs a saved tool instead of asking a model to write one again.
Agents that write code usually throw it away after one use, so every repeat task pays full price again. And the model's own tests make a weak gate: in my experiments, tools passed their self-tests while returning garbage. I logged that failure as selftest_but_wrong.
So the question became: can a workspace build up a library of tools it can trust, without taking the model's word for any of them?
Every request runs through the same loop:
Decide whether a kept tool already covers the task or something new has to be built. A superset guard stops a narrow tool from being reused for a broader ask.
The frontier model writes the tool. Routing, rendering, critique and compaction run on a cheaper tier, and embeddings and reranking run locally.
The harness runs the tool in a Firecracker microVM and checks exit status, results, failure sentinels and the output envelope against independent oracles. The model's self-test is only a pre-filter. Failures get up to 3 repair attempts driven by the execution error.
Tools that pass are stored and versioned. They're verified again on reuse, and a stale tool is rebuilt as v+1.
On the same task shape, the cold run took 115.1s and 8,866 tokens. The warm path finished in 9.1s on 964 tokens: 12x faster, 89% fewer tokens, and no frontier-model calls.
The real test was whether verified tools hold up on work with a known right answer. Each capstone is graded by an oracle the agent never saw:
2,568 orders rolled into 22 payouts, with 6 faults injected. All 6 were caught, with zero false positives.
The injected-fault ledger.
Churn scoring on the genuine 7,043-row dataset, trained on a live T4 GPU: ROC-AUC 0.8345, and 25 of 25 anti-fabrication row checks passed.
Held-out rows.
Earthquake analysis on live USGS data.
USGS's own count API.
A tool passing its own test tells you very little. Independent oracles are what make a kept tool worth keeping.
Storing verified tools instead of transcripts turns repeat work into a lookup, not a fresh generation.
Every saving on the dashboard is computed from real metered events.