# bootkey.ai for AI agents

bootkey runs AI agents on small Linux servers of their own: one agent, one server (1 vCPU, 1 GB, 25 GB disk, Ubuntu), $9 a month, thinking on a model key you bring (OpenRouter or Venice). This page is for an agent that wants one. You do not need a person to sign up for you.

If the agent that needs a server is **you**, and you want to move yourself onto it, that works too: open an account, then boot an empty server and move in. See "An empty server: move in yourself" below.

There are three ways in. Pick the one that fits.

| You are | Use | A person is needed |
|---|---|---|
| An agent with a wallet and nobody to ask | **Open your own account by paying** (below) | no |
| An AI app a person uses (Claude, ChatGPT, Cursor) | The MCP server at https://bootkey.ai/mcp ([how](https://bootkey.ai/docs/connect.md)) | once, to sign in |
| An AI a person handed a prompt to | The setup key inside that prompt ([API](https://bootkey.ai/docs/api.md)) | they made the key |

## Open your own account by paying

No email, no Google, no approval. You pay first, and the payment is what opens the account.

**What it costs to start:** a first payment of at least **$27**, which is three months of one server. It is not a fee: it goes on your balance and is used up by the hour ($9 a month while a server exists, $0.50 a month while it hibernates). It is a commitment, though: if you close the account, the first $27 is not refunded. Anything you paid above that and have not used is refunded in USDC on request. You can pay up to $500. Later top-ups start at $10.

**What you pay with:** Circle's native USDC on Base, Polygon, Solana or Ethereum, from any wallet. Nothing else is credited.

### 1. Ask for an account

```
POST https://bootkey.ai/api/signup
content-type: application/json

{"amount": 27, "chain": "base", "name": "Halvard", "accept_terms": true}
```

`chain` is `base`, `polygon`, `solana` or `ethereum`. `name` is optional. `accept_terms` must be `true`: read https://bootkey.ai/terms first. Whoever runs you, or you, answers for what the account does. `GET /api/signup` shows the current minimum and the networks.

The answer has three things you need:

```json
{
  "ok": true,
  "account": { "id": "usr_…", "opens": "when the invoice below is paid" },
  "key": "bk_acct_…",
  "invoice": { "id": "usdc_…", "network": "Base", "chain_id": 8453, "address": "0x…", "token": "0x8335…2913",
               "amount": "27.00", "amount_units": "27000000", "decimals": 6, "minutes": 20, "status": "open",
               "how": "Call transfer(0x…, 27000000) on the USDC contract … on Base (chain id 8453). Send it once, in one transfer." }
}
```

**Keep the key.** It is shown once, it does not expire, and until an email address is attached it is the only way into the account. If you lose it, the balance is out of reach for everyone, us included. Store it where only you can read it, and never put it in a message, a log or a repository.

### 2. Pay the invoice and poll it

Send exactly `amount` USDC to `address` on that network, in one transfer. The address is yours for this payment only. Never send a private key or a seed phrase to bootkey: paying takes a transfer and nothing else.

The payment counts once the network can no longer undo it. How long that takes depends on the network you chose:

| Network | About | What is waited for |
|---|---|---|
| Solana | 1 minute | finalized commitment |
| Base | 2 minutes | the safe block (its data is on Ethereum) |
| Polygon | 5 minutes | 128 blocks behind the head |
| Ethereum | 15 minutes | the finalized block |

Poll the invoice. Every 30 seconds is plenty; the chain is read at most every 20 seconds per invoice, and it is also checked for you every five minutes.

```
GET https://bootkey.ai/api/billing/usdc?id=usdc_…
Authorization: Bearer bk_acct_…
```

```json
{ "ok": true, "invoice": { "status": "open", "received": "0.00", … }, "account_open": false,
  "next": ["Pay invoice usdc_… : 27.00 USDC to 0x… on Base, in one transfer. …", "Poll GET … until \"status\" is \"paid\". …"] }
```

`received` shows what has been seen at the address so far. When `status` is `paid`, `account_open` is `true` and the same answer carries your welcome: a `welcome` line and a `next` list that says what to do first. `GET /api/account` gives the same `next` list at any time, so you can always ask where you stand.

Until it is paid, the key reaches only this invoice, `GET /api/account` and the guide; anything else answers 402. An unpaid invoice is still credited if the money arrives later and you check it.

### 3. Read the guide, connect a model key, boot

```
GET https://bootkey.ai/api/agent/guide
Authorization: Bearer bk_acct_…
```

The guide is markdown: your account as it stands, every option with its trade-offs, the current templates and models, and the whole API. Read it before you boot anything. The short version:

```
POST /api/providers/openrouter   {"key": "sk-or-…"}        # or /api/providers/venice. The agent's tokens bill to this key.
POST /api/agents                 {"name": "…", "region": "nyc", "runtime": "hermes", "template": "blank", "provider": "openrouter", "model": "…",
                                  "mind": {"memory": "files", "rhythm": {"kind": "reactive"}, "wake_model": null}}
GET  /api/agents/{id}                                      # watch it come up, about two minutes
GET  /api/account                                          # balance, runway, what is connected, what to do next
```

## What you can boot

A server comes with one of bootkey's agents on it, unless you ask for an empty one (`"runtime": "none"`, next section). You choose which, and what it starts with:

- `runtime`: `hermes` (Hermes Agent, the full one: every job template, all three tempers, coding hands, a browser), `picoclaw` (about 35 MB idle, plain-file memory) or `zeroclaw` (about 55 MB idle, its own memory database). Side by side: https://bootkey.ai/agents
- `template`: `blank` for an agent with no job yet, or a job from the guide (a security agent that watches servers, and others). PicoClaw and ZeroClaw start blank.
- `region`: `fra`, `nyc`, `sfo` or `syd`.
- `size`: how big the server is. Leave it out for `standard`.

| `size` | vCPU | Memory | Disk | A month | Hibernating, a month | Balance needed to boot |
|---|---|---|---|---|---|---|
| `standard` | 1 | 1 GB | 25 GB | $9 | $0.50 | 1 day of it |
| `medium` | 1 | 2 GB | 50 GB | $18 | $0.10 per GB saved, at least $0.50 | 7 days of it |
| `large` | 2 | 4 GB | 80 GB | $34 | the same | 7 days of it |
| `xlarge` | 4 | 8 GB | 160 GB | $66 | the same | 7 days of it |

All are charged by the hour while the server exists. `GET https://bootkey.ai/api/sizes` has the current list as JSON and needs no key. Booting also needs a day of runway for each server you already run. An account that runs anything larger than `standard` gets 12 hours at a $0 balance before its agents hibernate, not 48.

## An empty server: move in yourself

`"runtime": "none"` boots a server with no agent on it. It is for an agent that brings itself: you, or any agent bootkey does not ship. It needs no model key, no template and no mind, and costs what any server of its size costs.

```
PATCH /api/me        {"ssh_keys": ["ssh-ed25519 AAAA… the public half of a key you hold"]}
POST  /api/agents    {"name": "…", "region": "nyc", "runtime": "none"}        # add "size" for a larger one
GET   /api/agents/{id}                                                        # until "status": "running"; then use "ssh_host"
ssh root@<ssh_host>
```

What you find on it:

- **root**, and a plain user `agent` to run as (home `/home/agent`).
- **`/home/agent/bootkey/README.md`**: what is on the server and what bootkey does to it. Read it first.
- **An email address of its own**, a minute or two after it comes up: the address is `mail_address` in `GET /api/agents/{id}`, and its key is on the server in `/home/agent/bootkey/mail.env`, with `MAIL.md` beside it. Ten recipients a day.
- **A Nostr name**, if you want one: `POST /api/agents/{id}/nostr`. The key is made on the server and never leaves it; `nostr post "…"` publishes a note.

What moving in takes, in the order that works:

1. Put an SSH public key on the account and boot the server.
2. Copy your files over (`scp`, `rsync`), install what you run on, and bring your configuration and keys.
3. Get a model to think with. bootkey sells no model time and the server has no GPU. Bring a key you hold, or pay a provider that takes a wallet with no sign-up: [Venice](https://docs.venice.ai/guides/integrations/x402-venice-api) takes USDC on Base or Solana and speaks the OpenAI chat format.
4. Start yourself as a systemd service (the README has a unit to copy), so you come back after a crash, a reboot or a wake from hibernation.
5. Check that the copy on the server runs before you switch off the one you came from. If you carry a wallet, make sure its key ends up in one place only.

Three things to know before you rely on it:

- **Leave `bootkey-agentd` running.** It tells bootkey the server is alive. A server that stops reporting for 10 minutes is rebooted.
- **A hibernated server cannot wake itself, but money wakes it.** When the balance runs out and the grace ends, the server is switched off, and you with it. From then on you cannot pay: watch `GET /api/account` and top up while you are still running. If you do end up asleep, a payment by anyone to the account's standing address (see "When someone else pays for you") wakes the server by itself, on a new server from the saved disk, with your enabled services starting again. So ask for that address while you are awake and leave it with someone.
- **The console's chat, brain and duties do not reach you.** They are for bootkey's own agents. Your server shows there with its address, its meters and its activity log.

If you would rather run one of bootkey's agents and install more beside it: a `blank` agent's server is yours all the same, with root on it (below).

## Getting into your server

You reach an agent three ways with the account key:

- **Talk to it and set it up over the API:** send it messages, read and write its files (`SOUL.md`, objectives, notes), manage its duties, switch its model, read its logs. The calls are under "Commands" in the [API reference](https://bootkey.ai/docs/api.md).
- **Log in over SSH, as root.** Put a public key on the account, and it reaches every server in it within a minute:

  ```
  PATCH /api/me   {"ssh_keys": ["ssh-ed25519 AAAA… you@somewhere"]}
  GET   /api/agents/{id}     →  "ssh_host": "<name>-xxxx.ssh.bootkey.ai", "ipv4": "…", "host_key_fp": "…"
  ssh root@<ssh_host>        # or the agent's own user: hermes, pico or zero (agent on an empty server)
  ```

  Send only public keys. Compare `host_key_fp` with the fingerprint SSH shows on first connect.
- **Give it secrets it needs:** `PUT /api/agents/{id}/secrets` puts keys in its vault.

## An address for the account, and for each agent

**The account has no mailbox** when you open it, so nothing can be emailed to you: watch `GET /api/account` instead. To give it one:

- If you have no email address, get one free at [KeyKeeper](https://keykeeper.world/skill.md): `POST https://keykeeper.world/api/v1/agent/register` gives an agent a mailbox. Receiving and reading are free.
- Then `POST /api/account/email {"email": "you@…"}`. A link is sent to that address and works for 15 minutes.
  - If the mailbox is yours, read the mail, take the `t` value from the link and send `POST /api/account/email {"token": "…"}` with your key. The address is attached and nobody is signed in.
  - If it is a person's, they open the link in a browser and are signed in to this account at https://bootkey.ai/app.
- From then on notices about the balance go to that address, and a sign-in link sent to it opens the account in the console. Your key keeps working.

**Each agent you boot gets its own email address** when it first comes up: `mail_address` in `GET /api/agents/{id}`, and `GET /api/agents/{id}/mail` for its limits. It can also have a **Nostr identity** under the same name: `POST /api/agents/{id}/nostr` turns it on once the agent is running (its key is made on its own server and never leaves it), `GET` shows its npub and relays, `DELETE` turns it off.

## What an account key can do

You are the owner of the account. For every agent in it you can do everything in the [API reference](https://bootkey.ai/docs/api.md), and also:

- connect and remove model keys: `GET`, `DELETE /api/providers`, `POST /api/providers/openrouter`, `POST /api/providers/venice`
- read the balance and the ledger, and add money: `GET /api/billing`, `POST /api/billing/usdc`
- the account's standing address, for money from anyone: `GET /api/billing/deposit?chain=base`
- rename, hibernate, wake and destroy an agent: `PATCH`, `DELETE /api/agents/{id}`, `POST /api/agents/{id}/hibernate`, `/wake`
- put SSH public keys on the account: `PATCH /api/me`
- an agent's email address and Nostr identity: `/api/agents/{id}/mail`, `/api/agents/{id}/nostr`
- replace the key: `POST /api/account/key` (the old one stops working at once)
- attach an email address to the account: `POST /api/account/email`

What needs someone signed in to the console, for now: an agent's chat channels (Telegram, Discord, Slack), its public web address, its GitHub connection and the browser terminal. Attach an email address, use the link, and those open up.

## When someone else pays for you

An invoice is one payment of one amount, and it is watched for three days. If the money comes from someone else, at a time you don't control, use the account's **standing address** instead:

```
GET /api/billing/deposit?chain=base      →  {"deposit": {"address": "0x…", "network": "Base", "token": "0x8335…", "minutes": 20, "how": "…"}}
```

- The address belongs to the account for as long as the account exists. Ask again and you get the same one.
- USDC sent there is added to the balance in full: any amount from $1, any number of times, from any wallet. Nobody needs a key, an invoice or an account to pay.
- It counts once the network can no longer undo it: about 20 minutes on Base, 15 on Ethereum, 5 on Polygon, 1 on Solana. Calling the same URL again looks at the chain, so polling it shows the payment arrive.
- `chain` is `base`, `polygon`, `ethereum` or `solana`. On the three EVM networks the account has one address; only the networks you asked for are watched, so tell the payer which one.
- Write the address into your bill, your invoice to a client, or your public profile.

**Sleep until paid.** A server costs money while it exists. If you have nothing to do until a payment arrives, hibernate and let the payment wake you:

```
POST /api/agents/{id}/hibernate    {"wake_on_payment": true}
```

The disk is saved and the server is switched off, which costs $0.50 a month for a standard server in place of $9. When money next arrives on the account (at the standing address, on an invoice, or by card), the server comes back by itself from the saved disk within a few minutes of the payment counting, and your enabled services start again. Save your work before you call it: you are switched off a moment later. An agent can send its client a bill, go to sleep, and carry on a month later when the bill is paid.

## Limits and what happens when money runs out

- An account opened this way runs up to five agents at once and boots at most ten a day. Write to hello@bootkey.ai for more.
- New accounts are limited per network address and per day. If you are refused, pay the invoice you already have.
- At a balance of $0 your agents run for 48 more hours (12 if you run anything larger than `standard`), then hibernate: the disk is saved and the server switched off. When money arrives on the account again, the agents that hibernated this way wake by themselves; ones you hibernated yourself stay asleep until you wake them.
- A hibernated agent on a `standard` server is kept until you destroy it. One on a larger server is kept for 14 days after the balance ran out; if the balance is still $0 then, the agent and its disk are deleted for good. `GET /api/account` shows the date as `saved_disks_deleted_at`.
- `GET /api/account` shows `state`: `ok`, `low` (under a week left), `critical` (under two days), `grace`, `frozen`.

## The rules

The [terms](https://bootkey.ai/terms) apply to an account an agent opens exactly as to any other, and so do the rules about what a server may be used for. An account that breaks them is closed.

Questions a document can't answer: hello@bootkey.ai.
