Second Brain β knowledge bases that AIs can read too
The "second brain" in 2026: from Tiago Forte's PARA/CODE method to Karpathy's LLM-maintained wiki, all the way to brains shared by many agents (GBrain, Obsidian vaults, llms.txt, MCP). How to build one that any AI can consult.
Second Brain β the complete manual (from the PARA method to the wiki the AI writes for you)
What a second brain is in 2026, the methods compared (Tiago Forte's PARA/CODE, the single note, Karpathy's LLM-compiled wiki, Farzapedia, GBrain, vaults shared by agents), the difference between agent memory and library, and a step-by-step plan to build a knowledge base any AI can consult: structure, indexes, llms.txt, MCP, maintenance.
- 1. What a second brain is (and what changed in 2026)
- 2. The key people and posts
- 3. The methods compared
- 4. Agent memory vs second brain: the two brains
- 5. Reference architecture: a brain any AI can consult
- 6. The three operations: ingest, query, lint
- 7. Routines and automation
- 8. Tools and costs
- 9. Common mistakes
- 10. Step-by-step plan (first 4 weeks)
- 12. Limitations of this manual
The original guides, summarized
10 articles from X
- Second Brain Engineering β a Grok Bot that turns your notes into finished work
Karpathy's wiki moved onto an always-on cloud computer. A "Brain" bot with a writing profile, traceable facts (source and last-checked date), a first exercise on a real conversation, then a skill, a Gmail label as a controlled intake, three routines (nightly filing, morning brief, Sunday review) and a file for corrections. The test: a second brain is worth it if it produces finished, verifiable work.
- One Obsidian vault shared by 8 agents (obsidian-second-brain) and the 2026 map of "LLM wiki" repos
The manual for obsidian-second-brain, an open-source (MIT) skill that turns an Obsidian vault into shared memory for Claude Code, Codex, Grok Bot, Gemini CLI, OpenCode, Hermes, Pi and any Agent Skills tool, plus an MCP server. Three commands to start, four scheduled agents (brief, nightly cleanup, review, health check), notes "written for agents" with two dates. Plus: the most shared repo lists on X for building a second brain without starting from scratch.
- Your agent has two brains β MEMORY.md (working memory) and the vault (library): how not to mix them up
The agent's memory (tiny files like MEMORY.md and USER.md that ride into the prompt) and the second brain (a vault or wiki the agent searches when needed) are two different systems. Merging them leads to an agent that forgets the rules or drags a novel into every reply. Fix: MEMORY.md as a router of a few lines, the vault for everything else, a promotion rule and a demotion rule, a weekly human review.
- GBrain β Garry Tan's (YC) open-source "Memex" for a personal and company brain that every agent reads
Y Combinator's CEO took Karpathy's wiki to the scale of tens of thousands of pages: 14,000 pages in week one, 74,114 pages and 117,855 links a month later, over 100,000 markdown files by May. GBrain (MIT) adds hybrid search, a relationship graph, an MCP server and skills; Markdown stays the source of truth. An entrepreneur uses it on ~7,000 company pages with 14 employees.
- Farzapedia β 2,500 diary entries turned into a personal Wikipedia built for the agent
Farza has an LLM read 2,500 diary entries, Apple Notes and some iMessage conversations and gets ~400 linked articles (friends, startups, research, favourite anime). The wiki is not for him but for the agent, which starts at index.md and drills into the right pages. Karpathy reposts it and draws four principles: explicit, yours, file over app, bring your own AI.
- "LLM Knowledge Bases" β the personal wiki an LLM writes and maintains for you (Karpathy)
Karpathy describes how he uses LLMs to build personal knowledge bases: raw sources in raw/, an LLM that "compiles" a wiki of .md files with summaries, concepts and backlinks, Obsidian as the front end, complex questions without RAG up to ~100 articles and ~400,000 words, periodic health checks. Two days later he publishes the llm-wiki.md "idea file" with a three-layer architecture (sources, wiki, schema) and three operations (ingest, query, lint).
- Tiago Forte β PARA, CODE and the "AI Second Brain" (the original method, updated for the age of agents)
The person who coined "Second Brain" explains the method underneath β CODE (Capture, Organize, Distill, Express), PARA (Projects, Areas, Resources, Archives), progressive summarization, intermediate packets β and how in 2026 he turned it into "Personal Context Management": giving AI the right information, in the right format, at the right time, with a Master Prompt and a PARA structure that feeds it.
- Context engineering, "LLM OS" and system prompt learning β why a second brain is the right context for AI
The theory behind second brains for AI. Karpathy (with Tobi LΓΌtke) prefers "context engineering" to "prompt engineering": filling the context window with just the right information for the next step. He links it to the vision of the LLM as the kernel of a new operating system (2023) and to "system prompt learning" (2025): the LLM writing a book for itself on how to solve problems. With Anthropic's guidance on compaction, structured notes and sub-agents.
- One single note and "file over app" β the simple foundations of Karpathy's (and Obsidian's) second brain
Before the LLM-compiled wiki, Karpathy used (and uses) a single text note where he appends everything on top and every now and then rescues what deserves attention. In 2024 he moves to Obsidian for a software-philosophy reason: local markdown files, no lock-in, Steph Ango's (kepano) "file over app". It is the foundation that makes a second brain readable by any AI.
- llms.txt β the file that makes a website (or a public second brain) readable by AI agents
Jeremy Howard's (Answer.AI, fast.ai) proposal: a markdown /llms.txt file with a title, a summary and lists of links to .md versions of the pages, which an agent reads first to find what it needs. Two years later v2 (August 2026) counts thousands of sites, automatic generation in docs platforms, a Lighthouse check and files published by OpenAI, Anthropic and Gemini. It is a website's "index.md".