Concepts · The Wiki

The Wiki: documents, briefs and people pages

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.

  • Raw-source pages are your documents, stored with no model call.
  • Re-ingest creates a new version and retracts what the old one contributed.
  • Keep a docs folder current with brainbox sync.

What it is

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.

Page kinds

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.

Searching and reading

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-ingest and deletes

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).

Wiki page kinds
KindWritten byScope
Raw sourceIngest, verbatimOne project
Entity brief, patternThe Brain, from accumulated tracesOne project
Person, role, accountThe BrainWhole organization
Filed pageAn agent, with save_wiki_pageOne project

FAQ

Does the Wiki keep my documents verbatim?
Yes. Raw-source pages are your documents written at ingest without a model call.
How are wiki pages searched?
recall_wiki ranks pages over their full text and returns the matching passage. BM25 is the default and the strategy is set per organization.
What happens to a page when I delete the file?
The page is soft-archived, and its contributions to the Domain Model are retracted. brainbox sync never archives silently.

Give your agents a brain.

Sign in and ask your first question.

Book a Demo