Wiki pages
Structured pages describing modules, flows, and decisions in your workspace.
Wikilinks + graph
Pages link to each other, forming a navigable graph of your project.
Local RAG
BM25 lexical search plus on-device embeddings retrieve the right page.
Agents that learn
Agents read the KB before acting and write learnings back to it.
What the knowledge base is
Each workspace gets its own knowledge base, a private wiki that lives next to your repositories in~/.orkestral. It captures what your codebase is and how it works, in plain language, so that both you and the agents can reason about the project quickly.
Think of it as institutional memory: instead of re-reading every file on every request, the team consults a curated set of pages that summarize architecture, conventions, and past decisions.
Pages, wikilinks, and the graph
A knowledge base is made of pages. Each page covers one idea, a module, a service, a data flow, a convention, or a decision.Pages
Every page has a title and a body. Pages describe a concrete part of your workspace and stay focused on a single topic.
Wikilinks
Pages reference each other with wikilinks. When one concept depends on another, a link connects them so you can follow the thread.
How it is built from your repos
The knowledge base is generated from the repositories in your workspace, then made searchable with a hybrid retrieval engine, all running locally.BM25 lexical search
BM25 lexical search
A classic keyword ranking algorithm matches exact terms, function names, error strings, file paths. It excels when you know the precise words you are looking for.
Local embeddings (RAG)
Local embeddings (RAG)
On-device embeddings capture meaning, not just keywords. They retrieve pages that are conceptually related even when the wording differs. Combined with BM25, this is retrieval-augmented generation (RAG) running entirely on your hardware.
Fully local
Fully local
Indexing and search happen on your machine. Your code never leaves your device to populate or query the knowledge base.
The hybrid approach matters: BM25 nails exact identifiers, while embeddings catch the “what is the thing that does X?” questions. Together they surface the most relevant page for each query.
How the agents use it
The knowledge base is wired into the team’s workflow, not a side feature.Consult before answering
Before an agent plans or writes code, it retrieves the most relevant pages so its answer is grounded in your actual project.
Write learnings back
As the team works through issues and reviews, new understanding gets written back to the KB, so the brain keeps improving.
Next steps
Agent team
See how the CEO and specialists delegate work and consult the KB.
Workspaces
Learn how repositories map to a workspace and its knowledge base.