Pactra
Independent research · Solidity + TypeScript
One shared budget. Every agent in the tree.
Built an on-chain budget system for autonomous AI agents that delegate work. Separate agent wallets can collectively overspend; Pactra checks every ordinary draw against the spending limits of the agent and all its ancestors.
- Open research preprint
- Published evaluation: 101 Foundry-reported cases across 16 suites.
- Adversarial search: 1,200 spending strategies and 45,360 draw attempts.
- Fuzz and invariant testing, gas benchmarks, and baseline comparisons.
how it actually works
Each ordinary draw debits the agent and every ancestor. Child mandates must narrow their parent’s budget, transaction, lifetime, concentration, and depth limits. Solidity contracts enforce these constraints; TypeScript services handle payments, indexing, and agent tools without exposing the operator’s private key.
- Solidity
- TypeScript
- Foundry
- MCP
- x402
































