Cerebras, the AI chipmaker, publishes how its internal knowledge base works: it indexes Slack, Confluence, GitHub and internal databases into embeddings, then injects relevant context before each prompt. The company uses a three-layer design of collection, query and access control, which is why a working internal knowledge base looks like plumbing rather than a note graph.
What is the Cerebras internal knowledge base?
The Cerebras internal knowledge base is a retrieval augmented generation system that indexes company data from Slack, Confluence, GitHub and internal databases, then injects the most relevant passages into a model prompt. Cerebras, an AI chipmaker, published a blog post describing it; Nick Saraev's July 2026 video walks through that post and rebuilds a smaller version.
Cerebras engineers Isaac, Daniel and Mike wrote the post Saraev cites. Treat it as a first-party vendor description of one company's internal system, not an independent product review. Saraev says the company fields roughly 15,000 questions a day against it.
The design separates three concerns: collecting and storing internal data, querying it, and enforcing authentication, authorization and audit logging. Saraev skips the third layer for his own small business and focuses on the first two.
How does retrieval augmented generation work here?
Retrieval augmented generation (RAG) works by retrieving text relevant to a question and placing that text immediately before the question in the model's prompt, so the model answers from supplied evidence rather than parametric memory. Saraev demonstrates with a one-line example: adding "Nick is 6'2" before "How tall is Nick?" forces a specific answer.
Two properties make this work at company scale. First, the model cannot tell where retrieved text came from; it treats the injected passage as ordinary input. Second, retrieval narrows an open-ended question such as "what did Peter say at that talk last week?" to a handful of specific records that the model can cite and summarize.
The ingestion step matters as much as retrieval. Documents and chat threads are passed through a language model to extract structured metadata before storage. Embeddings then represent the content, and the store is queried in reverse: a question arrives, and the system pulls the records whose embeddings are closest to it.
Ingestion pipeline: Slack, Confluence, GitHub and databases
The ingestion layer converts every connected source into embeddings enriched with metadata. Slack threads, wiki and Confluence pages, GitHub repositories and pull request docs, and custom databases storing metrics or CRM data all flow through the same process.
Metadata does the heavy lifting. Saraev describes a message like "Nick thinks penguins are cool" being enriched with a timestamp, author, recipient, and a description of who that person is. A digital photo is his analogy: the image is the payload, and capture time, location and settings are the surrounding record that makes it findable later.
That metadata also supports ranking. A recent statement from the founder can be weighted above an old one from a junior employee, so "the most recent seminar" retrieves the actual latest seminar rather than any seminar. Saraev attributes that recency and source weighting to the Cerebras design.
Chat threads get distilled into structured records with fields such as question, summary, resolution and source ID. The effect is that a resolved problem becomes a permanent, searchable artifact rather than a buried thread.
How does the quality gate at Cerebras compare with plain RAG?
In Saraev's own rebuild, a model answered 17 of 20 identical questions correctly with the knowledge base and zero without it, with the three misses being refusals rather than wrong answers. That result belongs to Saraev's demo system, not to Cerebras.
Saraev's rebuild held roughly 640 documents. He argues that retrieval precision matters more than corpus size for a knowledge base, because Cerebras likely holds hundreds of thousands of documents and still needs the right few at answer time.
The comparison below separates what each layer contributes, based on the material above.
| Layer | What it adds | Evidence scope |
|---|---|---|
| Collector | Pulls Slack, wiki, code and database content | Described by Cerebras in its blog post |
| Distiller | Extracts question, summary, resolution, source | Described by Cerebras in its blog post |
| Retriever | Ranks by full-text match plus embedding similarity and recency | Saraev's description of the design |
| Access layer | Authentication, authorization, audit | Cerebras production; Saraev omitted it |
What does the access and audit layer require?
The access layer enforces authentication, authorization and audit logging, and it is the part small teams most often skip. Cerebras operates it because the system indexes internal code and databases for a large organization, where who can read what is a real question.
Saraev explicitly leaves this layer out of his demo, assuming everyone in his company is trustworthy. That assumption is defensible for a handful of people and indefensible for a company of thousands, where Slack channels, private repositories and customer databases have different access boundaries.
Audit logging answers a separate question from permissions. It records who queried the knowledge base, when, and about what, which matters when the corpus contains customer data or regulated records. A working retrieval pipeline does not by itself make a deployment compliant; permission mapping and retention policy have to come from the organization.
How does Saraev build a working version?
Saraev builds his own knowledge base by pasting the Cerebras blog post into a coding agent and asking it to construct ingestion pipelines for his Slack, email, GitHub and YouTube accounts. He uses Claude Code, Anthropic terminal-based agentic coding tool, and works in a terminal session.
The steps below follow the order in the video.
- Pick a coding agent that can modify files and run commands on your machine. Saraev used Claude Code and notes that other models work too.
- Give the agent the source description plus a list of your data sources and the pipelines you want per source.
- Let the agent walk through authentication for each source. Saraev says setting up one pipeline realistically takes about five to ten minutes when credentials are already available.
- Ask the agent for an architecture diagram mid-build to confirm the sources, distillation step, store and retrieval setup.
- Query the finished system with questions whose answers you already know, as his 20-question test did.
Authentication is the step most likely to stall. For Gmail, the agent has to create a Google Cloud project, enable the Gmail API, configure an OAuth consent screen and complete a one-time consent flow before any message can be read. Those accounts already being logged in on Saraev's machine is what made his demo look automatic.
What does a working knowledge base answer?
A working knowledge base answers questions whose answers exist only inside company records: which company pitched a sponsorship, which repositories were pushed to recently, or why a support thread was resolved a particular way. Those questions are unanswerable from a model's training data and routine for retrieval.
Saraev's examples include a sponsorship pitch to his Stacked podcast and recent GitHub activity under his media company. He concedes that any retrieval system could surface those, and calls the real gain the fact that ingestion runs without his management.
That distinction matters for anyone evaluating the approach. A one-off query against a document dump can be answered by pasting the document. A system that keeps ingesting new Slack messages, commits and emails is doing something the paste cannot.
Frequently asked questions
- Did Cerebras replace Notion or Obsidian? There is no evidence in the cited material that Cerebras discontinued any note-taking product. The video's title is a rhetorical comparison, and Saraev himself says users can still access the same corpus through tools like Obsidian.
- Is 17 out of 20 a Cerebras benchmark? No. Saraev reports that figure for his own rebuild with roughly 640 documents. Cerebras published the architecture description, and its own reported usage figure is about 15,000 questions per day.
- Do I need Cerebras hardware to build this? No. The published design is a retrieval pipeline over company data, and Saraev built his version with a general coding agent. The chip business is context about the company, not a requirement.
- Can a small team skip the access layer? Saraev skips it for a handful of trusted users. Teams holding customer data or separate permission tiers still need authentication and audit logging, which the Cerebras design includes.
- Does a knowledge base need a note graph or second-brain app? The Cerebras design does not depend on one. Retrieval quality comes from metadata, recency weighting and chunk size, and Saraev argues those matter more than visualization.