For anyone syncing docs into the Brain or wondering where narrative knowledge lives.
Updated
The Wiki is where narrative knowledge lives: your documents stored verbatim, briefs the Brain writes from accumulated traces, org-wide people pages, and pages agents file themselves. Agents search it with recall_wiki and read pages with get_wiki_page.
The Wiki holds narrative pages, grouped into namespaces such as clients/acme/plans. The Domain Model is typed and curated; the Wiki is where documents and written briefs live. Decide with one rule: structure that agents should query goes in the Domain Model, prose that people should read goes in the Wiki.
Raw-source pages are your documents stored verbatim, written at ingest with no model call; a SQL table can also appear as a browsable page. Entity briefs and pattern pages are written by the Brain once enough traces accumulate, and rewritten as new events arrive. People pages (person, role and account) are org-scoped and cross project boundaries. Agents can file their own pages with save_wiki_page, including an append mode.
recall_wiki ranks pages over their full text and returns the matching passage; BM25 is the default, and the strategy is set per organization. get_wiki_page fetches one page and list_wiki_pages lists pages, filterable by namespace.
Use brain-recall: search the wiki for our refund policy and quote the passage.Re-ingesting a document creates a new version rather than overwriting the old one, and the Brain retracts what the old version contributed if the new one no longer says it. Archiving a raw-source page is a soft archive that also retracts its contributions to the Domain Model. To keep a folder of docs in step automatically, use brainbox sync (see the guide).
| Kind | Written by | Scope |
|---|---|---|
| Raw source | Ingest, verbatim | One project |
| Entity brief, pattern | The Brain, from accumulated traces | One project |
| Person, role, account | The Brain | Whole organization |
| Filed page | An agent, with save_wiki_page | One project |