IntentLinks

Shareable links that give AI agents bounded, revocable spending power — enforced by Sui, not us.

Visit Repo
IntentLinks banner

About

IntentLink is a link that carries a permission.

You write what an AI agent may do with your money in plain English — how much, how often, where, for how long. You get back a shareable link with a QR code. Whoever opens it proves they're a real human, and then plugs in whatever agent they like.

The limits aren't enforced by our code, our server, or the agent's good behaviour. They're Move asserts on Sui — nineteen of them, on every single spend.

The problem

Handing an agent money today means handing over the keys and hoping. "Only spend $50 a day" lives in a prompt. The API key does everything. You find out afterwards, and stopping it means rotating credentials.

IntentLink is a valet key instead. The car starts, the boot stays shut — and it isn't a promise, it's the shape of the key.

How Sui enforces it

Four Move objects. A Vault holds the funds. A Capsule is the permission — key only, no store, so it can't be transferred, sold or wrapped. Access is by field, not ownership: the issuer may revoke, pause or tighten; the recipient may pause or hand back; only the holder address may execute.

Every spend passes nineteen asserts: who's asking (3), is it alive (6), recurrence (1), soft caps (3), hard caps (2), scope (3), funds (1). An approved escalation lifts the soft caps and only those — nothing lifts the hard cap, not a permit, not the issuer at 3am, not a compromised backend.

The centrepiece is a hot potato. begin_execute hands out the coin and an ExecTicket — a struct with no abilities at all. It can't be stored, copied or discarded, and only settle can destroy it, after checking the proceeds landed on the beneficiary fixed at mint. A transaction holding that ticket is structurally incapable of finishing unless the money goes to the right address. The agent isn't trusted not to skim; a transaction where it skims cannot be built. And because the swap is an ordinary call between those two, any venue works and we're coupled to none.

Also on Sui: zkLogin and sponsored transactions, built ourselves — our own salt derivation, prover client and gas station with a reserved coin pool. Users sign in with Google and pay no gas. 43 Move tests, one per assert.

How ENS publishes it

Every capability is a subname under intentlink.eth, issued programmatically through an ENSv2 PermissionedRegistry. Its text records carry the vault, the capsule, the chain, the status, and il:policy — a hash of the terms.

That same hash is written into the Sui object in the same flow. Before acting, the agent resolves the ENS name and halts if the two chains disagree. The recipient's page shows "Verified" only when the hashes match and our stored document matches the capsule field by field — a check on our own server, not just on the chain.

Names are ERC-1155, so the tokenId is parsed from the TransferSingle mint event. Records go through a subtree resolver in a multicall, so a name is never half-updated. Reads use ENSIP-10 resolve(). We grant ourselves exactly ROLE_SET_RESOLVER | ROLE_SET_RESOLVER_ADMIN per name using Enhanced Access Control — only bit 24 is documented, so the layout was recovered by probing a fresh name.

How World ID vouches for it

At redemption, a live human is claiming the link — not a script, not a replayed credential.

The load-bearing use is escalation. An agent can ask to exceed its limit; it can never approve. approve_escalation asserts ctx.sender() == capsule.issuer, and the frontend requires a fresh World ID proof whose signal is bound to hash(capsule, amount, nonce) — so a stored credential can't be replayed and a yes to 26 can't be stretched into a yes to 260. Using World sessions, the nullifier is comparable to the one recorded at mint, proving the same human, not just the same account.

Every other approval mechanism is a bearer credential — and a bearer credential can be handed to the very agent you're constraining. A live human cannot.

Bring your own agent

claim() always accepted any address as holder, so a capability can be handed to an agent we didn't write and have never seen. Every permission is also an MCP server. One line of config into Claude Desktop or Cursor, and that assistant gains five tools generated from the capsule: get_permission, quote, execute, request_escalation, get_history.

The tool list is scoped to the capsule — that's convenience. Underneath, execute meets the same nineteen asserts — that's the guarantee, and it holds for an agent that read nothing.

Verified on testnet: a delegated key holding zero SUI traded 0.01 through MCP, and the same connection asking for 5 SUI was refused with E_OVER_ACTION_CAP, nothing moved.

The demo

Open Claude Desktop — an AI we didn't write, on someone else's laptop — tell it to spend ten times the limit, and watch Sui refuse it. Then revoke from the dashboard and watch the agent go quiet, because it cannot continue rather than because it agreed to stop.

Anyone can build an agent that spends money. We built the part that says no.

From the public ETHGlobal showcase 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.

Leash_dash

Keep your AI agents on a leash: bind an agent, set on-chain spend limits, cut it off with one write.

Agent Vault

Give your AI agent a wallet with hard on-chain spending limits. Powered by Sui + DeepBook + ENS.