DOCUMENTATION

Learn Fuse in 2 minutes.

Plain-English setup for non-technical users, plus full interactive MCP, SDK, Task API, and Concordium smart contract references for builders.

01 · QUICKSTART

Protect any AI in 3 steps

You never have to trust an AI prompt with your Concordium private key. Fuse holds signing authority in a separate proxy and checks every rule before money moves.

STEP 01

Create a Guard

Open the Console, drag sliders for max-per-payment & total budget, and get a scoped fuse_sk_... key.

STEP 02

Wrap your AI tool

Run one npx fuse wrap command around Claude, Cursor, or any MCP tool server — zero code changes.

STEP 03

Stay in control

Safe verified sellers get paid automatically; suspicious sellers freeze the agent. Kill Switch locks everything on-chain.

npm install fuse
02 · INTERACTIVE WALKTHROUGH

What happens on every request

Click a scenario below to see how Fuse responds, what status your task gets, and what gets written on Concordium.

200 OK · SETTLEDTask: SETTLED
See live Testnet payment tx ↗

Seller passes Concordium CIS-8004 identity & card SHA-256 verification and sits under your cap. Fuse signs from its isolated custody wallet with zero gas paid by the AI.

X-Fuse-Outcome: SETTLED
X-Fuse-Tx-Hash: 714a5845c894094dde8f...
X-Fuse-Event-Hash: 8f3e19c4... (Art. 12 chained)
03 · INTERACTIVE MCP BUILDER

Wrap Claude, Cursor, or any MCP server

`fuse wrap` sits in the middle of stdio MCP traffic. It merges Fuse's built-in safety tools (`fuse_task`, `fuse_fetch`, `fuse_status`, `fuse_verify_counterparty`) and freezes upstream tools instantly if you hit the Kill Switch.

1. Pick an MCP server
Terminal Command
FUSE_PROXY_URL=https://app.fuse.rent \
FUSE_ID=YOUR_GUARD_ID \
FUSE_API_KEY=fuse_sk_YOUR_KEY \
npx fuse wrap -- npx -y @modelcontextprotocol/server-filesystem .
claude_desktop_config.json
{
  "mcpServers": {
    "fuse-filesystem": {
      "command": "npx",
      "args": [
        "fuse",
        "wrap",
        "--",
        "npx",
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "."
      ],
      "env": {
        "FUSE_PROXY_URL": "https://app.fuse.rent",
        "FUSE_ID": "YOUR_GUARD_ID",
        "FUSE_API_KEY": "fuse_sk_YOUR_KEY"
      }
    }
  }
}
04 · TASKS & SDK

Task-scoped execution & TypeScript SDK

Every declared task gets an explicit lifecycle (`PENDING → EXECUTING → SETTLED | PENDING | BLOCKED | TRIPPED | CANCELLED`). If you flip the Kill Switch, all in-flight tasks cancel automatically and every receipt stays linked to its `taskId`.

TASK LIFECYCLE
  • EXECUTINGTask starts & checks on-chain active state
  • SETTLEDFree call or verified x402 payment succeeded
  • PENDINGPaused above threshold waiting for Approve
  • BLOCKEDScope or cross-origin redirect rejected
  • TRIPPEDBudget, velocity, or scam check tripped breaker
  • CANCELLEDOperator triggered on-chain kill_fuse
FuseClient.executeTask & createFuseFetch
import { FuseClient } from 'fuse';

const fuse = new FuseClient({
  proxyUrl: 'https://app.fuse.rent',
  fuseId: 'YOUR_GUARD_ID',
  apiKey: 'fuse_sk_YOUR_KEY',
});

const result = await fuse.executeTask({
  taskId: 'task_intel_001',
  url: 'https://app.fuse.rent/api/x402/agent-intel/12802,0:1',
  method: 'GET',
});
05 · CLI & REST API EXPLORER

Interactive API reference

POST/api/proxy/task
Auth: Bearer fuse_sk_...

Runs an agent task atomically under budget, CIS-8004 firewall, and kill-switch guarantees, tagging every receipt with taskId.

Request Body
{
  "fuseId": "0x91ab...",
  "taskId": "task_research_01",
  "url": "https://app.fuse.rent/api/x402/agent-intel/12802,0:1",
  "method": "GET"
}
Sample Response
{
  "fuseOutcome": "SETTLED",
  "taskId": "task_research_01",
  "settlement": {
    "txHash": "714a5845...cdb6",
    "explorerUrl": "https://ccdexplorer.io/testnet/transaction/714a5845..."
  }
}
curl -X POST https://app.fuse.rent/api/proxy/task \
  -H "Authorization: Bearer fuse_sk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fuseId":"YOUR_FUSE_ID","taskId":"task_01","url":"https://app.fuse.rent/api/x402/agent-intel/12802,0:1"}'
06 · CONCORDIUM PROOFS & COMPLIANCE

Verified live on Concordium Testnet

Built for the Concordium ecosystem: Rust smart contract circuit breaker, CIS-8004/CIS-8 counterparty verification across 1,722+ Testnet agents, gasless sponsored `@x402/concordium` payments, and EU AI Act Article 12/14 tamper-proof audit logs.

READY TO TRY IT

Guard your first agent in 10 seconds.