Fetching from the wire…
Top 5 · 2026-04-12 · source-backed
Andrej Karpathy published a GitHub Gist proposing something that made me uncomfortable at first: replace RAG with a persistent, LLM-maintained markdown wiki that compounds over time. No vector database. No embedding pipeline. No chunk-size tuning. Just markdown files that an AI agent maintains, updates, and queries.
His personal wiki has grown to roughly 100 articles and 400,000 words since December, built entirely by AI. Karpathy didn't type code to create any of it. The LLM reads sources, synthesizes information, and maintains a growing knowledge base in plain text.
I built Rayni specifically around pgvector RAG. I've spent weeks tuning chunk sizes, overlap ratios, and reranking strategies. Karpathy's argument isn't that RAG doesn't work. It's that for personal knowledge management and research workflows, a wiki maintained by an AI is simpler, more inspectable, and compounds better. RAG retrieves. A wiki reasons about structure over time. Different tools, different affordances.
The ecosystem is already responding. Apify shipped a "Second Brain Builder" automation tool that implements the pattern. Multiple analysis pieces on Medium and Substack are calling it the future of personal knowledge management. The pattern resonates because it's accessible. You don't need to understand embeddings or vector similarity to maintain a wiki.
The skeptic in me sees limits. A 400K-word wiki fits in a single context window for frontier models. What happens at 4 million words? At 40 million? RAG's advantage is that it scales to corpus sizes that can't fit in context. The wiki pattern works for personal knowledge. I don't think it works for enterprise document stores with millions of pages.
But there's a deeper point. Most developers building RAG systems are over-engineering for their actual scale. If you have under 1,000 documents, you probably don't need vector search. A well-organized collection of markdown files with an AI that can read and update them might genuinely be simpler and more effective.
For builders: before you add a vector database to your next project, ask how many documents you're actually indexing. If the answer is under 500, try the wiki pattern first. You can always add RAG later. Going the other direction, ripping out infrastructure you already built, is much harder.
Each link below shares sources, entities, or timing with this story.
Andrej Karpathy uses Claude / Shared entities / Same source / Shared topic / What happened next
Linked by a graph relationship (Andrej Karpathy uses Claude); both cover GitHub Gist, Karpathy, LLM, RAG; cite the same source (GitHub Gist).
Andrej Karpathy uses Claude / Shared entities / Shared topic / What happened next / Tension
Linked by a graph relationship (Andrej Karpathy uses Claude); both cover Andrej Karpathy, December, Karpathy, LLM; overlapping topics (code, document, karpathy).
Andrej Karpathy uses Claude / Shared entities / Shared topic / What happened next
Linked by a graph relationship (Andrej Karpathy uses Claude); both cover Karpathy, RAG; overlapping topics (articl, knowledge, pattern, personal, wiki).
Andrej Karpathy works at Anthropic / Shared entities / Shared topic / Earlier coverage / Tension
Linked by a graph relationship (Andrej Karpathy works at Anthropic); both cover LLM, RAG; overlapping topics (code, context, pattern).
Andrej Karpathy works at Anthropic / Shared entities / Shared topic / What happened next
Linked by a graph relationship (Andrej Karpathy works at Anthropic); both cover Karpathy, LLM; overlapping topics (code, karpathy, markdown).
LLM uses OpenAI / Shared entities / What happened next / Tension
Linked by a graph relationship (LLM uses OpenAI); both cover LLM, RAG; picks up the LLM thread on 2026-07-27.
Andrej Karpathy uses Claude / Shared entities / Shared topic / Earlier coverage
Linked by a graph relationship (Andrej Karpathy uses Claude); both cover Andrej Karpathy, Karpathy, LLM; overlapping topics (code, document, karpathy).
Andrej Karpathy uses Claude / Shared entities / Shared topic / What happened next
Linked by a graph relationship (Andrej Karpathy uses Claude); both cover Andrej Karpathy, Karpathy, LLM; overlapping topics (code, karpathy).