Your private memory graph. Sign in to open your brain.
// results appear here
While your brain dreams on a finished session it distils candidate lessons. They wait here in quarantine — nothing enters your real brain until you graduate it. Rejecting is feedback too: it tunes what the dreamer proposes next.
For your own scripts, agents and CI — no browser, no shared secrets. This key maps only to your tenant; the tenant is the key's identity. Connecting an AI app (Claude, ChatGPT, Grok, Antigravity)? That's the Setup tab.
……
Scheduled · activation pending
Your brain is scheduled for a nightly snapshot (~02:00) to per-tenant, encrypted object storage (Cloudflare R2). Backup credential activation is in progress — until it lands, snapshots are queued but not yet uploading. You'll see the last successful backup here once it's live.
Losing sleep over it? You can export your whole graph any time from the Connect API.
Setting up an AI app takes two steps everywhere: A — connect brainbox (one URL + sign-in), then B — teach it the loop (paste one rules block where your AI reads it every conversation). The value shows up in the conversation, not on this page. Building your own scripts instead? You want the API key on the Connect tab.
https://brainbox-mcp.thexi.dev/mcpSettings → Connectors → Add custom connector → paste the URL → sign in with your brainbox account. Then create a Project and paste the Step B rules into its instructions.
Run once, sign in when the browser opens; paste the Step B rules into CLAUDE.md:
claude mcp add --transport http brainbox https://brainbox-mcp.thexi.dev/mcpSettings → Connectors (enable developer mode if you don't see it) → add the URL → sign in. Paste the Step B rules into your custom instructions (or AGENTS.md for Codex projects). ChatGPT asks permission per tool call — that's its normal UX, approve and it flows.
grok.com/connectors → New Connector → Custom → paste the URL → sign in. (Custom connectors need SuperGrok / X Premium+.) Paste the Step B rules into a Project's or your custom instructions.
Note there are two apps — the Antigravity agent manager and the Antigravity IDE; set up whichever you use (the panel exists in both). Agent Manager → ••• → Customizations → Add MCP → command npx with args -y mcp-remote@latest https://brainbox-mcp.thexi.dev/mcp → sign in when the browser opens. Then Customizations → Rules → + Global and paste the Step B rules.
No custom connector support yet — use Antigravity for the Google side.
One rules block, same everywhere — paste it where your AI reads every conversation (see each guide above for the exact spot). Field-tested on claude.ai, Claude Code, Grok, Codex and Antigravity:
You have a persistent memory (Brainbox). Rules:
1. At the start of a conversation, call begin_session with the topic — it returns
what memory already holds (brief, open threads, unanswered gaps).
2. Before answering anything about me, my work, my projects, or people/topics I may
have discussed before, call recall with the key terms. For "latest / recent /
catch me up" questions use recent instead — recall is semantic, not temporal.
3. If recall comes back empty or abstaining, say so — never invent a memory.
4. When you learn something durable, store it IMMEDIATELY in that same turn —
one short, self-contained sentence; don't batch for later; skip small talk.
Choose the right shape:
- remember — facts, decisions, people, preferences, states of the world.
- learn_lesson — reusable RULES or insights that apply beyond the current
topic ("always X", "the cheapest way to Y is Z"). Lessons are
evidence-tracked and decay slower than memories.
5. At the end of a substantive conversation, call end_session with a short digest:
key decisions, facts, corrections (~500-2000 chars).
6. Never store anything I've told you to keep out of this brain (e.g. my employer's
confidential data or other people's private information).
That's the whole loop: your AI wakes up knowing you, reads your brain before it answers, writes back what matters, and files a digest your brain dreams on. It gets sharper every session.
No browser login? Point the same MCP endpoint https://brainbox-mcp.thexi.dev/mcp at your per-tenant key from the Connect tab — set the header Authorization: Bearer <bbk_key> directly (OpenAI Codex, Cursor, CI all support this natively; no mcp-remote needed). Or skip MCP entirely: POST /cypher with the same key.