MandateAgent

AI proposes. Policy constrains. Base settles.

Repo
MandateAgent banner

About

## Challenges we ran into

Keeping live options quotes valid Thetanuts orders can change or disappear between market analysis and wallet confirmation. We addressed this by refreshing the selected order immediately before execution. The transaction is rejected if its premium, strikes, expiry, quantity, venue, or contract differs from the approved proposal. Making AI safe enough for wallet actions AI recommendations are probabilistic, while financial limits must be deterministic. We separated the AI committee from the policy engine. Agents can recommend a strategy, but they cannot increase the budget, approve an unverified contract, bypass the verifier, ignore an expired mandate, or disable the emergency stop. Preventing duplicate spending Manual MetaMask execution and autonomous execution could attempt to use the same mandate budget concurrently. We introduced atomic budget reservations and idempotency keys. Pending, submitted, and confirmed transactions all count toward the cumulative spending ceiling. Explaining what the agents are doing An early interface only showed that the committee was “waiting,” which made it difficult to understand its progress. We added named agent stages, current tasks, completion percentages, evidence summaries, sources, timestamps, reliability labels, and verifier conclusions. Handling incomplete data and unavailable liquidity News services, model providers, market APIs, and OptionBook liquidity can fail independently. Each source is time-bounded and scored for freshness and reliability. Missing evidence, model disagreement, or a lack of qualifying liquidity produces HOLD instead of a fabricated trade opportunity. Building reliable transaction tracking A transaction request can time out even when it was submitted successfully, so blindly retrying could create a duplicate trade. MandateAgent stores transaction hashes and reconciles receipts before deciding whether another submission is safe. Every lifecycle change is written to an append-only execution ledger. Integrating changing on-chain SDKs Thetanuts orders use signed structures, contract-specific units, and live allowlists. We used the official client for discovery, previews, and calldata encoding, normalized token decimals explicitly, and kept OptionFactory settlement fail-closed until its production parameters can be independently verified.

## The problem it solves

Trading on-chain options requires users to complete several complex tasks at the same time: understand market conditions, compare strategies, find live liquidity, calculate potential loss, verify contract details, manage token approvals, and submit a transaction before the quote expires. MandateAgent makes this workflow easier and safer by: - Turning a natural-language trading objective into clear, reviewable rules, including strategy type, expiry range, spending limit, maximum fills, and prohibited actions. - Combining live ETH prices, volatility indicators, market news, public on-chain activity, and Thetanuts liquidity in one command center. - Using a committee of specialist AI agents to research the market, recommend a strategy, and independently verify the recommendation. - Showing evidence sources, confidence scores, payoff outcomes, policy checks, and agent progress so users understand exactly what they are approving. - Enforcing deterministic safety controls that AI cannot override, including a maximum 25 USDC cumulative budget, quote freshness, contract allowlists, strike ordering, wallet balances, and an emergency stop. - Preparing live Thetanuts OptionBook transactions on Base mainnet through MetaMask, with a bounded Coinbase CDP wallet path for autonomous execution. - Recording every prepared, submitted, confirmed, failed, or cancelled execution in an auditable trade ledger. If the evidence is unreliable, the quote is stale, liquidity is unavailable, or any rule fails, MandateAgent returns HOLD and refuses to prepare the transaction.

Screenshots

MandateAgent screenshot 1

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

RunMandate

Give an AI agent an ENS name as its wallet limit. Revoke the name, and it can't spend anymore.