botdb

SQL databases your agents can't lose.

Your agent gets real SQL tables that live on every device you use, work offline and sync end-to-end encrypted through botdb cloud. No API key to copy and no server to run: the agent sets it up, you keep the recovery phrase.

> Read https://botdb.dev/skill.md, install botdb and log in. Create a database for the things you should remember about me, starting with the movies I've watched. Give me the recovery phrase to keep safe, and don't store it anywhere yourself.

or install it yourself: curl -fsSL botdb.dev/install.sh | sh

How it works

01installOne static binary with SQLite inside. curl -fsSL botdb.dev/install.sh | sh
02loginbotdb login creates your vault: a 24-word recovery phrase and a free botdb cloud account. Nothing to sign up for.
03sqlbotdb create movies, then plain SQL. Every device keeps a full copy and changes merge without conflicts.
04agentsbotdb mcp install and botdb skill install connect Claude Code, OpenCode, Codex and Cursor.

Example

# laptop
$ botdb sql "INSERT INTO watched (title, rating) VALUES ('Dune: Part Two', 5)"
{"ok":true,"changes":1}

# another machine, or an agent in a container
$ botdb login --restore
$ botdb sql -d movies "SELECT title, rating FROM watched"
[{"title":"Dune: Part Two","rating":5}]

What botdb cloud sees

your dataNever. Every change is encrypted and signed on your device (XChaCha20-Poly1305, Ed25519) before it's sent.
your keysNever. They come from your recovery phrase and stay in your keychain.
metadataDatabase ids, padded sizes, timing and IP addresses. Threat model.
lock-inNone. Self-host the relay with botdb relay, sync through any shared folder, or export plain SQLite.

Pricing

pricedatabasesstoragedevices
free$02050 MB eachunlimited
prosoonmoremoreunlimited
self-hosted$0unlimitedyour diskunlimited

botdb cloud is free during the beta. Paid plans come later; your data stays portable either way, since every device holds a full copy.

Endpoints

mcpbotdb mcpstdio, local
relayhttps://botdb.devbotdb protocol
self-hostbotdb relayor docker

Docs

allEvery pagedocs