Zyrelyx Global AI Hackathon · built fresh Dec 1–7, 2026

CapFleet

A fleet of AI agents that cannot overspend, even when one turns hostile.

Worked example: a compromised procurement agent holding a real registered key tries to extract $881 from a $1,000 treasury — overspend, recipient swap, category hop, replay, split attack, reservation race, cap-change. Against a prompt-only wallet it succeeds. Against CapFleet the attacker receives $0, the rogue agent is auto-quarantined after 4 blocked attempts, and the rest of the fleet keeps working.

$881 drained from prompt-only wallet
(of $1,000 treasury)
vs
$0 received by attacker from CapFleet
($721 blocked, $200 approved inside mandate)

No wallet, no install, no funding step. The replay below is the recorded attack run; every refusal is a real transaction on Base Sepolia.

The attack run

One compromised key, two treasuries. Left column: CapFleet's deterministic policy engine. Right column: the same hostile amounts against a wallet whose only guard is an instruction to the model.

CapFleet: attacker received$0
CapFleet: blocked$0
CapFleet: approved (fleet total)$0
Baseline: attacker received$0

CapFleet (deterministic caps)

    Prompt-only baseline

      Architecture: the model proposes, the contract decides

      Safety owner: deterministic Solidity in CapFleet.requestSpend / reserve owns every spend decision. Agents only sign proposals. A compromised key is bound by the same caps, because the caps live in the contract, not in the agent.

      1. 1 · Intent layer. Agents emit structured, EIP-712-signed SpendIntents (agent, recipient, amount, category, purpose hash, nonce, expiry, policy version). The model never touches money.
      2. 2 · Deterministic policy engine. The contract verifies signature, policy version, recipient allowlist, category permission, then five caps atomically: per-transaction, agent epoch, category epoch, recipient epoch, fleet epoch — plus a velocity cap. Refusals return a reason code and emit SpendBlocked. The refusal is on the record.
      3. 3 · Reservation accounting. Multi-step tasks reserve budget first. Reservations count against every cap immediately, so parallel intents cannot race past the same budget, and split attacks hit the same accounting.
      4. 4 · Settlement. Only after all checks pass does the contract transfer test USD and emit a receipt hash binding intent + policy version + epoch.
      5. 5 · Observability + Governor. Every approval, block, reservation, and quarantine is an event. The human Fleet Governor sets caps, approves timelocked raises, reviews quarantines, and can revoke instantly. Cap decreases are instant; raises wait out a timelock, so a compromised governor key cannot instantly raise limits either.

      Auto-quarantine

      Four consecutive blocked attempts from a valid key freeze the agent automatically. Bad-signature spam does not count, so an outsider cannot grief-quarantine a healthy agent. The fleet keeps working; only the rogue stops.

      Fleet isolation

      Each agent has its own budget inside category and fleet caps. One rogue agent exhausting its $200 mandate cannot starve the researcher or ops agents.

      Asymmetric cap changes

      Decreases and revocations are instant. Raises are timelocked and bump the policy version, invalidating intents signed under the old policy.

      Live chain proof

      Deployed on Base Sepolia (chain 84532). The panel below reads the contract's recent approval and block events straight from the chain. If the RPC is unreachable, it falls back to the recorded attack-run transactions.

      Loading on-chain events…

      What is real and what is not

      LayerRealSimulated / testnet
      ChainBase Sepolia deployment; every approval and refusal is a real transactionTestnet, not mainnet
      MoneyContract-enforced transfers of the demo tokentUSD is a test token with no value; amounts model a $1,000 treasury
      AgentsReal registered keys signing real EIP-712 intents; rogue key is genuinely compromised in the runAgent "decisions" are scripted strategies, not a live LLM, so the run is reproducible
      BaselineReal contract (NaiveAgentWallet) drained by the same keyDeliberately naive comparator representing prompt-only guards
      ApprovalsGovernor actions (quarantine lift) are real transactionsGovernor is one key in the demo; production wants a multisig

      Known weakness, quantified: caps use fixed epoch windows, so an agent can spend up to 2× its epoch cap across a window boundary (end of epoch N + start of epoch N+1). Per-transaction and velocity caps bound the burst; the production fix is rolling-window accounting, which costs more storage writes per spend. The contract is unaudited and testnet-only.

      Built to the rubric

      CriterionWeightEvidence
      Technical Architecture & Engineering Depth35%Five-layer design, EIP-712 intents, hierarchical caps, reservation anti-race accounting, timelocked raises, auto-quarantine, full Hardhat test suite
      Innovation & Originality25%Identical-attack A/B eval vs a prompt-only baseline; quarantine circuit breaker; asymmetric cap changes
      Real-World Utility & Scalability25%Ops teams running agent fleets that buy data, compute, and services; fleet isolation under attack; per-spend gas cost measured in the proof file
      Execution & Demo Clarity15%This page: one-click attack replay, live chain proof, walkthrough video, complete Devpost package