Sealed
Every session starts in a fresh sandbox, underground: no network, a read-only system, no root. Its folder is wiped the moment it stops.
Qliphoth means the shells. It rents sealed sandboxes to AI agents by the second, paid in USDG on Robinhood Chain, and every session closes with a receipt the node signs.
New MCP server for agents, and Qliphoth ScanA demo agent is working in a sealed Python sandbox. Each started second costs 0.0004 USDG and grows one ring. End it, and whatever it did not use goes straight back.
Set aside the moment the session opens.
Only the seconds the command actually ran.
Charged at 0.0004 per started second.
Refunded, and a signed receipt written to disk.
An agent should be able to rent compute with no human watching. That only works if the box is sealed, the meter is honest and the bill can be checked by anyone.
Every session starts in a fresh sandbox, underground: no network, a read-only system, no root. Its folder is wiped the moment it stops.
Like a trunk keeps its years, the node keeps its seconds. You pay for the ones that started. The rest of the hold comes back.
Each session ends with a receipt the node signs: worker, seconds, price and a hash of the output. Change one digit and it stops verifying.
No sign-up, no password, no dashboard. The CLI makes a key, the key signs every request, and the chain holds the money.
On first run it creates an ed25519 key on your machine and prints its public half as your account address. Unsigned or replayed requests are refused.
$ npx qliphoth account 0xcd08…9838 home ~/.qliphoth sandbox bubblewrap /usr/bin/bwrap
Send USDG to the Qliphoth vault on Robinhood Chain with your address as beneficiary. Three confirmations later the balance is yours to spend, second by second.
vault.deposit(account, amount) → credited after 3 confirmations
The node holds your budget, starts a fresh sandbox, runs the command and meters each started second. You pay for what ran and get the rest back.
$ npx qliphoth run -- python3 -c "print(6*7)" 42 qliphoth · ses_0d3c713eff · 1 s · exit 0
Every session writes a signed receipt to your machine. Anyone holding the node key can check it offline, years later.
$ npx qliphoth verify ~/.qliphoth/receipts/ses_0d3c713eff.json ✓ valid signed by your local node
Six layers, each small enough to read in an afternoon. Pick one to see what it does and the line that exercises it.
The tree above has ten spheres; its reflection below has ten shells. Each is a limit the node enforces, not a promise in the docs. Cross one and the command stops, billed only for the seconds it ran.
Choose where it runs, which worker, how much to hold and what to execute. Paste the line into any terminal with Node 18 or newer.
Paste a receipt from qliphoth run and this page checks the ed25519 signature in your browser. Nothing is sent anywhere.
Load the sample, or paste one from ~/.qliphoth/receipts.
Same check as qliphoth verify <file>. The sample is signed with a demo node key.
The public node, as it is right now. Every closed session has a signed receipt, and this page checks the newest ones itself. Nothing here is our word for it.
Qliphoth ships an MCP server. Claude, Cursor or any MCP client gets eight tools: run code, keep a session open, send files in and out, check balance and verify receipts, with a spend cap per run.
Claude Code
Claude Desktop, Cursor and other clients
qliphoth_runOne shot: code or a command in a sealed sandbox, with input files and outputs to bring back. Returns the verified receipt.qliphoth_session_openA sandbox that stays up across calls for multi-step work.qliphoth_execRuns in an open session; /work is kept between calls.qliphoth_session_closePays the seconds, refunds the rest, returns the receipt.qliphoth_accountAccount id, balance, free trial, rate, how to fund.qliphoth_quoteThe price of a number of seconds.qliphoth_verifyChecks a receipt by session id, URL or JSON.qliphoth_receiptsThe latest receipts on this machine.Each run holds at most 0.10 USDG by default. The account is the same local key the CLI uses.
Robinhood Chain · 4663USDG · 0x5fc5…d168not deployed yetenter address above3 confirmationsDeposits pay for compute on the node and cannot be withdrawn back to your wallet. Unused session budget returns to your balance. Not an investment product.
Run it on your own machine first. Same meter, same receipts, no funds needed.
Qliphoth wraps a command in a sealed sandbox, bills it per started second in USDG, and closes with a receipt signed by the node that ran it. Everything below is what the code does today.
You need Node 18.17 or newer. The package has no dependencies.
$ npx qliphoth run -- echo hello # run once without installing $ npm install -g qliphoth # or install the command
Without --cloud the command runs on your own machine. Seconds are metered and the receipt is signed for real, but no money moves (settlement: local). Use it to see how billing works.
$ qliphoth run --budget 2.00 -- python scraper.py
✓ session opened 0x7f3a…c21e
⧗ metered 412s ████████████ 0.1648 USDG
✓ receipt signed ~/.qliphoth/receipts/0x7f3a….json
✓ settled 0.1648 USDG · refund 1.8352 USDG (local run: metered and signed, no funds moved)
Your account is the ed25519 key the CLI creates at ~/.qliphoth/node.key. There is no sign-up and no API key: every request is signed with that key.
Free trial. A new account gets 0.02 USDG of free time on its first request to the node, about 50 seconds of sandbox, once.
$ qliphoth account --cloud # your account id and balance $ qliphoth run --cloud --worker python --budget 0.05 -- python -c "print(6*7)" $ export QLIPHOTH_CLOUD=https://api.qliphoth.cloud # or set it once
Opening a session holds the budget from your balance. Stopping it pays for the seconds the sandbox was up and returns the rest. When the budget runs out the sandbox is destroyed and run exits 124.
Workers: shell (POSIX sh), python (3.12), node (24). To run several commands, wrap them in one shell: qliphoth run --worker shell -- sh -c 'cmd1; cmd2'.
Every closed session is listed on Qliphoth Scan, where its receipt is verified in your browser. The CLI and the MCP server print that link after each cloud run.
Qliphoth is also an MCP server. Add it to Claude Code, Claude Desktop, Cursor or any MCP client, and the agent rents a sandbox on its own: run code, pay by the second, get a verified receipt back, with no command typed.
$ claude mcp add qliphoth -- npx -y qliphoth mcp # Claude Code $ npx qliphoth mcp setup # JSON for Claude Desktop, Cursor and others
| Tool | What the agent gets |
|---|---|
qliphoth_run | One shot: runs code (python, node or sh) or a command in a sealed sandbox, with optional input files and outputs to bring back. Returns stdout, stderr, exit code, seconds, paid, refund and the verified receipt. |
qliphoth_session_open | A sandbox that stays up across calls for multi-step work. Billed per second while open, closed after 2 idle minutes. |
qliphoth_exec | Runs in an open session; /work is kept between calls. Takes files and outputs. |
qliphoth_session_close | Pays the seconds, refunds the rest, returns the verified receipt. |
qliphoth_account | Account id, balance, free trial, rate, workers, how to fund. |
qliphoth_quote | The price of a number of seconds. |
qliphoth_verify | Checks a receipt by session id, URL or JSON. |
qliphoth_receipts | The latest receipts on this machine. |
files places inputs in /work (text content or a local_path, 512 KB per call); outputs brings files back to ~/.qliphoth/files/<session>/, with text up to 64 KB inline. Each qliphoth_run holds at most 0.10 USDG by default (--max-budget or QLIPHOTH_MAX_BUDGET).
Payment is in USDG on Robinhood Chain (chain ID 4663), through the QliphothVault contract. The node credits your account once, after 3 confirmations.
Run qliphoth account, then open the fund page. Your wallet asks twice: approve the amount, then deposit.
usdg.approve(VAULT, 5000000) // 5 USDG (6 decimals) vault.deposit(0x5e7a…91c2, 5000000) // your account id
| Token (USDG) | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 |
| Vault | Published at launch |
| Network | Robinhood Chain · 4663 · explorer |
On the public node each session is a bubblewrap sandbox: no network, separate namespaces, a seccomp filter, a read-only system and a private /work deleted at the end.
| Limit | Value |
|---|---|
| Rate | 0.0004 USDG per started second |
| Budget | 0.0004 to 2 USDG per session; unused part refunded |
| Memory | 150 MB, hard limit (node worker: 128 MB heap) |
| CPU | 0.5 core |
| Processes · file size | 64 · 64 MB per file |
| Network | None, in or out |
| Idle | A session with no command running closes itself after 120 s |
| Command | What it does |
|---|---|
qliphoth run [--budget 2.00] [--worker name] [--cloud [url]] -- <cmd> | Runs the command, meters it by the second, stops it if the budget runs out, signs a receipt. Exits with the command's exit code (124 if the budget ran out). |
qliphoth quote <seconds> | What that many seconds cost. |
qliphoth receipts [--json] | Every receipt on this machine, newest first. |
qliphoth verify <file | session id | url> | Checks a receipt's signature. Any edit to any field breaks it. |
qliphoth account [--cloud [url]] | Your account id, and with a node, its balance and recent sessions. |
qliphoth whoami | Your key's id and public key. |
qliphoth mcp [--max-budget 0.10] | MCP server on stdio for agents; qliphoth mcp setup prints the client config. |
Billing is per started second, in USDG with 6 decimals, computed in integers so it never rounds wrong.
{
"v": 1, "mode": "cloud", "session": "0x7f3a…c21e", "worker": "python",
"seconds": 412, "rate": "0.000400 USDG/s", "budget": "2.000000 USDG",
"paid": "0.164800 USDG", "refund": "1.835200 USDG", "status": "completed",
"settlement": "ledger", "execs": [{ "cmd": "python scraper.py", "code": 0, "signal": null }],
"output": "sha256:91c7…", "node": { "id": "0x3a93…306e", "pub": "MCowBQYDK2VwAyEA…" },
"sig": "5d0a…"
}
output is the sha256 of everything the command wrote to stdout and stderr, in order.sig is an ed25519 signature over the canonical JSON of every other field (keys sorted, no whitespace).node.id is the first 20 bytes of sha256 of the node's public key, so a receipt cannot swap in another key.Scan lists every session the public node has closed, with live totals. Opening one fetches its receipt and checks the signature in your browser with WebCrypto, with a tamper test: edit the seconds or the price and the check fails. npx qliphoth verify <link> gives the same answer offline.
import qliphoth from "qliphoth";
const session = await qliphoth.open({ worker: "python", seconds: 600 });
const out = await session.exec("python main.py");
const receipt = await session.stop();
qliphoth.verifyReceipt(receipt); // { ok: true }
open takes budget (USDG) or seconds, plus rate and an onTick callback. exec takes a shell string or an array and resolves with { code, signal, stdout, stderr }.
| Endpoint | |
|---|---|
GET /v1/node | Node id, rate, limits, vault (public) |
GET /v1/stats | Sessions run, seconds metered, deposits, recent receipts (public) |
GET /v1/receipts/:session | A closed session's receipt (public) |
GET /v1/accounts/:id/deposits | Deposits credited to an account (public) |
GET /v1/account | Balance, held funds, recent sessions (signed) |
POST /v1/sessions {worker, budget} | Open a sandbox and hold the budget (signed) |
POST /v1/sessions/:id/exec {cmd} | Run a command, output streamed as NDJSON (signed) |
POST /v1/sessions/:id/stop | Close, settle, return the signed receipt (signed) |
GET /v1/sessions/:id | Status, and the receipt once closed (signed) |
Signed requests carry x-qliphoth-key (spki, base64), x-qliphoth-ts (ms), x-qliphoth-nonce and x-qliphoth-sig: an ed25519 signature over METHOD\nPATH\nTS\nNONCE\nsha256(body). Requests older than 60 seconds or with a reused nonce are refused.
A node needs a Linux server of its own: strangers' code runs on it. Do not use a machine that hosts anything else.
$ sudo DOMAIN=api.example.com bash deploy/install.sh $ sudo -u qliphoth QLIPHOTH_DATA=/var/lib/qliphoth node /opt/qliphoth/server/main.js credit 0x… 5.00
Settings are environment variables in deploy/qliphoth.service: QLIPHOTH_RATE, QLIPHOTH_RUNNER (bwrap or docker), QLIPHOTH_MEMORY, QLIPHOTH_CPUS, QLIPHOTH_MAX_SESSIONS, QLIPHOTH_MAX_PER_ACCOUNT, QLIPHOTH_IDLE, QLIPHOTH_MAX_BUDGET, QLIPHOTH_TRIAL. The ledger is SQLite; if the node restarts with sessions open, it removes their sandboxes and refunds them in full.
QliphothVault takes USDG for an account id and emits one event the node watches.
constructor(IERC20 token, address owner) deposit(bytes20 account, uint256 amount) // approve first event Deposit(bytes20 indexed account, address indexed from, uint256 amount) withdraw(address to, uint256 amount) // owner only setOwner(address next) // owner only
Your Qliphoth account is the key on your machine. Pay into it from any wallet on Robinhood Chain; the node credits it once the deposit is confirmed.
qliphoth account, or let the CLI open this page with it filled in.qliphoth account --cloud. Sessions draw from it by the second.Deposits pay for compute on the node and cannot be withdrawn back to your wallet. Unused session budget returns to your balance. USDG is not an investment here.
Robinhood Chain · chain ID 4663Published at launchdeposit(bytes20 account, uint256 amount)6 · 1 USDG = 1000000Every sandbox session the node has closed, with the receipt it signed. Open one and your browser checks the signature itself, so you do not have to take our word for it.
| Closed | Session | Worker | Seconds | Paid |
|---|
No sessions yet.
npx qliphoth verify <link> on your machine.Edit the seconds or the price below, then check again: the signature no longer matches.
Select a row, or paste a session id, to open its receipt.