Capstone reference implementation
12 stepsCost-engineer an agent pipeline
A complete Python build of the capstone. One cost model turns a synthetic month of agent runs into Claude-style usage and dollars under a configuration of levers (caching, context policy, batch, a Haiku-first cascade), so every milestone is measured on the same 2,000 matters with the same pricing code, and the final month goes into a SQLite ledger with allocation, reconciliation and budgets.
Back to the project