Powered by GStack · Postgres-backed · MCP-native

Give your AI agents a memory

One API call. Your agents remember everything. Brainbase is the persistent knowledge layer that turns every AI agent into an expert on your world.

example.ts
import { Brainbase } from "brainbase-sdk";

const brain = new Brainbase({ apiKey: "bb_live_..." });

// Your agent asks a question
const results = await brain.query("who do I know at YC?");
// → [{ slug: "people/garry-tan", title: "Garry Tan", score: 0.97 }]

// Get full context
const page = await brain.getPage("people/garry-tan");
// → { content: "Garry Tan is the CEO of Y Combinator...", links: [...], timeline: [...] }

// Check brain health
const health = await brain.health();
// → { page_count: 687, link_count: 257, brain_score: 75 }
🧠

Self-enriching

Your brain grows automatically. Links are extracted, timelines built, orphans reconnected — all while you sleep.

🔗

MCP-native

Drop one URL into any MCP-compatible agent. Claude Code, Cursor, OpenCode — they all get instant memory.

Postgres-backed

Every user gets their own isolated database. pgvector for semantic search. Typed wikilinks for relational queries.