Your agent trades
up to the line you drew.
Mandate is a module for your smart wallet. It checks every trade your AI agent makes, before and after execution, and reverts anything outside your rules. The agent’s key can be stolen. Your funds can’t be moved out.
In development · testnet only · not audited
Two checks on every trade.
Proposes an operation
A swap, a loan or a withdrawal. The agent can only call the Mandate module. It has no direct access to the wallet.
What it calls
- F1Contract and function are on the allowlist
- §4.3The recipient is your wallet
- F5Token transfers are always blocked
- §4.4Approvals only for the exact amount
What happened to the portfolio
- P1Loss per trade, priced by Chainlink
- P4Daily loss and turnover
- P5Single-asset share and leverage
Six lines. Not one of them is negotiable.
Recipient
Every operation pays out to your address only.
Loss per trade
Portfolio value before and after, at the same prices.
Trade size
Notional of a single operation in USD.
Daily loss
Execution losses since 00:00 UTC. Crossing it freezes the agent.
Single-asset share
The agent can’t pile the portfolio into one coin. Reducing a position is always allowed.
Drawdown from peak
From −8% the agent can only close positions. At −15% it is frozen.
Message the agent like a scammer.
What you lose if the agent is compromised.
The agent is talked into sending funds
transfer() is blocked for the agent. The attempt counts as a violation.
It buys a scam token
An untracked token is worth $0. The trade shows up as a loss and is reverted.
Sandwich attack
Slippage above the limit reverts the whole trade.
The agent’s key is stolen
It can only trade what’s allowed, and only to your address.
The Mandate team is hacked
The module has no admin key and no upgrades. There is nothing to change.
Draw
the line.
Mandate is in development. We’re looking for teams already running trading agents on Base who want to give them more capital. Write to [email protected]