Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
title: 'Karpathy's LLM Wiki Went Viral. Here's What It Means for Your Personal Knowledge Base.'
subtitle: Published April 2026
description: >-
Karpathy's LLM wiki pattern solves the oldest problem in personal knowledge management. Here's why it matters for your personal wiki, idea file, or knowledge base.
date: '2026-04-06T00:00:00.000Z'
author: Frances
section: Technical
hidden: false
---
import BlogNewsletterCTA from '@components/site/BlogNewsletterCTA.astro';
import BlogRequestDemo from '@components/site/BlogRequestDemo.astro';

## The post that broke the timeline

On April 3, 2026, [Andrej Karpathy posted something on X](https://x.com/karpathy/status/2039805659525644595) that traveled far beyond the AI crowd.
He described a shift in how he uses LLMs: from generating code to generating knowledge structure.
He showed a system where raw research materials go into a folder, an LLM compiles them into a structured wiki, and
a single research topic had grown to roughly 100 articles and 400,000 words without Karpathy writing a single word of it directly.

Two days later, he followed up with [a GitHub Gist he called an "idea file."](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f)
It describes a pattern for building personal knowledge bases using LLMs.
Within days, the post had spawned a wave of community implementations and serious debate about whether this approach makes RAG pipelines obsolete for personal use.

Why did it go viral? One line from the gist explains it:
"Humans abandon wikis because the maintenance burden grows faster than the value."

Everyone who has ever built a wiki, personal or professional, recognizes that sentence. The creation feels productive. The maintenance feels like busywork. Eventually the busywork wins, and the wiki rots.

Karpathy proposed a fix. Let the LLM do the busywork.

## How the LLM wiki works

The architecture is simple on purpose.
The foundation of this system is a two-tier directory structure: a `raw/` directory and a compiled wiki.
Raw sources are immutable: articles, papers, images, data files.
The LLM reads from them but never modifies them. This is your source of truth.

The LLM compiles those raw sources into a wiki directory of interlinked markdown files.
The LLM owns this layer entirely. It creates pages, updates them when new sources arrive, maintains cross-references, and keeps everything consistent.

Instead of building a traditional RAG system, Karpathy's approach treats the LLM as a compiler that reads raw source documents and produces a structured, interlinked wiki. The wiki itself becomes the knowledge base, with no embeddings or vector search needed at the scale of a personal knowledge base.

To keep things clean, Karpathy employs LLM "health checks" — automated passes that look for inconsistent data, fill in missing information using web search, and identify potential connections for new articles.

The human's role in all of this? Curate sources, direct the analysis, ask good questions, and think about what it all means. The LLM's job is everything else.

Karpathy uses [Obsidian](https://obsidian.md/) as the front end.
In practice, he has the LLM agent open on one side and Obsidian open on the other. The LLM makes edits based on their conversation, and he browses the results in real time, following links, checking the graph view, reading the updated pages.

## The idea file: sharing concepts instead of code

[The gist itself](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) is worth paying attention to. Karpathy didn't share a repo or an app.
He called it an "idea file" and published the concept intentionally abstract, intentionally vague, so that anyone can hand it to their own agent and get a version built to their own situation.

As [Glen Rhodes put it](https://glenrhodes.com/andrej-karpathys-idea-file-concept-shifts-the-shareable-unit-from-code-to-concept-in-the-llm-agent-era/):
"That is a genuinely different thing than what we've been doing for the last twenty years."

The gist is a description of a concept — specific enough to be actionable, loose enough that an agent can fill in the implementation details based on your particular tools, preferences, and context. You don't clone it. You hand it to your agent and say "build me this."

The community responded fast. Within two days, there were multiple open-source implementations, including [a Claude Code plugin implementing Karpathy's LLM Wiki pattern](https://github.com/rvk7895/llm-knowledge-bases) with commands for ingesting, querying, and linting. Developer Farza built ["Farzapedia,"](https://x.com/FarzaTV/status/2040563939797504467)
a personal Wikipedia compiled from 2,500 entries across his diary, Apple Notes, and iMessages. The result: 400 articles covering research areas, people, projects, and ideas — all interlinked, all maintained by AI.

<BlogNewsletterCTA />

## The maintenance problem is personal

The problem Karpathy described is one everyone faces, not just researchers. Anyone who has tried to maintain a personal wiki, a Notion database, an [Obsidian](https://obsidian.md/) vault, or even a well-organized notes app has hit the same wall.

You build it. You stop maintaining it. It rots.

The failure mode is structural. The tedious part of maintaining a knowledge base is the bookkeeping: updating cross-references, keeping summaries current, noting when new information contradicts old claims, maintaining consistency across dozens of pages. None of that requires deep thinking. All of it takes time. So it doesn't get done.

Karpathy's fix works because it offloads exactly that layer. The LLM handles the bookkeeping. The human handles the judgment.

## Your personal knowledge base doesn't have to rot

The pattern isn't only for academic researchers with 400,000-word wikis. It applies to anyone trying to keep their knowledge organized — at work or in the rest of their life.

Your work notes. Research for a side project. An idea file you've been meaning to maintain for two years. A personal knowledge base covering everything you've learned about a domain. These all fail for the same reason Karpathy diagnosed: the maintenance burden outgrows the habit.

What makes Karpathy's system different is that the wiki compounds over time instead of decaying. New sources go in, the LLM updates the compiled output, cross-references stay current. The knowledge base gets better as you use it, not worse.

[Promptless](https://promptless.ai/) is built around this same principle. You feed it your sources — notes, documents, links, research — and it maintains the compiled knowledge base for you. It handles the cross-references, the consistency checks, the updates you'd otherwise skip. You stay in the judgment seat.

The result is a personal wiki that doesn't rot. Your idea file stays current. Your research compounds. Whether you're organizing work knowledge or personal projects, the bookkeeping happens automatically.

Karpathy proved the pattern works. The question is whether you want to keep doing the maintenance manually.

<BlogRequestDemo />
Loading