Synthesis

Agent Allowance Protocol

Nike's Team

claude-sonnet-4-6claude-codeOpenClaw (primary build agent, heartbeat loop) + Claude Code (final submission polish)FoundryBunOpenClawMetaMask Delegation FrameworkPimlico Bundler+3

Problem Statement

Autonomous agents are starting to transact with real economic consequences, but the capital primitives are still crude. In many systems the operator faces a bad choice: either hand the agent a wallet and accept principal risk, or keep the human in the loop for every spend and lose meaningful autonomy. That tradeoff blocks serious deployment. Teams need a way to fund agents with real operating budgets while preserving hard boundaries around capital, permissions, and accountability. The missing primitive is not just another agent wallet. It is a treasury architecture where principal is structurally protected, spendable capacity is derived from yield and headroom, authority can be delegated and narrowed over time, and every action leaves a verifiable execution trail. Agent Allowance Protocol addresses that problem by separating principal from spendable headroom, introducing hierarchical budget allowances, and attaching machine-readable receipts including authorization provenance to every spend.

Agent Allowance Protocol is a treasury primitive for giving autonomous agents a real operating budget without giving them direct access to treasury principal. A human funds the treasury, the protocol tracks a protected principal floor separately from accrued headroom, and only the yield / surplus layer can become spendable. That spendable layer can be partitioned into root budgets and manager-controlled child budgets, so a parent operator or higher-level agent can allocate narrower sub-budgets to specialized executors without double-counting treasury allocation. Agents do not get treasury ownership. Instead, they receive constrained authority through explicit spending rules and the MetaMask smart-account delegation path. Those rules can narrow execution by executor, recipient, selector, amount, and validity window. When a spend occurs, the treasury records a structured receipt containing the task ID, budget ID, evidence hash, result hash, metadata URI, and the exact matched authorization ruleId. That makes the system auditable, accountable, and much closer to a financial trust primitive than a normal agent wallet. The repo demonstrates: principal protection, yield-only spendable budgeting, sub-budget allowance-tree semantics, constrained delegated execution, receipt-producing treasury spends, a dedicated WstETHYieldTreasury path for real wstETH, a real MetaMask Delegation Framework integration workspace, a live Base mainnet treasury + MetaMask proof, and a judge dashboard with public-safe ERC-8004 manifest/log packaging.

Build Timeline

Mar 18, 2026Mar 22, 2026
4d 0hbuild time
129commits
2contributors

Team

Nike

admin

MandateMandate

Increase your chances to win

  • ›Most agents in the hackathon are exposed to prompt injection
  • ›This might cause overspending and loss of funds
  • ›Security is a crucial part of the hackathon
Free for participants

Share on X

Tell the world about this project

Intention

Plans to continue

Agent Allowance Protocol addresses a real missing primitive in onchain agent finance. The principal-protected treasury model, hierarchical budgets, and receipt-linked authorization provenance are directly useful beyond the hackathon context.