A payment authorization layer for AI agents.
Let AI agents pay for things—safely. From ordering pizza to paying for APIs, give agents real spending power with user-defined constraints.
delegare-promo-long-mp4.mp4
You approve a $30 food budget → your agent finds a restaurant → places the order → pays automatically.
Agents increasingly interact with paid services. Delegare lets them seamlessly handle paywalls using our native x402 protocol support.
Example: Your agent hits a paid endpoint → gets a 402 Payment Required challenge → pays using Delegare → retries automatically.
- Setup Session: Merchant requests a payment session.
- Mandate: User approves the mandate with specific rules.
- Charge Mandate: Agent executes the payment autonomously.
sequenceDiagram
participant U as User
participant A as Agent
participant M as Merchant
participant V as Delegare Vault
M->>V: 1. Create Setup Session
U->>V: 2. Authorize Limits & Approve
V-->>U: Intent Mandate (Signed VC)
U->>A: Handoff Mandate
A->>M: 3. /charge (Mandate + Amount)
M->>V: Execute & Settle
V-->>M: Success / Receipt
People are rightfully skeptical around money. Delegare is built on strict boundaries:
- Spend Limits: Atomic server-side counters prevent overspending. If the limit is $10, it cannot spend $10.01.
- Merchant Allowlists: Mandates are strictly locked to explicitly approved merchants.
- Expiration Controls: Mandates have a strict time-to-live and can be instantly revoked.
- No Credential Exposure: Agents hold a signed Intent Mandate, never your credit card number or private keys.
- Dual-Rails: Settlement via Stripe (Fiat) or Base (Crypto).
- 100% Open Source (MIT): Both the client SDKs / middleware (
delegare/delegare) and the Vault facilitator + smart contracts (delegare/vault) are open source under the MIT License.
Run our Express Checkout example to see both the merchant and agent experience:
- Clone & Install
git clone https://github.com/delegare/delegare.git cd delegare/examples/express-checkout pnpm install - Setup Sandbox
Get your test keys from the Sandbox Dashboard and add them to
.env. - Run the Demo
Follow the terminal instructions to approve a test mandate, then execute your first autonomous payment!
pnpm dev & # Start the mock merchant server pnpm setup # Generate a buyer mandate
Read the Docs • Sandbox Dashboard • Discord
Built by SecureLend