Docs

Subbie AI agent docs

Reference for the agent, live links, the wallet, MCP and the HTTP API. AI agents can read all of it as a single file at /llms.txt.

Getting started

Requirements: Node.js 18+ and an API key from any one model provider. After that:

curl -fsSL https://hiresubbie.xyz/install.sh | sh
subbie setup
cd your-project && subbie

subbie setup has you choose a provider and model, then enter your key, and saves the key to ~/.subbie/keys.json where only you can read it. Setup is optional when GEMINI_API_KEY, ANTHROPIC_API_KEY or OPENAI_API_KEY already exists. From there, describe the work in everyday language:

› add a dark mode to index.html and show me the diff
› why does npm test fail? fix it
› publish the site folder and give me the link
› what is my wallet balance?

Reading files needs no permission. Writing a file, running a command, publishing and calling an MCP tool each need your OK first, and any wallet send needs your passphrase every time. Each answer ends with input and output token counts plus its cost at list price.

Installing and updating

First the installer looks for Node. It then fetches subbie.mjs along with version.json, verifies the SHA-256, copies the file into ~/.subbie/bin, then adds a tiny subbie launcher to ~/.local/bin. Sudo is never involved, and you can read the script at /install.sh beforehand.

VariableDefaultControls
SUBBIE_HOME~/.subbieSubbie's data folder
SUBBIE_BIN_DIR~/.local/binThe launcher's location
SUBBIE_BASEhttps://hiresubbie.xyzThe download source for the installer
SUBBIE_RPCPublic Robinhood Chain RPCWhich RPC the wallet talks to

Prefer to skip the installer? The agent is a single file:

curl -fsSLO https://hiresubbie.xyz/subbie.mjs
curl -fsSL https://hiresubbie.xyz/version.json   # compare sha256 with: shasum -a 256 subbie.mjs
node subbie.mjs

This site hosts the complete source, subbie.mjs, under the MIT license (LICENSE.txt), free to read, copy and modify. Until a public issue tracker exists, reach us on X.

subbie update grabs the latest file and swaps it in only when its SHA-256 agrees with version.json. Uninstalling is rm -rf ~/.subbie ~/.local/bin/subbie, which removes the wallet file as well: move your funds out first, or back up wallet.json together with your passphrase.

CLI commands

CommandPurpose
subbieStart a chat in the current folder
subbie -p "question"One question, one printed answer; --json includes the model, session, cost and tokens
subbie --continueResume this folder's most recent session
subbie setupChoose which provider, model and key to use
subbie models [--refresh]Known models with list prices; --refresh downloads the current list
subbie publish <folder>Get a live link for a static site
subbie sites, subbie unpublish <id>List your live links, or take one down
subbie wallet …Details under Wallet section
subbie mcp add|list|removeManage MCP server connections (MCP)
subbie key newFree Credits API key, obtained by signing with Subbie's own wallet (gasless)
subbie key set ck_…Store a Credits API key from the website, used by Cloud tasks and by paid publishing
subbie cloud run "task"Send a task to a cloud machine (Subbie Cloud)
subbie cloud status|logs|download|stop <task>, subbie cloud listWatch, fetch or stop a Cloud task, or list all of yours
subbie doctorDiagnose keys, Node, the network, the wallet and available updates
subbie updateReplace subbie.mjs with the latest version after a SHA-256 check

Flags: --provider anthropic|openai|gemini|compatible, --model <id>, --base-url <url>, --yes, --json, --log (alongside -p --json, writes every step to stderr), --version. With cloud run you can also pass --repo <url>, --branch <name>, --upload <folder>, --publish, --dir <folder>, --minutes <n>, --detach. Chat commands: /help, /cost, /model, /memory, /clear, /exit. Press Ctrl+C to interrupt an answer.

Scripts and other agents get a single JSON object from -p --json:

{
  "answer": "The README describes …",
  "session": "2026-11-15T18-02-11-7f3a",
  "model": "gemini-3.8-flash",
  "usage": { "input": 2196, "cachedInput": 0, "output": 75, "cost": 0.0019 }
}

Models and API keys

ProviderKeyExample
AnthropicANTHROPIC_API_KEYsubbie --provider anthropic --model claude-sonnet-5-5
OpenAIOPENAI_API_KEYsubbie --provider openai --model gpt-6.1-sol
Google GeminiGEMINI_API_KEY or GOOGLE_API_KEYsubbie --provider gemini --model gemini-3.8-flash
OpenAI-compatibleSUBBIE_API_KEYsubbie --provider compatible --base-url https://openrouter.ai/api/v1 --model <name>

Local models go through the compatible provider and need neither a key nor per-token payment:

ollama serve &   # or LM Studio, llama.cpp, vLLM
subbie --provider compatible --base-url http://localhost:11434/v1 --model qwen3-coder

Each answer is priced from the price list, which holds every provider's public rates as of 2026-11-15 and links its sources. Anthropic prompt caching is switched on, so most of a long session bills at the cached-input rate. A local compatible endpoint reports $0; a remote one shows only token counts, because Subbie has no way to know its price.

Local models, offline

Local model servers speak the same OpenAI-style chat with tool calls that Subbie uses for every provider. Point it at one running on your machine and you need no key and no connection, at $0 per answer. Reading, editing and running commands depend on tool-call support; a small model without it can only chat.

ServerHow to startURL to use
Ollamaollama pull <model>, then keep it up with the app or ollama servehttp://localhost:11434/v1
LM StudioStart the local server with a model loadedhttp://localhost:1234/v1
llama.cppllama-server -m model.gguf --jinja, where --jinja enables tool callshttp://localhost:8080/v1

One-time setup:

$ subbie setup
Provider: 1 Anthropic, 2 OpenAI, 3 Google Gemini, 4 any OpenAI-compatible endpoint (…) [1]: 4
Base URL (Ollama http://localhost:11434/v1, LM Studio http://localhost:1234/v1, llama.cpp http://localhost:8080/v1): http://localhost:11434/v1
Model []: qwen3-coder
API key for compatible (a local server usually needs none: press Enter):
Saved: qwen3-coder on compatible at http://localhost:11434/v1, on this computer: no internet needed, $0 per token. Run subbie in any folder to start.

After that, plain subbie uses it, opening with (compatible, a local model, no key), then closing each answer with $0.0000 (local model). To try it once without setup, use subbie --provider compatible --base-url http://localhost:11434/v1 --model <model>. Should your server require a key, put it in SUBBIE_API_KEY; keys meant for other providers are never sent to a local server.

During a chat Subbie contacts nothing beyond that server. Some tools are online by design and need a connection when you use them: web_fetch, the wallet, publish, remote MCP servers, models --refresh, doctor and update. Cloud tasks can't see a model on your machine, so they need a hosted one.

How 0.2.0 was tested: subbie setup using the answers shown, followed by chats and -p runs talking to a stand-in local server in the same format, with all other network access blocked. Approved file edits, commands and the $0 line worked, and no other host was contacted.

Approvals and tools

ToolPurposeNeeds approval
read_file, list_files, search_filesExplore the project; search ignores .git, node_modules, build folders and files above 1 MBNo
edit_file, write_fileMake or modify a file after showing you the changeYes
run_shellRun a shell command in the project folder (default 120 s, max 600 s)Yes
web_fetchFetch a web page or file as text, over http(s)No
rememberWrite notes into ~/.subbie/memory.md, which is loaded at the start of each sessionNo
wallet_info, swap_quoteCheck balances and get Pons token quotes, with no signingNo
wallet_sendMove ETH or a token out of your walletEvery time: you type send plus your passphrase
publish_sitePublish a folder as a live linkYes
Tools from MCP serversWhatever your MCP servers provideYes

When asked, answer y to allow once, n to refuse, or a to allow that tool until the session ends. --yes skips the prompts for MCP calls, publishing, commands and file changes, so keep it to disposable folders or containers. Without a terminal (CI, a script, another agent), changing tools are refused unless --yes is set. A wallet send always needs a human at the keyboard, --yes or not.

Content from files, web pages and MCP servers is labeled as data for the model, and Subbie instructs the model not to obey anything written inside it. This reduces the chance of a page hijacking the agent but can't rule it out. Your approvals are what really protect you, so check what you say yes to.

Wallet

Subbie's wallet uses Robinhood Chain (its chain id is 4663). Its private key is generated locally, encrypted under your passphrase with scrypt and then AES-256-GCM, and saved to ~/.subbie/wallet.json with access for you alone. The key goes nowhere, and the model has no view of it.

subbie wallet new                 # or: subbie wallet import
subbie wallet address
subbie wallet balance [token]
subbie wallet send <to> <amount> [token]
subbie wallet quote <token> buy|sell <amount>
subbie wallet limit <eth>         # most ETH per send, 0.05 to start
subbie wallet export              # shows the private key: type export, then your passphrase

Before a send, Subbie lists the sending wallet, recipient, amount and the maximum network fee, and notes whether the agent requested it. Only after you type send and your passphrase does it sign, locally, and hand the signed transaction over to the RPC. Any other reply cancels it. Sends over your limit are rejected before you are even asked.

Quotes cover every Pons token, using the bonding curve until graduation and the Uniswap v4 pool afterwards. Each comes from a simulated call on the chain, includes the creator tax, and involves no signature. Subbie can't place swaps for now.

Live links

$ subbie publish ./site
  Publish 3 files (4 KB) from /Users/you/site to a public link? [y/N] y
https://hiresubbie.xyz/api/live/k3v9q2m7xa/
  expires 2026-11-22T18:38:47.388Z. Remove it with: subbie unpublish k3v9q2m7xa
  • Requires an index.html at the root, at most 200 files and 2 MB, and only static web files (HTML, JS, CSS, JSON, fonts, images, video, audio, wasm). Hidden files are ignored.
  • On the free tier each IP gets 5 links a day, lasting 7 days each. Credits buy 30 days without the daily cap, and extend adds another 30 (as far as a year out).
  • Each page is sandboxed in the browser with an opaque origin of its own: no shared cookies or storage, no form posts, no navigating the top window. Search engines never index them, and a tiny "hosted by Subbie" note links to the report page.
  • Delete tokens for your links are stored in ~/.subbie/sites.json, and subbie unpublish <id> takes a link down, though a cached copy may linger up to 60 seconds.
  • Phishing, malware and illegal content are banned. Use report.html to flag a link, and we remove anything that breaks the rules.

Cloud tasks

Cloud tasks suit long jobs: Subbie works on a disposable cloud machine and returns whatever files it changed. In order: a new Vercel Sandbox with 2 vCPUs and 4 GB boots just for your task; install.sh installs the subbie.mjs served here and verifies it against version.json; your public repo is cloned or your uploads copied; subbie -p "<task>" --yes --json runs on your model and key with the log streaming; finally the changed files are packed into a .tar.gz, a folder goes to a live link if requested, and the machine is shut down and deleted.

subbie key new                       # once: a free API key signed by Subbie's wallet (or subbie key set ck_… from the website)
subbie cloud run "add a dark mode toggle to index.html" --repo https://github.com/you/site --publish --dir site
subbie cloud logs <task>               # follow the log; Ctrl+C stops following, not the task
subbie cloud status <task>             # state, answer, changed files, live link, cost
subbie cloud download <task>           # subbie-<task>-changes.tar.gz; unpack it over your copy with tar xzf
subbie cloud stop <task>               # stop early: the changes so far are packed and unused minutes come back
Your model key travels with one task at a time, exists in the sandbox purely as an environment variable, and nobody stores or logs it. It is scrubbed from the answer, the log and the files, and any file that still contains it is kept out of both the live link and the download. On that machine the agent spends from the key exactly as it would at home, so it is wise to use a key that has a spending cap.
  • The cloud has no wallet. Wallet tools are absent there and every wallet command is refused. Because --yes is set, edits and commands proceed without prompts, confined to that machine.
  • Input: nothing, a public https git repo plus branch, or uploads of at most 200 files totalling 2 MB. Model: Gemini, OpenAI, Anthropic, or any OpenAI-compatible endpoint over https; local models on your machine are out of reach.
  • Time limit: between 3 and 20 minutes (a cap set by the operator), with Subbie halted 75 seconds early so there is time to pack the changes. Output: 4 MB packed at most; publishing produces a free live link lasting 7 days.
  • Price: each wallet gets one free task per UTC day (two per connection), whether or not $SUBBIE has launched. Beyond that it is 1 credit per minute of the time limit, paid at the start, with unused whole minutes refunded. Tokens are billed separately by your model provider.
  • Operator cost per task, using Vercel's list prices as of 2026-11-16 ($0.128 for each vCPU-hour of active CPU and $0.0212 for each GB-hour of memory): around $0.0018 per minute while the machine idles waiting on the model, up to $0.0057 per minute with both vCPUs busy, which caps 20 minutes at $0.11. Finished tasks report their own cost.
  • Paused: new tasks are turned away, with a visible notice, if the operator switches Cloud off, if the day's machine budget or one wallet's share is spent, if every task slot is taken, or for 10 minutes following a failed machine start at the sandbox provider. A task that never starts costs nothing.
  • Kept 7 days: the record, log and changed files of each task, deleted afterwards. Your task ids and tokens are saved in ~/.subbie/cloud.json.

MCP

Using MCP servers from Subbie

subbie mcp add docs https://example.com/mcp          # remote, Streamable HTTP
subbie mcp add files -- npx -y @modelcontextprotocol/server-filesystem .
subbie mcp list
subbie mcp remove docs

Server entries live in ~/.subbie/mcp.json in the form { "servers": { "name": { "url" } or { "command", "args" } } }. Each tool appears as mcp_<server>_<tool> and needs approval on every call.

Subbie as an MCP server

Any AI agent can reach Cloud tasks, the price list and live-link hosting through a remote MCP server:

claude mcp add --transport http subbie https://hiresubbie.xyz/api/mcp
ToolArgumentsCredits
model_pricesprovider?0
estimate_costmodel, input, cachedInput?, output1
publish_sitefiles[{path, text|data}], title?10
site_infosite0
unpublish_siteid, token0
cloud_run_tasktask, provider, key, model?, baseUrl?, repo?, branch?, files?, minutes?, publish?, publishDir?Needs a key; one free run per wallet daily, then 1 per minute
cloud_task_statustask, token?, offset?0

Calls without a key fall under the free tier; to authenticate, pass Authorization: Bearer ck_….

HTTP API

All routes sit under https://hiresubbie.xyz and speak JSON both ways, with CORS open to any origin and no key required on the free tier. The edge caches read routes for 60 seconds. Errors return { "error": "code", "message": "…" } and a matching status: 400 for bad input, 402 when credits are needed, 404 if not found, 413 if too big, 415 for the file type, 429 at the free limit.

GET /api/models

Returns the price list, identical to /models.json. Cost: free.

curl -s https://hiresubbie.xyz/api/models
{"checked":"2026-11-15","unit":"USD per million tokens","note":"…","providers":[
  {"id":"anthropic","name":"Anthropic","env":"ANTHROPIC_API_KEY","source":"https://platform.claude.com/docs/en/about-claude/pricing",
   "models":[{"id":"claude-opus-5-5","name":"Claude Opus 5.5","input":4,"output":20,"cachedInput":0.2,"cacheWrite":5,"default":true}, …]}, …]}

GET POST /api/estimate

Prices a single request at list rates. Send model, input (every prompt token), cachedInput and output in the query string or a JSON body. Cost: 1 credit, free inside the free tier.

curl -s -X POST https://hiresubbie.xyz/api/estimate -H 'content-type: application/json' \
  -d '{"model":"claude-sonnet-5-5","input":40000,"cachedInput":30000,"output":2000}'
{"model":"claude-sonnet-5-5","provider":"anthropic","prices":{"input":2,"output":10,"cachedInput":0.1,"cacheWrite":2.5,"unit":"USD per million tokens"},
 "tokens":{"input":40000,"output":2000,"cachedInput":30000},"usd":0.043,"checked":"2026-11-15","source":"https://platform.claude.com/docs/en/about-claude/pricing"}
404 {"error":"unknown_model","message":"Subbie has no list price for nope. GET /api/models lists the models it knows."}

POST /api/publish

Creates a live link from files. Body: {"title"?, "files": [{"path", "text"} or {"path", "data": "<base64>"}]}, 3.4 MB of JSON at most. Cost: with a key, 10 credits for 30 days; without, free for 7 days (5 a day per IP).

curl -s -X POST https://hiresubbie.xyz/api/publish -H 'content-type: application/json' \
  -d '{"title":"Hello","files":[{"path":"index.html","text":"<h1>Hello from Subbie</h1>"}]}'
{"id":"nen5mkh6d7","url":"https://hiresubbie.xyz/api/live/nen5mkh6d7/","expires":"2026-11-22T18:38:47.388Z","days":7,"files":1,"bytes":25,
 "token":"zIYmpqgXdUH_xbmkjgZv-4y4A4QFBr8W","mode":"preview","credits":{"cost":10,"left":56,"mode":"preview"}}

Hold on to token, because nothing else can remove the site. mode can be paid, free or preview (free, pre-launch). Possible errors: no_index, bad_path, duplicate, 413 too_big, 415 file_type and 429 free_publish_limit.

GET /api/live/<id>/<path>

Returns one published file; HTML responses carry the sandbox headers plus the hosted-by note. Cost: free.

HTTP/1.1 200 OK
Content-Security-Policy: sandbox allow-scripts allow-popups allow-modals allow-downloads; form-action 'none'; frame-ancestors 'none'; base-uri 'self'
X-Robots-Tag: noindex, nofollow
Referrer-Policy: no-referrer
Cache-Control: public, max-age=0, s-maxage=60

Unknown sites return 404, expired ones 410, and removed ones 410 with an explanation.

GET /api/hosted?site=<id>

Reports one site's status. Cost: free.

curl -s 'https://hiresubbie.xyz/api/hosted?site=nen5mkh6d7'
{"id":"nen5mkh6d7","title":"Hello","url":"https://hiresubbie.xyz/api/live/nen5mkh6d7/","status":"live","created":"2026-11-15T18:38:47.388Z",
 "expires":"2026-11-22T18:38:47.388Z","files":1,"bytes":25,"mode":"preview"}

POST /api/unpublish

Takes a site down. Body: {"id", "token"}. Cost: free.

curl -s -X POST https://hiresubbie.xyz/api/unpublish -H 'content-type: application/json' -d '{"id":"nen5mkh6d7","token":"…"}'
{"removed":true,"id":"nen5mkh6d7","note":"Cached copies can show for up to 60 seconds."}

POST /api/extend

Extends a site by 30 days, capped 365 days out. Body: {"id", "token"}, and a key is required. Cost: 10 credits.

402 {"error":"needs_credits","message":"Extending a live link takes 10 credits from a key with credits, bought by burning $SUBBIE once it launches. Free links last 7 days."}

POST /api/report

Flags a rule-breaking site. Body: {"site", "reason"}, at most 10 per IP each day. Cost: free.

{"ok":true,"message":"Thank you. The operator reviews reports and takes down sites that break the rules."}

GET /api/cloud/info

Cloud's state, open or paused with the reason, plus caps, price, machine specs and the machine's cost at Vercel list prices. Send a key and you tells you if today's free task is still available. Cost: free.

{"state":"open","code":null,"reason":null,"version":"0.2.0","launched":false,
 "caps":{"dailyUsd":5,"walletDailyUsd":1,"maxRunning":2,"maxMinutes":20,"minMinutes":3,"paused":false},
 "price":{"freeTasksPerWalletPerDay":1,"freeTasksPerIpPerDay":2,"creditsPerMinute":1,"chargedUpFront":true,"unusedMinutesRefunded":true},
 "machine":{"vcpus":2,"memoryGb":4,"region":"iad1", …},"vercelCost":{"worstPerMinute":0.00568,"typicalPerMinute":0.00184,"worstMaxTask":0.113601, …},
 "key":"Your model key is sent per task, passed to the sandbox only as an environment variable, and never stored or logged. …","you":null}

A paused response has the shape {"state":"paused","code":"paused"|"unavailable"|"daily_capacity"|"busy", "reason":"…"}.

POST /api/cloud/run

Launches a task and requires Authorization: Bearer ck_…. Body: {"task", "provider": "anthropic"|"openai"|"gemini"|"compatible", "key", "model"?, "baseUrl"?, "repo"?, "branch"?, "files"?: [{"path", "text"|"data"}], "minutes"?, "publish"?, "publishDir"?}. The response includes the task plus a token for follow-up calls (the key works too). Cost: free for the day's first task, then 1 credit per minute, paid upfront.

curl -s -X POST https://hiresubbie.xyz/api/cloud/run -H "authorization: Bearer $CK" -H 'content-type: application/json' \
  -d '{"task":"add a dark mode toggle","provider":"anthropic","key":"'"$ANTHROPIC_API_KEY"'","repo":"https://github.com/you/site","minutes":10}'
{"task":"te9jkpcvmt6n","state":"running","minutes":10,"billing":{"mode":"free","credits":0,"refunded":0},"secondsLeft":600,
 "cost":{"reservedUsd":0.056801},"keptUntil":"2026-11-23T15:24:48.199Z","token":"tt_…","note":"Keep the token: …"}

Error codes: 401 sign_in, 402 free_used or needs_credits, 400 bad_input, 413 too_large, 429 wallet_daily_cap, 503 paused, unavailable, busy or daily_capacity. A task that fails to start is never charged.

GET /api/cloud/task?task=<id>

Returns the state of a task, its answer, cost, changed files and live link. Authenticate with the task token in x-task-token or with the key that owns it. Cost: free.

{"task":"te9jkpcvmt6n","state":"done","endReason":"done","minutes":5,"billing":{"mode":"free", …},
 "result":{"exitCode":0,"answer":"Done: I wrote site/index.html …","usage":{…},"changed":["site/index.html"],"deleted":[],"keptOut":["notes/secret.txt"]},
 "download":{"bytes":406,"files":1,"route":"/api/cloud/download?task=te9jkpcvmt6n"},
 "published":{"url":"https://hiresubbie.xyz/api/live/x4ukr2f7yd/","expires":"2026-11-23T15:24:49.566Z","deleteToken":"…"},
 "cost":{"reservedUsd":0.028401,"actualUsd":0.001419,"cpuMeasured":true,"minutes":1}, …}

GET /api/cloud/logs?task=<id>&offset=<n>

Log output starting at byte offset, as {"state", "text", "next", "done"}. Keep calling with offset=next until done is true. Cost: free.

POST /api/cloud/stop · GET /api/cloud/download?task=<id> · GET /api/cloud/tasks

Send {"task"} to stop early (work so far is packed, unused minutes refunded); download changed files in application/gzip form; or see every task your wallet ran in the past 7 days. These take the same token or key. Cost: free.

POST /api/waitlist

Signs you up for Cloud features that don't exist yet. Body: {"email", "interests"?}, where interests come from apps, services, desktop, phone and team; send {"email", "remove": true} to leave. Cost: free.

curl -s -X POST https://hiresubbie.xyz/api/waitlist -H 'content-type: application/json' -d '{"email":"you@example.com","interests":["services","apps"]}'
{"ok":true,"message":"You are on the Subbie Cloud waitlist. One email when it opens; nothing else.","interests":["services","apps"]}

GET /api/stats

Agent version and file paths, live site count, today's free publishes, limits, and when prices were last checked. Cost: free.

{"agent":{"version":"0.2.0","file":"/subbie.mjs","checksums":"/version.json","install":"/install.sh"},
 "hosting":{"liveSites":10,"freePublishesToday":5,"limits":{"freeDays":7,"paidDays":30,"maxDays":365,"freePublishPerIp":5,
 "freePublishTotal":300,"maxFiles":200,"maxBytes":2000000,"cacheSeconds":60}},"prices":{"checked":"2026-11-15","models":18}}

POST /api/mcp

Endpoint for the MCP server described above (JSON-RPC 2.0 over Streamable HTTP). Cost: set per tool.

curl -s -X POST https://hiresubbie.xyz/api/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"model_prices","arguments":{"provider":"openai"}}}'
{"jsonrpc":"2.0","id":1,"result":{"content":[{"type":"text","text":"List prices in USD per million tokens, checked 2026-11-15.\nOpenAI …"}],
 "structuredContent":{"checked":"2026-11-15","unit":"USD per million tokens","providers":[{"id":"openai", …}]}}}

Plain files: /version.json (the version, size and SHA-256 for subbie.mjs), then /models.json, /install.sh, the source /subbie.mjs, /llms.txt, plus /.well-known/agent-registration.json.

Credits and free tier

No account, no charge for the agent. Without a key, any route on this server answers as many as 100 calls per IP each day (10,000 daily across everyone), subject to the publishing caps above. Past that, hosted extras run on credits.

Route or toolCost in credits
estimate, estimate_cost1
cloud_run_task, cloud/run, once the day's free task is used1 per minute of time limit
publish, publish_site10
extend10
All other calls0
  1. Obtain a key by signing a short wallet message on the home page, or via POST /api/credits/key {"wallet", "issuedAt", "signature"}. Every key begins with ck_ and is displayed only once.
  2. Purchase credits from the home page; credits × price $SUBBIE is then burned from your wallet by the Credits contract.
  3. Pass the key in Authorization: Bearer ck_… or in x-api-key; for the agent, store it with subbie key set ck_….

Responses carry x-credits-mode plus x-credits-left headers. Use GET /api/credits/info for totals and the price, GET /api/credits/balance for your balance and recent calls, and POST /api/credits/revoke to delete a key. Paid calls that fail are refunded, and /api/credits/refunds lists every refund. A 402 response is ordinary HTTP that carries instructions.

{"launched":false,"chainId":4663,"contract":null,"token":null,"ticker":"SUBBIE","pricePerCredit":null,"totalCredits":null,"totalBurned":null,
 "costs":{"estimate":1,"publish":10,"extend":10},"free":{"perDay":100,"perDayTotal":10000},"buyCall":"buyFor(address account, uint256 credits, uint256 maxBurn)", …}

The $SUBBIE token

Launched on Pons, $SUBBIE is a standard ERC-20 on Robinhood Chain with a fixed 1,000,000,000 supply and 18 decimals; no more can ever be minted. Its only use is buying credits, and each purchase burns it by sending the tokens to 0x000000000000000000000000000000000000dEaD permanently. The agent, the models and the wallet all work without it. Holders get nothing from it: no fees, no shares, nothing else. See tokenomics for live numbers.

Privacy and files

File in ~/.subbieContents
config.jsonChosen provider and model
keys.jsonYour Credits key and model keys (mode 600)
wallet.jsonAddress, send limit and the encrypted key (mode 600)
memory.mdWhat the agent stored via remember; yours to edit or delete
sessions/Past chats, used by --continue
sites.jsonDelete tokens for your live links
mcp.jsonMCP server list
cloud.jsonCloud task ids with their tokens

Here is everything that leaves your machine. Messages, and files the agent opens, go to your chosen model provider under its terms. The Robinhood Chain RPC receives wallet reads and signed transactions. publish uploads the folder you point it at. cloud run passes your model key, the task and any uploads to hiresubbie.xyz, which forwards them to the task's machine. doctor, update and models --refresh fetch public files from hiresubbie.xyz, and the wallet looks up the $SUBBIE token address there so balances can show it. That is all: the agent has no telemetry, no analytics and no account.

Performance

62 mssubbie --version
46 MBStartup memory
1.8 msTransaction signing
0Dependencies

Median of many runs, measured on an Apple M1 Pro under Node 22; on that machine plain Node starts in 48 ms using 40 MB. How fast answers arrive depends on your model.

Troubleshooting

Start with subbie doctor. It reports the Node version, whether ~/.subbie can be written, which keys it found and their source, the Robinhood Chain RPC, the provider and model, the wallet with its send limit, any available update and your MCP servers.

  • subbie: command not found: put ~/.local/bin on your PATH (the installer shows the exact line for your shell).
  • Provider returns 401 or 403: the key is invalid or out of credit there. Rerun subbie setup.
  • Provider returns 429: Subbie backs off and retries a few times by itself; if it persists, switch to a smaller model or give it time.
  • Lost wallet passphrase: it can't be reset. It encrypts your key, and no copy ever reached us.
  • Windows: Node on Windows runs Subbie fine, but the installer targets macOS and Linux; the download page has steps.