Budget ceiling
100 USDC
Cumulative spend is capped. The contract reverts the transaction that would cross it — BudgetExceeded.
Agent-operated wallet · Base Sepolia
An AI agent that acts on your behalf inside hard, signed boundaries — budget, slippage, expiry. Never beyond. Built on MetaMask Smart Accounts, Venice AI, and the 1Shot relayer.
ERC-7710 delegation · EIP-7702 gas abstraction · demo mode needs no keys
The mandate is law
Most agents ask for trust. Regent asks for a mandate — three clauses enforced by the RegentMandate contract, the agent service, and the interface alike.
100 USDC
Cumulative spend is capped. The contract reverts the transaction that would cross it — BudgetExceeded.
≤ 2.00%
Every route is checked against your tolerance before execution — SlippageExceeded.
24h
Authority ends on schedule, automatically. No cleanup required — Expired.
contract/src/RegentMandate.sol — what a breach looks like
if (slippageBps > m.maxSlippageBps) revert SlippageExceeded(m.maxSlippageBps, slippageBps);
uint256 remaining = m.budget - m.spent;
if (spendAmount > remaining) revert BudgetExceeded(remaining, spendAmount);
if (block.timestamp >= m.expiry) revert Expired();How it works
A goal, a budget, hard boundaries. Written like a deed, enforced like one.
Sign the boundaries (EIP-712) from your Smart Account. You stay the owner; Regent gets a leash.
Venice AI scans DEX routes on Base, compares prices, and reasons about every clause.
The best route clears through the 1Shot relayer, gas abstracted. Breaches revert.
Architecture
The interface drafts the mandate, the agent reasons about it, the contract enforces it. Each lives in its own directory and they meet at the boundaries.
frontend/Next.js app where mandates are drafted, signed, observed, and revoked.
ai-agent/Standalone service: Venice AI route evaluation behind an HTTP API, with a final boundary check before anything moves.
contract/RegentMandate on Base Sepolia. Budget, slippage, and expiry enforced where the agent can't argue.
Try the full flow in demo mode — no keys, no testnet funds, nothing at risk.
Give your first mandate