Patterns for Toolcraft¶
Findings from ~200 experimental runs, and the patterns that emerged.
We ran ~200 experiments across three models (Haiku, Sonnet, Opus) and nine tool configurations on a synthetic bug-fixing task. The experimental foundations — what we measured and what surprised us — are in the first post. The remaining patterns are the designs that emerged from those findings, each addressing a specific problem that the data revealed.
The theory is in The Ma of Multi-Agent Systems. The practice is in Ratchet Fuel. The tools are in Tools.
The patterns¶
Experimental Foundations — ~200 runs across 3 models and 9 configurations. Strategy instructions are model-dependent. With the principle, structured tools cost ~5% more than bash (n.s.) and buy characterizability. One sandbox flag was the difference between level 4 and level 7. Don’t restrict what you haven’t measured.
The Calibration Probe — Before committing to a configuration, run a 3-5 turn diagnostic to characterize the model’s behavior. The probe costs $0.03-0.15 (~1% of task cost). A misconfigured task costs 15-56% more.
Tool-Call Combinators — Compose structured tool calls at the Harness level without crossing the computation channel boundary.
gather,try_and_check,scope,pipe,for_each. Reduces 15 calls to 3, saving ~200K tokens of re-sent context.The Mode Controller — Failure-driven transitions between tool configurations. The controller watches the tool call stream and switches modes when patterns indicate the current configuration isn’t working. Specified rules, not trained judgment.
The Coach — Continuous observation with suggestions. Fires periodically, analyzes recent tool usage via Fledgling/blq, and injects context the agent is missing. The ratchet’s observation phase, automated.