docs

// the cli is the surface; here's the cookbook

[ install ]

curl -fsSL https://c0mpute.com/install.sh | sh

Drops three binaries into ~/.c0mpute/bin: c0mpute, coinpay, infernet. Self-upgrades on its own schedule.

Variants:

# c0mpute only (no coinpay, no infernet)
curl -fsSL https://c0mpute.com/install.sh | sh -s -- --minimal

# Worker box: also installs Docker + FFmpeg readiness checks
curl -fsSL https://c0mpute.com/install.sh | sh -s -- --worker

# Reinstall over an existing install
curl -fsSL https://c0mpute.com/install.sh | sh -s -- --force

[ identity & wallet ]

Every actor on the network has a CoinPay DID. Sign in to coinpay; c0mpute worker register then sets up the DID automatically (uses your existing one or creates it).

c0mpute coinpay login                       # sign in (links your payable DID)
c0mpute coinpay reputation did setup        # use existing DID or create one
c0mpute coinpay reputation did me           # show active DID + key fingerprint
c0mpute coinpay wallet status               # linked addresses + balances

[ sign in with CoinPay ]

One c0mpute account works everywhere: the site and the installed app, chat, your node dashboard and fleet, the CLI and TUI, the API and MCP. Sign in at /signin with CoinPay (OAuth 2.1 with PKCE; your CoinPay DID becomes your identity and payouts go to your CoinPay wallet) or a passkey. Passwords exist but are deprecated and will be removed. Add or remove methods, connect CoinPay and make API keys on /account.

c0mpute login        # device sign-in: approve the code in your browser (any sign-in method)
c0mpute whoami       # the account, CoinPay DID and linked nodes
c0mpute logout       # forget this machine's key (~/.c0mpute/chat.json, mode 0600)
c0mpute chat login   # the same thing, kept for scripts that use it

API and MCP take Authorization: Bearer c0k_... (a key from c0mpute login or the account page). MCP clients (Claude, ChatGPT) can instead connect to https://c0mpute.com/api/mcp and sign in through OAuth; tools include whoami, list_my_nodes, my_earnings, fleet_list, fleet_action, fleet_earnings, fleet_alerts_get, fleet_alerts_set and link_node.

curl -H "authorization: Bearer $C0MPUTE_API_KEY" https://c0mpute.com/api/v1/me?nodes=1
curl -H "authorization: Bearer $C0MPUTE_API_KEY" https://c0mpute.com/api/v1/account

[ manage a fleet ]

The same fleet from every surface: /dashboard/nodes (and the installed app), the TUI, the CLI, the API (GET /api/v1/fleet, POST /api/v1/fleet/actions) and MCP. Actions take one node, a selection, a tag or --all. pause, resume, update and restart are queued and signed by c0mpute.com; the node fetches them on its next poll (about a minute), checks the signature against the key it pinned when it linked, and reports back. Everything lands in the audit log.

c0mpute fleet ls [--tag rack-a] [--json]
c0mpute fleet show <node>
c0mpute fleet pause|resume|update|restart <node...> | --tag rack-a | --all
c0mpute fleet tag <node...> --set vast,home  c0mpute fleet untag <node...> --set home
c0mpute fleet rename <node> "den 3060"       c0mpute fleet unlink <node...>
c0mpute fleet earnings [--json]              c0mpute fleet audit
c0mpute fleet token create|ls|revoke

Node settings are signed commands too. The node writes them to fleet-settings.json in its config dir (never to your config.toml), and reports its new state on the next poll, so the fleet view shows what each node really serves. Models and the house/uncensored switches take effect at once; hosting and storage restart the worker after its running jobs finish. A command-line --no-storage / --no-hosting on the node still wins. default hands a setting back to the node's own config.

c0mpute fleet models <node...|--tag T|--all> --set qwen3:4b,llama3:8b   # serve only these (--clear: all)
c0mpute fleet house-models on|off|default <node...|--tag T|--all>
c0mpute fleet uncensored on|off|default <node...|--tag T|--all>
c0mpute fleet hosting on|off|default <node...|--tag T|--all>
c0mpute fleet storage on|off|default <node...|--tag T|--all>
# API: POST /api/v1/fleet/actions {"action":"hosting","tag":"rack-a","args":{"on":false}}
#      {"action":"models","nodes":["AbCd1234"],"args":{"models":["qwen3:4b"]}}

[ fleet alerts ]

Email when a node goes offline (default after 15 minutes), the fleet's earnings drop (the last 24 hours against the trailing 7-day daily average, default 50% down), an update fails, or a disk runs low (default under 10 GB or 5% free). One email when it starts and one when it is fixed; a node that flaps inside the cooldown (default 60 minutes) does not send more. The address is confirmed by a link first. Set it on your account, or:

c0mpute fleet alerts set --email [email protected] --offline-minutes 15 --disk-min-gb 20 --off earnings
c0mpute fleet alerts get [--json]
c0mpute fleet alerts test
# API: GET|PUT /api/v1/fleet/alerts, POST {"test":true}   MCP: fleet_alerts_get, fleet_alerts_set

[ run a worker ]

Register, then start. --gpu opts into transcode + inference roles; storage / gateway roles run on any box.

c0mpute worker register
c0mpute worker start \
  --roles storage,transcode,gateway,verifier \
  --storage 500GB \
  --gpu

# Inspect status / restart / stop
c0mpute worker status
c0mpute worker stop

[ troubleshooting: one identity, two workers ]

A node is its identity (~/.config/c0mpute/identity.key). Two processes running one identity bid under one peer id with different keys, and the one the buyer did not pick used to fail the job. Typical causes: a system unit (/etc/systemd/system, User=you) next to your user unit, or an identity dir copied to a second machine.

What c0mpute does about it now:

  • Same machine: the newest worker start wins. The running worker stops bidding, finishes its jobs (up to 10 min) and exits with code 90; one that does not answer gets SIGTERM, then SIGKILL, after its pid, start time and binary are re-checked.
  • Every unit c0mpute installs has RestartPreventExitStatus=90 91, so systemd does not restart the replaced worker. Older units get a drop-in from the running worker (your own user units; system units only as root, otherwise the log prints the sudo command). The new worker disables the replaced unit when it may.
  • Two machines: buyers keep the newer process's bid and name its instance on the accept. The other one answers "not mine", the buyer re-awards the job to the next bidder at once (no failed job, no bench), and the older twin stops bidding while the newer one runs. /nodes marks the node duplicate identity.
c0mpute doctor          # every worker process, unit and identity lock here:
                        # duplicates, stale locks, wedged workers, old binaries
c0mpute doctor --fix    # disable the extra unit (prints sudo for system units)
c0mpute worker install  # one user unit; refuses if another unit runs a worker

# Remove a duplicate system unit by hand:
sudo systemctl disable --now c0mpute-worker.service

# A copied identity: give the copy its own identity before starting it
rm ~/.config/c0mpute/identity.key && c0mpute worker start

Exit codes: 90 replaced by a newer start, 91 a duplicate that stood down. Neither is a crash.

[ networking & firewall ]

To be dialable by other nodes — required for a bootstrap seed, recommended for a worker so it can receive jobs — open your libp2p p2p port. Pin it with C0MPUTE_P2P_PORT=<port> (otherwise a random port is used); 46337 is the convention. If your host has a cloud firewall (DigitalOcean, AWS SG, GCP), open the port there and in the host firewall — a cloud firewall drops traffic before ufw ever sees it.

# host firewall (ufw)
sudo ufw allow 46337/tcp

# DigitalOcean cloud firewall (doctl)
doctl compute firewall add-rules <firewall-id> \
  --inbound-rules "protocol:tcp,ports:46337,address:0.0.0.0/0,address:::/0"

# Railway: no host firewall — add a TCP Proxy (Settings -> Networking),
# or (per DIP-0010) run the seed on a droplet with a stable public IP.

# verify from OUTSIDE the box (not localhost):
#   https://check-host.net/check-tcp?host=<public-ip>:46337

[ submit a transcode job ]

The transcode plugin handles FFmpeg workloads — H.264 / HEVC / AV1 with hardware acceleration where available. Validation is done via ffprobe + (optionally) VMAF.

# 1080p H.264 four-rendition HLS bundle
c0mpute transcode submit input.mov \
  --preset hls \
  --max-price 1.25

# AV1 4K transcode capped at $5
c0mpute transcode submit input.mp4 \
  --preset video-4k \
  --max-price 5.00

# List available presets
c0mpute transcode preset list

Job manifest schema (sent to workers, signed by your DID):

{
  "version": "0.1",
  "network": "c0mpute",
  "type": "ffmpeg.transcode",
  "buyer": "did:coinpay:buyer:abc",
  "input": {
    "uri": "https://your-storage/input.mov",
    "sha256": "sha256:..."
  },
  "runtime": {
    "image": "ghcr.io/c0mpute/ffmpeg-runner@sha256:...",
    "command": ["transcode", "--preset", "hls"]
  },
  "output": {
    "format": "hls",
    "requirements": {
      "videoCodec": "h264",
      "audioCodec": "aac",
      "maxWidth": 1920,
      "maxHeight": 1080
    }
  },
  "payment": { "escrow": "coinpay", "maxPriceUsd": 1.25 },
  "validation": {
    "mode": "ffprobe",
    "checks": ["duration", "codec", "resolution", "bitrate"]
  }
}

[ run AI inference ]

The infernet plugin runs LLM and other ML inference on c0mpute workers' GPUs. Validation uses output-schema checks + spot-check duplicate execution.

# Run a prompt on the network (stdin works too)
c0mpute infernet chat --model huihui_ai/qwen3.5-abliterated:4b "summarise this"
cat prompt.txt | c0mpute infernet chat --model huihui_ai/qwen3.5-abliterated:4b

# How many live nodes serve each model
c0mpute pool
c0mpute pool qwen

# The models one node advertises (node_id or row id)
c0mpute infernet model list --node <id>

# Models pulled on this machine
c0mpute infernet model list

# Hardware-aware model picks for writing, research, or coding
c0mpute infernet model recommend --use-case marketing
c0mpute infernet model recommend --use-case research
c0mpute infernet model recommend --use-case coding

[ chat API (OpenAI-compatible) ]

Base URL https://c0mpute.com/v1 with an API key (c0k_...) from the chat's keys tab: POST /v1/chat/completions and GET /v1/models. Any OpenAI SDK works. Honored: model (a model id, or auto, auto:fast, auto:standard, auto:high, auto:max for the router), messages (string content or text content parts; image parts get a 400, no vision model serves the API yet), stream, temperature, max_tokens (up to 8192), response_format (json_object / json_schema, as an instruction to the model) and the tool-calling fields below.

Tool calling. tools (type function), tool_choice (auto, none, required or a named function), parallel_tool_calls, assistant messages with tool_calls and role: "tool" results with tool_call_id. Replies carry choices[0].message.tool_calls (ids, arguments as a JSON string) and finish_reason: "tool_calls"; streamed, they arrive as delta.tool_calls chunks, and stream_options.include_usage adds a usage chunk (token counts are estimated at about 4 characters a token). Works with the OpenAI SDKs, LangChain bindTools, the Vercel AI SDK, n8n's AI Agent, LiteLLM and opencode.

Tool-capable models: qwen3:4b, nemotron-3-nano:4b, qwen2.5-coder:7b (tested on a node), and the same families at other sizes: qwen3*, qwen3-coder, qwen2.5-coder:14b, qwen3.5 builds, devstral, llama3.1+, mistral-nemo. With auto a request with tools goes to the best tool-capable model online and moves to the next one if a node is busy. A request with tools for any other model is refused with a 400 naming the ones that work, so tools are never dropped silently. Every model uses the <tool_call> format the Qwen and Hermes families are trained on (what Ollama's own templates render), translated to and from OpenAI fields at c0mpute.com, so every node version serves tool requests. Each call is one ordinary chat job, billed the same as a chat turn; a reply with an unreadable tool call gets one repair retry.

# 1. Offer a tool; the model asks for it
curl -sS https://c0mpute.com/v1/chat/completions \
  -H "Authorization: Bearer $C0MPUTE_KEY" -H "Content-Type: application/json" \
  -d '{"model": "auto",
       "messages": [{"role": "user", "content": "What is the weather in Paris?"}],
       "tools": [{"type": "function", "function": {
         "name": "get_weather", "description": "Current weather for a city",
         "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}]}'
# -> choices[0].finish_reason = "tool_calls"
#    choices[0].message.tool_calls = [{"id": "call_abc...", "type": "function",
#      "function": {"name": "get_weather", "arguments": "{\"city\":\"Paris\"}"}}]

# 2. Run the tool yourself, send the result back with the same id
curl -sS https://c0mpute.com/v1/chat/completions \
  -H "Authorization: Bearer $C0MPUTE_KEY" -H "Content-Type: application/json" \
  -d '{"model": "auto",
       "messages": [
         {"role": "user", "content": "What is the weather in Paris?"},
         {"role": "assistant", "content": null, "tool_calls": [{"id": "call_abc", "type": "function",
           "function": {"name": "get_weather", "arguments": "{\"city\":\"Paris\"}"}}]},
         {"role": "tool", "tool_call_id": "call_abc", "content": "{\"temp_c\": 17, \"conditions\": \"light rain\"}"}],
       "tools": [{"type": "function", "function": {
         "name": "get_weather", "description": "Current weather for a city",
         "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}]}'
# -> choices[0].message.content = "It is 17 C with light rain in Paris."

[ private house lane ]

On the open network the node that wins a job decrypts and runs the prompt, so its operator could read it. For prompts that must not leave our hands (health records, finances), send x-c0mpute-lane: house (or "c0mpute": { "lane": "house" } in the body). The request then runs only on a node Profullstack operates, through an Infernet house-lane reservation; never on a third-party node, never on the free tier, never on a fallback.

It is paid only: each answer is billed to your compute balance at the normal per-token price, and with no balance you get 402 balance_required (top up at /checkout). If the house node is down you get 503 house_lane_unavailable and nothing else runs it. Plain chat only (no tools, plugins or stored runs); model is ignored. Answers carry x-c0mpute-lane: house and x_c0mpute.charged_usd.

Who sees what: the app that sent the prompt; c0mpute.com and Infernet in memory while relaying (not logged); Infernet holds it encrypted in its job queue only while the job runs, then deletes the prompt, the answer and the token stream (it keeps model, node, timestamps, token counts and the charge); and the house node that runs the model. No other operator. Apps can act for you with an OAuth key of scope inference (chat billed to your balance, and reading that balance; nothing else), revocable with POST /api/oauth/revoke.

curl https://c0mpute.com/v1/chat/completions \
  -H "Authorization: Bearer $C0MPUTE_KEY" -H "x-c0mpute-lane: house" \
  -H "content-type: application/json" \
  -d '{"messages":[{"role":"user","content":"Explain HbA1c 6.1% in plain words."}],"max_tokens":300}'

[ chat commands ]

In c0mpute.com/chat (and c0mpute chat / c0mpute tui) a line that starts with / is a command, never a message to the model; an unknown one answers with this list. /video <prompt> (also /clip, /vid) starts a clip through the API below and shows a card with its stage, place in line and ETA until the MP4 plays inline; it keeps polling across a page reload. In 18+ mode it asks for an adult clip, which renders blurred until clicked.

/image <prompt> [--model chatrxl-uncensored]                                                draw a picture on a c0mpute CPU worker (~2 min; Z-Image-Turbo, or ChatrXL Uncensored)
/video <prompt> [--seconds 5-60] [--vertical] [--model wan2.1-t2v-1.3b|chatrxl-uncensored]  a 30 s video by default (Wan 2.2 5B on GPU: planned 5 s shots of the same subjects, cut together; --seconds or 'a 15 second video' sets the length, --vertical is 9:16; wan2.1-t2v-1.3b = quick 2 s CPU draft; chatrxl-uncensored = ChatrXL first frame animated by Wan 2.2; also /clip, /vid)
/porn <prompt> [--seconds 5-60] [--vertical]                                                an 18+ clip (verified account with 18+ mode on; same 30 s Wan 2.2 shots as /video; also /nsfw). /video is always a general clip
/music <style>                                                                              a song (ACE-Step 1.5); a line "lyrics:" then the words adds vocals
/album <idea>                                                                               a band, 8 named songs with lyrics, cover art and a zip
/promo <url> [pixar|anime|claymation|flat] [vertical]                                       a promo video with narration and music
/push hosting <name> | ls | rm <name>                                                       publish this chat's files as a site on the c0mpute network
/connect hosting [node]                                                                     link or pick the node that publishes your sites
/plugin add <url|name> | ls | on|off|rm | key | rename <name>                               give the model tools from any remote MCP server (chat plugins)
/analyze <question>                                                                         Answer a data question, from a quick lookup to a full analysis or a formal report.
/board <decision>                                                                           Put a decision to the five-advisor board (Board as a Service) with your real figures.
/cashflow [period, account or question]                                                     Cash in, cash out, net burn and the trend, by month.
/forecast [months, growth or scenario]                                                      A simple 3 to 6 month cash and revenue projection with stated assumptions.
/pnl [period, e.g. last month or Q3]                                                        Profit and loss for a period, with the change against the prior period.
/runway [cash, burn or scenario]                                                            Months of runway from cash and burn, with best, base and worst cases.
/spend [period or category]                                                                 Where the money goes: top vendors and categories, and anything unusual.
/help                                                                                       this list

[ prompt commands: /analyze and the finance pack ]

Some commands are prompts, defined as markdown files in the repo's commands/ directory (frontmatter name, description, argument-hint). They do go to the model: the server expands /analyze <question> into the command's instructions (added to the system turn) plus your question, then runs a normal turn with your chat plugins as tools. The expansion happens on the server, so it works the same in the web chat (type / for the list), c0mpute chat "/analyze ...", the TUI, POST /v1/chat/completions and the MCP chat tool. The list is public at GET /api/v1/chat/commands. /cashflow, /runway, /pnl, /spend, /forecast and /board are the Agentic Advisor: Finance pack: they read your Mercury, CoinPay or QuickBooks plugin, or a pasted CSV, validate the numbers and end with "Analysis, not financial, tax or legal advice." To add a command, add one file to commands/ and run bun scripts/gen-chat-commands.ts.

[ generate video (API) ]

POST /api/v1/videos renders a clip on c0mpute workers: by default 30 seconds on Wan 2.2 5B, planned as 5 second shots of the same subjects and cut together (seconds 5 to 60, or a length in the prompt; vertical: true for 9:16; model: "wan2.1-t2v-1.3b" is a quick 2 second CPU draft). The network queues each shot for up to 2 hours. Authenticate with an API key from the chat's keys tab. It answers 202 with a status URL; send Prefer: wait=N (up to 7200 seconds) to get the MP4 in the same response when it finishes within N seconds, else the same 202. Billed per shot to your compute balance, or one free daily query.

# An API key (c0k_...) from the chat's keys tab
export C0MPUTE_KEY=...

# Start a clip and hold the request until it is ready (up to 2 h)
curl -sS https://c0mpute.com/api/v1/videos   -H "Authorization: Bearer $C0MPUTE_KEY"   -H "Content-Type: application/json"   -H "Prefer: wait=7200"   -d '{"prompt": "YOUR PROMPT HERE"}'   -o clip.mp4 -w '%{http_code}
'

# Or start it and poll
curl -sS https://c0mpute.com/api/v1/videos -H "Authorization: Bearer $C0MPUTE_KEY"   -H "Content-Type: application/json" -d '{"prompt": "YOUR PROMPT HERE"}'
# -> 202 {"id":"<id>","status":"pending","poll":"/api/v1/videos/<id>","video":"/api/v1/videos/<id>/video"}
curl -sS https://c0mpute.com/api/v1/videos/<id> -H "Authorization: Bearer $C0MPUTE_KEY"
curl -sS https://c0mpute.com/api/v1/videos/<id>/video -H "Authorization: Bearer $C0MPUTE_KEY" -o clip.mp4

Body: prompt (required), model (wan2.1-t2v-1.3b default, or wan2.2-ti2v-5b on GPU nodes), negative_prompt, seed, adult. Text to video only. If a 202 comes back before N seconds have passed, the hold was cut short by a proxy: keep polling the status URL. Every request passes the content policy (see terms): sexual content involving minors or real, identifiable people is always refused, and adult: true needs an account with the 18+ attestation and a paid balance.

[ temporal policies ]

Train and serve small liquid neural networks (CfC, LTC) and GRU baselines that predict the next UI action, on workers you trust. Full guide: c0mpute.com/temporal.

c0mpute infernet temporal serve --train
c0mpute infernet temporal train --dataset bundle.json --output ./model --family cfc --baseline gru --worker <peer-id> --yes
c0mpute infernet temporal predict --session s1 --model sha256:<hash> --input step.json

[ reserve a node ]

Infernet managed endpoints reserve one identified GPU operator with an exact set of models, by the hour. You get your own API keys, rate limits and usage reports, and pay only for hours that pass the uptime checks. Every infernet reservation command works through c0mpute infernet.

c0mpute infernet reservation pricing        # price list by GPU class
c0mpute infernet reservation create --name N --operator O --models m1,m2
c0mpute infernet reservation key-issue <id> --label customer-a
c0mpute infernet reservation report <id>
c0mpute infernet reservation --help

[ autoscale rented nodes ]

Opt-in, for GPU nodes you rent by the hour (Vast.ai, SaladCloud, ...). c0mpute autoscale stops the rented instance when the network has no work for it and starts it again as soon as jobs for its models are waiting. A box you own saves nothing by stopping, so leave those out.

Run it on any always-on machine you own (a home server, a fixed node), never on the rented box itself: it has to be awake to start the box again. Your cloud provider's API key stays on that machine, in a file or an environment variable. c0mpute.com never sees it: the CLI only reports the node's state to your dashboard with your C0MPUTE_API_KEY.

c0mpute autoscale init        # writes ~/.config/c0mpute/autoscale.toml (0600)
c0mpute autoscale once        # one decision per node, then exit
c0mpute autoscale run         # keep deciding (every minute)
c0mpute autoscale status      # each node: state, idle time, demand, saved
report = true            # send state to your c0mpute.com dashboard (needs C0MPUTE_API_KEY)

[[node]]
name = "vast-3060"
provider = "vast"         # vast | salad | thunder (thunder: status only, no native stop)
instance = "61205210"
node = "sdNT3kCN"         # board id or peer id
models = ["eriktonon/qwen3.8-uncensored:9b"]
api_key_file = "~/.config/c0mpute/vast.key"
idle_minutes = 20
min_run_minutes = 15
boot_timeout_minutes = 8
# busy_cmd = "~/bin/gpu-busy.sh"   # optional: exit 1 = idle; exit 0 or any failure = busy (never stop)
# pre_stop_cmd = "~/bin/stop-worker.sh"   # optional: run right before a stop
# dry_run = true          # watch only: log what it would do, never start/stop/rent

# [node.replace]          # vast only: rent a replacement if a start never comes up
# max_usd_per_hour = 0.12
# gpus = ["RTX 3060", "RTX 3070", "RTX 4060 Ti"]
# min_gpu_ram_gb = 12
# min_reliability = 0.98
# disk_gb = 60
# image = "nvidia/cuda:12.4.1-runtime-ubuntu22.04"
# onstart_file = "~/.config/c0mpute/vast-onstart.sh"
# identity_file = "~/.config/c0mpute/node-identity.key"   # keep the node id: sent as $C0MPUTE_IDENTITY_KEY_B64, your onstart writes it

Stop when all of these hold: the node has had no job for idle_minutes, nothing is in flight on it, the network has no waiting or recent demand for its models, busy_cmd (if set) says idle, and it has run at least min_run_minutes since it was started. Start at once when the network has offers for its models (waiting, or in the last 2 minutes) or recent demand nobody served. The demand comes from the status aggregators (GET /api/v1/autoscale/signal?node=<id>&models=a,b), which watch every job offer on the network.

Providers: on Vast.ai a stopped instance still bills its disk, and its GPU can go to another renter while it is stopped, so a start can fail; set [node.replace] and the CLI rents a matching offer under your price cap after boot_timeout_minutes and destroys the old instance only once the new one serves. SaladCloud container groups are stopped and started. Thunder Compute has no native stop (only snapshot and delete), so it is status only for now.

# ~/.config/systemd/user/c0mpute-autoscale.service
[Unit]
Description=c0mpute autoscale: stop idle rented nodes, start them on demand
After=network-online.target

[Service]
EnvironmentFile=-%h/.config/c0mpute/autoscale.env   # C0MPUTE_API_KEY=... (0600)
ExecStart=%h/.c0mpute/bin/c0mpute autoscale run
Restart=always
RestartSec=30

[Install]
WantedBy=default.target

# then: systemctl --user enable --now c0mpute-autoscale
#       loginctl enable-linger $USER     # keep it running after you log out

The dashboard shows each autoscaled node's state (running, stopped, starting, ...), its last change and why, and what stopping it has saved. Full reference: docs/autoscale.md.

[ distributed scraping ]

crawl.fetch fetches one public page from a worker's own connection: a static GET (no JavaScript), robots.txt honoured, public addresses only (re-checked on every redirect), 1 MiB per page, 15 s default and 30 s maximum. Every worker takes crawl jobs by default, up to 8 at once. Send one job per URL through the jobs bridge and each URL gets its own auction, so a list of pages spreads over the network's workers and their IPs.

# one page, no bridge
c0mpute crawl fetch https://example.com/ --max-price 0.01
c0mpute crawl fetch https://mysite.example/ --ignore-robots   # only a site you own

# many pages: start a buyer bridge (runs up to 32 jobs at once)
export C0MPUTE_JOBS_TOKEN=$(openssl rand -hex 24)
c0mpute jobs serve --listen 127.0.0.1:8788 --max-price 0.01

# one request per URL
curl -s http://127.0.0.1:8788/v1/jobs \
  -H "Authorization: Bearer $C0MPUTE_JOBS_TOKEN" \
  -d '{"workload": "crawl.fetch",
       "spec": {"v": 1, "url": "https://example.com/",
                "headers": {"accept-language": "en"}, "timeout_ms": 20000},
       "max_price": 0.005, "timeout_ms": 60000}'
# {"job_id":"…","worker":"12D3KooW…","price":0.0,"output_hash":"…",
#  "result":{"v":1,"ok":true,"duration_ms":412,
#            "output":{"url":"https://example.com/","status":200,"headers":{…},"body":"<!doctype html>…"}}}

# fan a list out, 8 in flight
grep -v '^#' urls.txt | xargs -P 8 -I{} curl -s http://127.0.0.1:8788/v1/jobs \
  -H "Authorization: Bearer $C0MPUTE_JOBS_TOKEN" \
  -d '{"workload":"crawl.fetch","spec":{"v":1,"url":"{}"}}' \
  | jq -c '{url: .result.output.url, worker, status: .result.output.status}'

Request: workload, spec (v, url, optional headers, timeout_ms, ignore_robots), optional max_price (may only lower the bridge's --max-price), allow_peers and timeout_ms for the whole job (1 s to 300 s). A refused or failed fetch answers 200 with "ok": false and an error. Bridge errors are {"error": "<code>", "detail": "…"}: 401 unauthorized, 503 no_bids, 502 worker_failed, 504 timeout; a retry is a fresh auction. The worker sees the URL and headers, so keep secrets out or pin trusted workers with allow_peers. Runnable script: examples/distributed-scraper.

[ track jobs ]

c0mpute job status <job-id>          # one-shot status
c0mpute job logs <job-id> --follow   # tail logs
c0mpute job cancel <job-id>          # cancel queued/running
c0mpute tui                          # terminal app: chat, jobs, node, network

[ inspect trust / reputation ]

Every worker, validator, buyer, and org has badges anchored to their DID. No opaque trust score; surface the metrics.

c0mpute coinpay reputation inspect did:coinpay:worker:def456

Sample output:

did: did:coinpay:worker:def456
  431 completed jobs
  98.7% validation success
  $500 staked
  KYC verified (optional)
  H100 attested (optional)
  No slashing events in 90 days

[ install third-party plugins ]

# Install a first-party plugin by id (from the signed release archive)
c0mpute plugin install my-plugin

# Install a third-party plugin from its install.sh (not verified by c0mpute)
c0mpute plugin install --unverified https://example.com/my-plugin/install.sh

# List installed
c0mpute plugin list

# Disable / re-enable / remove
c0mpute plugin disable my-plugin
c0mpute plugin enable my-plugin
c0mpute plugin uninstall my-plugin

Browse what's available at /plugins.

[ self-check ]

c0mpute doctor walks the full stack — binary presence, FFmpeg, Docker, GPU drivers, disk, clock drift, coordinator reach, and the known-issues feed.

c0mpute doctor                         # full report
c0mpute doctor --fix                   # auto-apply known remediations
c0mpute doctor --report                # send anonymized telemetry

[ benchmark ]

c0mpute bench measures the machine it runs on: recursive fibonacci, a dense matrix multiply and blake3 hashing, each at 1, 2, 4, … N threads. The report is saved as bench.json in the data dir with the same metadata + resultslayout as fleetcode's runtime-benchmarks, and reduced to one score: 1000 means one reference core on every workload, so an 8-vCPU cloud box lands near 7 000 and a 16-core desktop near 20 000.

The worker reads the score at start and publishes it as bench_score in its capability ad, so buyers and the network status page see measured capacity. The benchmark board shows CPU, cores, RAM and per-workload throughput for online nodes. Quick runs are for a sanity check and are never advertised.

c0mpute bench                          # full run, saves + prints the table
c0mpute bench --quick                  # ~1s smoke run, not advertised
c0mpute bench --json                   # the report as JSON
c0mpute bench show                     # last saved report
c0mpute bench --threads 1,8,32         # your own thread ladder

[ scallion network / vpn (experimental) ]

Scallion Network is the privacy routing layer: three-hop circuits with two client modes, native and OpenVPN Connect. It is a foundation, not a working VPN: neither mode carries traffic yet, and these commands only report what is missing. They start no tunnel, open no listener and change no routes.

c0mpute scallion modes                         # both modes: ready or the blockers
c0mpute scallion modes --json
c0mpute scallion doctor --mode native          # one mode (default: native)
c0mpute scallion doctor --mode openvpn --json

What works today is independent bootstrap: a node joins without an HTTPS check-in to c0mpute.com, and community mode dials only peers you choose (it never falls back to our seeds). A seed you dial still sees your IP address.

C0MPUTE_BOOTSTRAP_MODE=public|community|offline   # default: public
C0MPUTE_BOOTSTRAP_PEERS='/dns4/<host>/tcp/4001/p2p/<full-peer-id>'
C0MPUTE_BOOTSTRAP_FILE=~/.config/c0mpute/scallion-peers.txt   # one multiaddr per line
C0MPUTE_BOOTSTRAP_URL=https://<host>/bootstrap.json           # opt in to a directory
C0MPUTE_BOOTSTRAP_FETCH=1                                     # the old c0mpute.com fetch

[ ai agents / webmcp ]

c0mpute.com speaks WebMCP — a browser AI agent visiting the site can call its tools directly instead of scraping the page. Tools register on document.modelContext and are a no-op in browsers that don't implement the (draft) spec.

Tools exposed on every page:

  • c0mpute_list_plugins — the plugin catalogue with install commands (also at /api/plugins)
  • c0mpute_network_status — live workers, jobs in flight, 24h throughput, latency (also at /api/status)
  • c0mpute_latest_release — CLI release manifest & per-platform artifacts
  • c0mpute_install_command — install command for the CLI or a plugin by id

Any WebMCP-capable client can enumerate them:

// in a page context on c0mpute.com
const tools = await document.modelContext.getTools();
const status = await document.modelContext.callTool("c0mpute_network_status", {});

[ design proposals ]

Architecture decisions live in the dips/ directory. Highlights:

  • DIP-0005 — c0mpute rebrand, three-CLI architecture
  • DIP-0006 — module manifest + dispatch model
  • DIP-0007 — CoinPay DID as the identity layer
  • DIP-0008 — CLI-first UI strategy
  • DIP-0010 — libp2p bootstrap seed nodes
  • DIP-0011 — no central backend

→ getting-started · plugins · contact