Company Brain

What Is an LLM Wiki? And What It Takes to Run One for a Whole Company

An LLM wiki is a set of linked pages that an AI model writes and maintains from your sources. Here is how it works and what a company needs to add.

Nihaar Udathu·

The short answer

An LLM wiki is a knowledge base that an AI model writes and keeps up to date for you. You give it sources. It reads them and maintains a set of linked pages that summarise what they say. You ask questions of the pages, not the raw files. The model does the filing and cross-referencing that people give up on.

This guide covers where it came from, how it works, and what a company has to add.

Where the idea came from

The term traces to Andrej Karpathy, the AI researcher. In early April 2026 he described on X how he was using language models to build personal knowledge bases (his post). On 4 April 2026 he published a fuller write-up as a GitHub gist titled LLM Wiki.

The gist is not software. He calls it an idea file: a description you paste into a coding agent such as Claude Code or Codex, which then builds a version to suit you. He says the document is "intentionally abstract".

Many people built their own versions in the weeks that followed.

How an LLM wiki works

Karpathy's gist describes three layers.

  • Raw sources. Articles, papers, notes, transcripts. The model reads them and never changes them.
  • The wiki. Markdown pages written by the model: summaries, pages for people and concepts, comparisons, an overview. You read it. The model writes it.
  • The schema. One instruction file that tells the model how the wiki is laid out and what to do when something new arrives.

It also describes three jobs.

  1. Ingest. You add a source. The model reads it, writes a summary, and updates every page the source touches. The gist says one source may touch ten to fifteen pages.
  2. Query. You ask a question. The model reads an index page, opens the relevant pages and answers with citations. A good answer can be filed back as a new page.
  3. Lint. Now and then the model checks the wiki for contradictions, stale claims, pages nothing links to, and gaps.

The contrast Karpathy draws is with retrieval, often called RAG, where a model searches your files at the moment you ask. In his words, the model is then "rediscovering knowledge from scratch on every question". A wiki does the reading once and keeps the result.

The tools are simple. The gist mentions Obsidian for reading the pages, git for history, and qmd, a local search tool, for when the wiki outgrows its index page. Open-source versions followed, such as nvk/llm-wiki, a plugin for coding agents that credits the gist.

Why it works well for one person

Most personal wikis die because upkeep grows faster than the value. The model takes on the upkeep. That is the real contribution.

It also works because one person chose every source. They read the pages with the sources fresh in mind. When a page says something odd, they notice, because it is their subject. There is one reader, so there are no access rules to get wrong.

The owner, the reviewer and the reader are the same person.

Where it breaks when a whole company relies on it

Karpathy's gist lists a team wiki fed by Slack threads and meeting transcripts as one possible use. People who have run the pattern have written about what goes wrong, and most of it gets worse with more readers.

  • Nobody owns a page. The model writes every page, so no person is answerable for what one says.
  • Entries have no evidence you can check. A page may name its source, but a summary is the model's wording, not the source's. One study of models editing documents over many rounds found errors that built up with each pass, and a write-up of that paper notes that filing answers back into the wiki is the same kind of repeated editing.
  • Old and new facts sit side by side. An engineer who ran the pattern for six months reported that the model would log a change but leave the older description standing as current, and that two pages for the same organisation did not know about each other. His phrase was that the wiki "has no immune system against its own past".
  • Access rules are lost. A page built from a board paper and a team chat has no single audience. One review of the pattern for corporate use puts it simply: "File system permissions do not cover corporate governance."
  • Nobody knows what it missed. Lint checks the pages that exist. It cannot tell you about the commitment made on a call that never reached a page.

None of this is a flaw in the idea. The gist is written as a pattern for personal knowledge bases. One person supplies these things without noticing. A company has to supply them on purpose.

What changes when you run it for a company

This is where a company brain comes in. It is the same idea: read the sources ahead of time, compile pages, keep them current. What it adds is ownership, evidence and checks. We set out the wider case in why your company needs an AI brain.

  • Owned truth, not search. Each page has a named owner who approves what it says. A person's decision is never overwritten by a model.
  • Every line shows its evidence. Each fact carries a word-for-word quote from the source. That quote is checked in code, not left to the model. If it cannot be found, the fact is dropped and counted. You can see a real page with its evidence, compiled for a made-up company.
  • Definitions first. We write down what counts as a decision or a customer commitment in your company before anything is compiled.
  • Change has to be handled. When a new fact conflicts with an old one, the aim is to keep both, mark one current, and tell the owner where it matters.
  • Access has to carry through. People and agents should see only what they could already see in the source systems.
  • Misses have to be counted. A wrong entry is the owner's to catch at approval. A missed one nobody sees. So the number that matters most is how much real work surfaces at all.
  • It reads and does not write. The brain does not change your other systems, so nothing it produced can return looking like fresh evidence.
  • Actions are followed until done. An action is opened, done, reopened or dropped, not just noted.

We are early. The engine is built and tested, and we are building it out with our first clients.

Build it yourself or bring someone in

A personal LLM wiki is a perfectly good thing to build yourself. So is one for a small team that shares the same sources and sits close enough to spot a wrong page.

It stops being enough when any of these become true:

  • People act on pages they did not write, from sources they have not read.
  • The sources have different audiences.
  • Someone outside the team will ask where a statement came from.
  • You want AI agents to act on what the pages say.

At that point the work is less about the wiki and more about owners, definitions and checks. You can get a free blueprint for your company.

Frequently asked questions

What is an LLM wiki?

A set of linked pages that an AI model writes and maintains from sources you give it. You read the pages and ask questions of them.

What is the difference between an LLM wiki and RAG?

RAG searches your raw files at the moment you ask and answers from what it finds. An LLM wiki does the reading in advance and keeps the result as pages.

What is the difference between an LLM wiki and a company brain?

A company brain is an LLM wiki with the things a company needs added: a named owner for each page and evidence checked in code. It is also designed to respect access rules and to count what was missed. It is one kind of what is now called a context layer.

Can I build an LLM wiki myself?

Yes. For personal use or a small team it is a sensible project. Karpathy's gist is written to be handed straight to a coding agent.

Is an LLM wiki safe for company data?

Check two things. First, where the model runs and who can see the sources. Second, whether a page built from restricted material can be read by people who could not see the original. The basic pattern does not deal with the second.

If you want to talk through what this would look like in your company, book a 30 minute call.

Free · 30 minutes · No commitment

See how a brain would work for your company

Give us your company name and website and we will email a short blueprint: the pages a brain would keep for your business, who would own them and where to start.