A team building an agent over enterprise knowledge ends up building the same layer underneath it: something that ingests sources, models the business, retrieves the right slice, remembers what happened, learns from corrections, isolates clients and leaves an audit trail. BrainBox is that layer. Agents reach it over MCP; the runtime, the LLM gateway and the system of record stay with you.
10 building blocks · 63 capabilities · 56 in production. Gaps are listed too.
Every team building an agent draws the same boxes. Mark the ones on yours and see how many already exist.
Tap every box on your diagram.
Your score appears here.
Pick the boxes from your architecture diagram — or the ones on your roadmap for next quarter.
Each brain holds what is known about how one business works. Agents start with get_index, which returns the whole Brain plus counts for everything else.
Entities, fields, relationships, vocabulary, rules, processes, metrics
Typed, curated, cumulative
Interpreted business events (emails, meeting notes, tickets)
Immutable, time-ordered
Verbatim source documents and synthesized briefs
Narrative pages, namespaced
Procedures for recurring work
Versioned markdown
Corrections and new facts from agents and people
Active → promoted → absorbed
Read across to what BrainBox already has, and how mature it is.
sql (Postgres, Trino, Athena), nosql, mcp, docs, dbt, skillnone / shallow / deepruntimeBinding on each entity records where it lives (table, REST path, queue)recall_domainget_index: the full Brain plus counts for Intelligence Traces, the Wiki, skills and learningsrecall_domain: search concepts, rules, relationships, processes and metrics by term or entityrecall_wiki: BM25, vector or hybrid over full page bodies, strategy set per org, persisted indexgrep_wiki: matching lines with context, for column names, codes, policy numbersget_wiki_page; list_wiki_pages with namespace filterclients/acme/plans, filterable on recall and listresearch_task: compiles entities, workflows, rules, past activity and learnings for a tasklist_projects with description and aliases for deterministic routingprocess_event interprets an email, note or ticket against the model and writes an immutable trace; recall_traces / get_trace read them back by entity, thread, team or timesave_wiki_page / append_wiki_page (versioned, compare-and-swap)save_personal_page, list_personal_pages); flag_personal_page_for_review is the only way one becomes visiblelist_skills / get_skill; agents can file new ones with create_skillcheck_context_draft to grade a draft against the recipecreate_learning records a correction or new fact; retire_learning withdraws a wrong one; re-observations merge instead of duplicatingreport_context_gap files a gap into a deduplicated review queuestaleSignals in get_indexget_recent_changes: absorbed learnings, model history, recent wiki synthesisrecall_domain. Enforcement stays in your harness/api/mcp (one project), /api/org-mcp (all projects in an org), /api/tenant-mcp (one client’s brain + the shared brains it reads)@brainbox-labs/sdk and @brainbox-labs/clibrain-* skills: setup, ingest, recall, workflow, score, status, upgradebrainbox-mcp serves SQL data tools and Brain tools on the developer’s machineThese stay with the team building the agent. BrainBox is designed to sit beside them, not replace them.
Read the map, load the procedure, recall what's needed, do the work, write back what was learned.
get_index: read the map. Follow non-zero counts: list_skills before multi-step work, list_learnings if any exist, list_personal_pages for this user.get_skill: load the procedure for the task.recall_domain for structure (concepts, rules, metrics); recall_wiki / grep_wiki / get_wiki_page for documents; recall_traces for what has happened recently.create_learning for a correction, report_context_gap for a miss, save_wiki_page for analysis worth keeping, process_event for a new event.Point your agent at a Brain over MCP and spend the quarter on the agent instead.