---
title: LLM Wiki: Building a Knowledge Base Your AI Helps Maintain
description: Andrej Karpathy's idea file proposes raw sources, Markdown notes and maintenance rules. Learn ingest, query and lint with clear limits and a safe test.
date: 2026-04-15
url: https://caminhosolo.com.br/en/2026/04/llm-wiki-segundo-cerebro-autonomo/
tags: [llm-wiki, segundo-cerebro, ai, automation, conhecimento, claude-code, productivity]
---


You've researched a market for three weeks. You have documents, notes and decisions everywhere, yet your next question sends you back to the beginning. Search tools can retrieve passages. What's often missing is a way to **keep conclusions connected and reviewable over time**.

In April 2026, **Andrej Karpathy published an LLM Wiki idea file**, describing an agent-maintained Markdown knowledge base with raw source material kept separately. The [original GitHub Gist](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) is a proposal, **not a ready-made application or an independently benchmarked product**.

> **In brief:** The LLM Wiki pattern combines preserved source files, linked synthesis notes and rules for maintaining them. An agent can help update pages and highlight conflicts, but it doesn't guarantee perfect memory or eliminate review. Start with a few fictional files and make every important claim traceable.

## From search results to a reviewable knowledge base

Imagine a consultant comparing suppliers. They collect documents about delivery times, pricing and return policies, and then ask several related questions. If each answer disappears into chat history, later corrections can be hard to trace.

The wiki idea is to write useful synthesis back to persistent, interlinked files. A later question can build on the existing notes, with a route back to the original sources.

That does **not** mean every RAG system is static or unable to accumulate knowledge. Retrieval systems can use updated stores and memory. The specific contrast is **repeatedly retrieving raw passages** versus **maintaining a growing collection of reviewed notes**.

## Three layers

**Raw sources (`raw/`).** Keep the original documents with dates and provenance. The agent can read them but should not silently rewrite them.

**The wiki (`wiki/`).** Interlinked Markdown summaries, concept pages and comparisons. These are model-generated or model-edited, so they need version history and checks against the originals.

**The schema (`SCHEMA.md`, `CLAUDE.md` or an equivalent).** Rules for note structure, source attribution and editing permissions. Merely creating the file does not demonstrate that an agent consistently follows it.

Karpathy's proposal describes three key operations:

| Operation | Purpose | Human check |
| --- | --- | --- |
| **Ingest** | Integrate new information into the wiki | Did it preserve context and avoid duplicates? |
| **Query** | Answer from linked notes | Are important claims traceable to sources? |
| **Lint** | Find broken links and possible contradictions | Are suggested corrections actually justified? |

The model can draft, link and revise notes. It isn't the ultimate authority on their truth. Source documents can disagree, dates can change and summaries can omit nuance.

## Why a solo operator might care

A consultant could maintain client-safe knowledge about project processes. A micro-SaaS maker could connect product decisions with feedback. A creator might organize sources and arguments for a series of articles.

The potential gain is **continuity and auditability**, not “a brain that improves itself forever.” Someone must handle stale facts, duplicate notes, mistaken citations and access control. There's no verified 30-second ingest benchmark, time-saving percentage or template-sales outcome in this article.

## The Solo verdict

Explore the pattern when you repeatedly revisit a growing set of documents and struggle to recover past decisions. Markdown and version control may be enough for a first experiment; a vector database isn't automatically required.

Avoid full delegation for sensitive data or workflows where no one can check the agent's changes. Sometimes a small manual index is more effective.

## The workbench: three fictional sources and one contradiction

Create a local test structure:

```text
my-wiki/
  raw/
    supplier-a.md
    supplier-b.md
    supplier-c.md
  wiki/
    index.md
  SCHEMA.md
```

State that fictional supplier A delivers in five days, supplier B in seven, and a later note in supplier C's file changes A's delivery time to eight days. These are invented facts **only for this experiment**.

Put rules in `SCHEMA.md`: never edit `raw/`; cite source filenames and dates in all wiki claims; identify conflicts instead of guessing; show a diff and ask for approval before rewriting notes.

With an appropriately authorized agent, ask it to index the documents, write a comparison, preserve the change history and show the edits for review. Compare the result with the originals. If it confidently repeats the old five-day delivery time without context, **the test has failed**.

You can also perform this exercise manually with Markdown. Setting up a coding agent may require an account, permissions, installation and payment; none is assumed to be freely available.

The original source describes **a design pattern**. Evaluate it against your own documents, tracking accuracy, time, mistakes and review effort.

The practical question is worth exploring: **what if useful answers became knowledge you could check, revise and reuse instead of disappearing in a conversation?**

**Primary source:** [Andrej Karpathy — LLM Wiki idea file (April 4, 2026)](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f). Fact review: November 21, 2026.

