Regent

Agent-operated wallet · Base Sepolia

You give the mandate.
Regent executes.

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

Autonomy you can sign, boundaries you can prove.

Most agents ask for trust. Regent asks for a mandate — three clauses enforced by the RegentMandate contract, the agent service, and the interface alike.

§1

Budget ceiling

100 USDC

Cumulative spend is capped. The contract reverts the transaction that would cross it — BudgetExceeded.

§2

Slippage ceiling

≤ 2.00%

Every route is checked against your tolerance before execution — SlippageExceeded.

§3

Expiry

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

From intent to execution

  1. 01

    Create a mandate

    A goal, a budget, hard boundaries. Written like a deed, enforced like one.

  2. 02

    Authorize Regent

    Sign the boundaries (EIP-712) from your Smart Account. You stay the owner; Regent gets a leash.

  3. 03

    Regent evaluates

    Venice AI scans DEX routes on Base, compares prices, and reasons about every clause.

  4. 04

    Regent executes

    The best route clears through the 1Shot relayer, gas abstracted. Breaches revert.

Architecture

Three workspaces, one chain of authority

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/

Control surface

Next.js app where mandates are drafted, signed, observed, and revoked.

ai-agent/

Decision engine

Standalone service: Venice AI route evaluation behind an HTTP API, with a final boundary check before anything moves.

contract/

Law

RegentMandate on Base Sepolia. Budget, slippage, and expiry enforced where the agent can't argue.

Powered byMetaMask Smart AccountsdelegationVenice AIintelligence1Shot Relayergas abstractionBase Sepoliasettlement

Delegate the work. Keep the throne.

Try the full flow in demo mode — no keys, no testnet funds, nothing at risk.

Give your first mandate