Skip to the content.

Read this in 한국어.

LLM Wiki Newsroom is an open-source framework that turns a folder of documents into a cross-linked, human-readable markdown wiki, maintained by an AI agent organized as a five-role newsroom. Drop articles, notes, and PDFs into a folder, run one command, and the agent — powered by Claude Code — reads them, extracts entities, concepts, and relationships, and organizes everything into interlinked pages. It’s a persistent, structured alternative to RAG. Unlike most takes on the idea, the agent that writes a page is never the one that reviews it, and the authoring guidelines evolve themselves over time.

View on GitHub » Read the FAQ »

See the output before installing

The example corpus shipped in the repo — the debate over what “open source” means for AI — is published as a browsable GitHub Wiki, so you can read the generated pages without cloning. The interactive knowledge graph below runs locally after you clone.

The interactive knowledge graph browser — every page a node, every wikilink an edge, auto-grouped into color-coded clusters

The interactive graph (graph/graph.html) — every page a node, every wikilink an edge, color-coded by auto-detected cluster, with a live physics layout and filter/search built in. Shown on a larger private deployment (~2,300 nodes) to convey how it scales; this repo ships a deliberately small 15-node example corpus you browse the exact same way.

What makes it different

It keeps the three-layer shape of Karpathy’s LLM Wikiraw/ for untouched sources, wiki/ for the pages the agent maintains, and a schema layer holding the operating rules — plus the same three operations: ingest, query, and lint. There are plenty of takes on that idea now; after reading the popular implementations, three things here are genuinely rare:

Nothing reaches the wiki until it clears both gates:

Gate Who What it checks How
1 copy editor links, citations, structure deterministic — tools/lint.py, a Python script, not a model
2 desk bias, argument quality, narrative flow qualitative — a fresh-context review against an editorial rubric

Machine-checkable things are checked by machine; only what needs judgment costs a model call.

The rest — the knowledge graph, contradiction tracking, cascading updates, plain-markdown/Obsidian output — many LLM-wiki tools have in some form. The self-evolving guidelines, the five-role newsroom with its rubric, and the Memex discovery are the bet.

How it compares to RAG

  RAG LLM Wiki Newsroom
Knowledge state re-extracted per query organized once, continuously updated
Retrieval unit source chunk structured wiki page
Cross-reference none wikilinks + backlink index
Contradiction handling may surface at query time flagged at ingest time + tracked
Accumulation effect none new sources enrich existing pages
Exploration keyword search graph traversal + associative trails

To be precise, this doesn’t do away with retrieval. Karpathy framed the wiki as a compile step for knowledge, not as a replacement for search, and the optional local search used here is itself a BM25 + vector hybrid. What changes is what gets retrieved: a few already-structured, cross-referenced pages instead of raw chunks reassembled from scratch on every query.

Highlights

When the split earns its cost

A separate reviewer costs more tokens and more wall-clock than letting one agent grade its own draft. That trade isn’t always worth it:

A wiki is the second case by construction: today’s page is tomorrow’s input, so an error doesn’t stay one error. That’s the bet here, and why this spends the extra tokens.

Where it stands

Quick start

git clone https://github.com/alfadur7/llm-wiki-newsroom.git
cd llm-wiki-newsroom

Or click “Use this template” to scaffold your own wiki repo. Then ingest your own sources with /wiki-ingest. Full setup, all nine slash commands, and the architecture are in the README.

Learn more


MIT-licensed. A structured, local-first take on the LLM Wiki pattern — built and maintained in the open.