delegateai
AI chief of staff for onchain money. Bounded by an ERC-7715 MetaMask grant — pays subs over x402, refuses anomalies, settles ERC-7710 on Base via 1Shot, ships a multimodal Venice Friday Brief.
ビデオ




テックスタック
説明
DeleGate.AI is an AI chief of staff for onchain money — bounded, revocable, and multimodal. Built on Base mainnet for the MetaMask Smart Accounts Kit × 1Shot API × Venice AI Dev Cook Off.
The Problem
Every AI agent today is either useless or owns your wallet. There is no in-between. Stripe-style cards give an agent unrestricted spend. Allowance approvals leak. "AI assistants" with seed phrase access drain on a single bad prompt. The kill switch is "cancel the card" — and by then the money is gone.
The Solution
One ERC-7715 advanced permission, signed in the MetaMask extension, gives an autonomous agent a weekly USDC budget on a MetaMask Smart Account. The agent walks a catalog of subscription services, fetches an HTTP 402 quote from each, asks Venice to reason about whether the price is sane, and decides PAY, REFUSE, or ESCALATE.
Approved payments are settled through real ERC-7710 redemptions broadcast by the 1Shot permissionless relayer — gas paid in USDC, no ETH, no paymaster. Every Friday the agent compiles a multimodal brief using three Venice endpoints: text reasoning, a generated chart image, and a sixty-second voice narration. You can revoke at any time, onchain, in one tap.
What Makes It Different
• Bounded by enforceable caveats — the agent literally cannot outspend the cap.
• Refuses anomalies in real time — a 32× quote inflation is caught on the same tick, with the reasoning surfaced live in the dashboard.
• Pays its own brain — Venice inference is funded by the same wallet via x402, no API key required.
• Six real transactions on Base mainnet prove the rail works today, verifiable on basescan.
Sponsor Primitives Used
• MetaMask Smart Accounts Kit — Smart Account upgraded via ERC-7702 in-flight on the first 1Shot redemption.
• ERC-7715 Advanced Permissions — opens the MetaMask popup via requestExecutionPermissions; caveats persisted in localStorage.
• ERC-7710 Delegation — every onchain action is a 7710 redemption with an ERC-20 transfer scope.
• EIP-6963 multi-wallet discovery — in-app picker so MetaMask is selected explicitly.
• 1Shot Permissionless Relayer — every onchain tx broadcast through relayer.1shotapi.com, fees in USDC.
• 1Shot fee batching — each redemption batches fee + work USDC transfers in one ERC-7710 redemption.
• x402 + ERC-7710 facilitator — reusable module in packages/core/src/oneshot/settle.ts.
• Venice text · image · audio — Friday Brief uses three endpoints in one round trip.
• Venice x402 (no API key) — inference paid by the wallet that pays merchants.
Tracks Targeted: Best Agent · Best x402 + ERC-7710 · Best use of Venice AI · Best Use of 1Shot Permissionless Relayer
ハッカソンの進行状況
Day 0 — Foundation Spike
Verified every primitive before writing a single line of product code. Reverse-engineered the 1Shot relayer's canonical schema, confirmed MetaMask Smart Accounts Kit + viem version pinning, resolved the EIP7702 stateless delegator implementation address on Base mainnet (0x63c0c19a282a1B52b07dD5a65b58948A07DAE32B from delegation-deployments v1.3.0). Discovered the 1Shot relayer is mainnet-only — pivoted chain selection from Sepolia to Celo to Base when we learned Venice's x402 inference rail is Base-only.
Day 1 — First Onchain Settlement
Lifted the first ERC-7702 upgrade + ERC-7710 redemption onto Base mainnet via the public 1Shot relayer. Spent 0.02 USDC of relayer fee. Reverse-engineered the relayer's executions array — discovered every redemption must batch a fee transfer to 1Shot's collector with the work transfer ("No valid payments to feeAddress" without it). Topped up Venice with 5 USDC over x402 — first inference call succeeded with no API key. Verifiable as tx 0xf199a88f...46052c.
Day 2 — Productisation
Built @delegate/core (chain, 1Shot relayer client, Venice x402 client, settleOnchain), apps/merchants (x402 v2 mock services), apps/agent (reasoning loop with strict-JSON Venice output, anomaly detection, in-memory decision log).
Day 3 — Dashboard
apps/agent gained an Express HTTP server + Server-Sent Events stream. Live decision feed, demo controls, Friday Brief endpoint composing text + image + audio in one call.
Day 4 — Settlement Live
Wired settleOnchain into the agent's PAY path with ONCHAIN_SETTLEMENT_MODE=dust. Six real settlements landed on Base mainnet through 1Shot, each batching two USDC transfers per redemption.
Day 5 — Frontend Polish
Three full UI revisions. Editorial hero layout, EIP-6963 multi-wallet picker (no more wallet land-grab), Friday Brief panel rendering Venice's text + WEBP image + MP3 audio, toast notifications, decision filters (All/Paid/Refused/Onchain), keyboard shortcuts (G/T/F), copy buttons, animated stat counters.
Day 6 — ERC-7715 Grant UI
Built the onboarding panel that calls requestExecutionPermissions from @metamask/smart-accounts-kit/actions. Opens the real MetaMask extension popup with caveats: cap, period, expiry, callees. Grant persisted to localStorage with BigInt-safe serialisation.
Day 7 — Deploy + Submit
Multi-stage Dockerfiles for the agent and merchants services. Deployed both to Railway. Frontend to Vercel. Updated CORS to lock the agent to the Vercel origin. Wired the landing page CTAs to the deployed dashboard URL. Recorded the demo.
資金調達の状況
Not currently fundraising. DeleGate.AI was built as a hackathon submission to demonstrate that ERC-7715 advanced permissions + ERC-7710 delegations + 1Shot's permissionless relayer + Venice's x402 wallet auth can compose into a real, bounded, revocable agentic-finance product on Base mainnet today.
If shortlisted for further development, we plan to wire the agent runtime to a separate session account (currently shares the burner for demo simplicity), add onchain reputation attestations per receipt, replace the in-memory store with Postgres, bridge 1Shot webhooks into the SSE stream, and open a public registry of x402-compliant merchants so any service can plug into the rail.