Documentation

From zero to a grounded agent in one sitting

Connect a source, let the Brain build, point your agent at it. The reference below covers the happy path; for anything deeper, we onboard every new team directly.

1 · Sign in

Run init in a terminal (Node 24 or later). It opens your browser to sign in or sign up, and installs the BrainBox plugin for Claude Code or Codex. There is no API key to copy.

npx -y @brainbox-labs/cli@latest init

2 · Connect a source

Start with one database or a folder of docs. By default only schema metadata is read, never rows. Opt-in column profiling (--profile-data) samples rows for statistics, and full mode also sends enum values and JSON key shapes. Each additional source enriches the same brain.

npx -y @brainbox-labs/cli@latest ingest postgres://user:pass@host/db
npx -y @brainbox-labs/cli@latest sync ./docs

3 · Review

Add --review to ingest to stop before publishing and check what was proposed. A person approves what ingestion produces before it merges into the model.

4 · Point your agent at the Brain

The Brain is served as a hosted MCP server. Claude Code and Codex get it through the plugin; Claude Desktop and ChatGPT add it as a custom connector. You sign in with OAuth.

# MCP endpoint
https://ctx.brainbox-ai.app/api/org-mcp

All documentation

Get started

Guides by agent

Guides

Concepts

Connectors

Reference

Compare

Full setup guide on GitHub

client-setup-v1 has the complete walkthrough — credentials, MCP scopes, and connector commands — plus an examples/ folder with working sample projects you can clone and run.

Building something more involved — an embedded multi-tenant setup, a custom connector, the SDK? Start from the developer platform or talk to us — we onboard every new team directly.

Prefer to see it before you wire it?

Book a demo and we'll build a brain from a sample of your stack.

Book a Demo