Docs

The Brain ยท 04.08

Shared Intelligence

The cross-scope brain graph that unifies chat-as-dispatch with the rest of workspace memory.

Shared intelligence

The one service most of the Brain is built on

SharedIntelligenceService is the layer that actually implements retrieval (hybrid search, MMR diversification, optional reranking โ€” see Recall & Grounded Answers) and formation (promote(), the entry point the formation pipeline runs through). Skills, personal notes, and Brain-ask all sit on top of it rather than reimplementing retrieval or formation themselves.

A graph, not just a flat list

Memory atoms aren't just individually retrievable โ€” they're linked into a BrainGraph of nodes and typed relations, scoped by BrainScopeKind. That graph structure is what lets a chat turn's memory-formation event and a workflow run's promoted lesson end up in the same connected knowledge fabric instead of two disconnected silos that both happen to be called "memory."

Continue