Docs
How Leash decides what your agent may do, and how to connect one.
What is Leash
Leash sits between an AI agent and its wallet on Robinhood Chain. Before the agent signs anything, it asks Leash. Leash checks the action against your rules and answers allowed, blocked, or ask the owner.
The agent never holds more freedom than you gave it, even if its own logic goes wrong or someone tricks it with a prompt.
How a check runs
Checks run in this order. The first one that fails decides the answer.
- Kill switch is off.
- The agent isn't paused.
- The asset is on the allowed list.
- The token isn't under 24 hours old, if that rule is on.
- The amount is within the per-action limit.
- The amount fits in what's left of the daily budget. Sells and withdrawals skip this.
- It's within allowed hours, if that rule is on.
- If the amount is above your "ask me" level, it waits for your approval. Otherwise it's allowed.
Connect an agent
Call check before every transaction and only sign when the answer is allowed.
import { Leash } from "@leash/sdk"; const leash = new Leash({ agentId: "swing-bot" }); const verdict = await leash.check({ action: "buy", symbol: "NVDA", amountUsd: 45 }); if (verdict.allowed) await wallet.send(tx); // verdict.reason → "Above $40 — waiting for you"
Illustrative only — the package is not published. This site's server answers the same question at POST /api/check.
Approvals
An action above your "ask me" amount waits in the dashboard. Approve it and it goes through, as long as the daily budget still has room. Decline it, or leave it, and it doesn't happen.
Kill switch
One switch blocks every agent on its next check. Nothing already signed is reversed, so act fast when something looks off.
$LEASH
Hold 25,000 for Pro or 100,000 for Team. Paying in $LEASH is 25% cheaper, and 10% of every plan payment burns $LEASH. See the token page.
FAQ
Is this live?
Not yet. The sample agents on this site run in your browser, and no wallet is connected.
Where are my rules saved?
In this browser only. Clearing site data or using another device starts fresh.
Can Leash move my funds?
No. Leash only answers allowed or not. Your agent's wallet signs, and only when the answer is allowed.
What counts as a day?
A rolling 24 hours from now, not midnight to midnight. On this site it's sped up to 5 minutes.
Is Leash part of Robinhood?
No. Leash is an independent concept and is not affiliated with Robinhood Markets.