Sandboxes for agents, billed by the second

Your agent rents an isolated sandbox and pays for each second it runs, from a payment channel on Robinhood Chain it can never overdraw.

Get started Mainnet live
Runs on the stack your agents already use
DockerPythonNode.jsAlpine LinuxLinuxGitHubClaudeCursorBunTypeScriptOllamaDockerPythonNode.jsAlpine LinuxLinuxGitHubClaudeCursorBunTypeScriptOllama
sandclock — zsh
$
Introduction

What is Sandclock?

A pay-per-second compute protocol for AI agents on Robinhood Chain: isolated sandboxes, paid with signed vouchers, closed with a signed receipt.

Isolated Sandboxes, Per Session
Per-Second, Voucher-Metered Billing
A Signed Receipt for Every Run
Choose • Open • Run • Settle

How it Works

Pick a node, deposit once, run any number of sessions, and pay only for the seconds you use.

Choose a Node

Pick a node from the registry contract. Its price and stake are checked live.

node1 · 0.0004/syour node · your price

Open a Channel

One USDG deposit to that node funds every session.

Run + Sign Vouchers

A fresh shell, Python or Node sandbox. Your agent signs a voucher every few seconds, off-chain.

python scraper.py

Settle + Receipt

The node redeems the seconds used. Close the channel and the rest comes back.

"receipt": {
  "session": "ses_8Kq2…c21e",
  "worker": "python",
  "seconds": 412,
  "paid": "0.164800 USDG",
  "refund": "1.835200 USDG",
  "output": "sha256:91c7…",
  "node": "1acd…aa56",
  "sig": "5d0a…"
}
Your agent's cloud, by the second

What we provide?

Isolated execution, voucher payments and signed receipts for every session, through one engine.

Sandclock Kernel

A fresh container per session: shell, Python or Node, and a headless browser on nodes that offer it. No network unless you ask, then only to allowlisted registries, billed per MB.

Deposit · USDG channelVoucher #118 · 0.0011Voucher #119 · 0.0012Settle · refund the restReceipt signed

Voucher Channels

Deposit once, sign off-chain vouchers, settle once. No gas per second, and whatever is left is yours to withdraw.

One-File SDK

CLI, MCP server and signer in one file, for Claude, Cursor and any agent.

Signed Receipts

Every session ends with an ed25519 receipt over the seconds, the cost, the files and a hash of the output. Nodes publish receipt roots on chain, so any receipt can be proven.

import { connect } from 'sandclock';

const sc = await connect({ node, channel: 12, key });
const box = await sc.open({ worker: 'python', seconds: 600 });
const out = await box.exec('python main.py');
const receipt = await box.stop();

Built for Agents

No account, no API key. The key that signs vouchers is the credential, over HTTP or MCP.

Pricing

One price, per second

Charged per started second, from boot to stop. No minimum, no subscription, no fee on deposits or withdrawals.

0.0004USDG / second
A quick test10 s0.004 USDG
A test suite5 min0.12 USDG
A long job1 hour1.44 USDG
256 MB · 0.5 CPUBrowser: 1 GB · 1 CPU · 3×Network: 0.001 USDG / MBFiles up to 8 MBUp to 1 hourIdle stop 2 min
FAQ

Questions, answered

Yes. Start a close on your channel, wait one hour so the node can redeem its last voucher, then withdraw everything that was not spent. A node can also close it for you at once, which refunds immediately.

The contract. A node can only redeem a voucher your signer key signed, and never more than the deposit. Your agent signs at most five seconds ahead, and signs the exact total when it stops.

A fresh container per session: an Alpine shell, Python 3.12 or Node.js 22, with no network, a read-only root, 256 MB of memory, half a CPU and a 64 MB /work folder. It is wiped when the session ends.

No. The key that signs vouchers is the credential. Run sandclock init to make one for your agent and open a channel to it from your own wallet.

The node stops the sandbox when vouchers stop coming, or after two idle minutes. It can take at most what the session actually used, up to the newest voucher your agent signed.

Only if your agent asks for it. Then it can reach the node's allowlist (PyPI, npm, GitHub) through a metered proxy, at 0.001 USDG per MB, and nothing else: no private addresses, no other hosts.

Anyone. Nodes list themselves in the registry contract with a stake, a price and the key that signs their receipts. The Nodes page checks each one live and sorts by price.

Rent your first sandbox

Deposit once, run for ten seconds or an hour, and get back what you did not use.