Practical Guides Β· knowledge base from X
🧠 Second Brain β€” knowledge bases that AIs can read tooMaster manual

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.

πŸ“– ~2.432 words⏱ 11 minπŸ”— 12 sourcesπŸ—“ updated 15 Nov 2026
Manual contents

How to read this manual. It merges the 10 guides in this theme (Karpathy Γ—3, Farza, Tiago Forte, Garry Tan, Mike Gannotti, tsukiema, Eugeniu Ghelbur, Jeremy Howard) plus two guides from other themes on agent memory. The material is mostly method: measured proof is scarce. The most solid sources are Karpathy's stated practice (precise scale and tools), GBrain's public numbers and llms.txt's documented adoption. Everything else is framework or personal experience, and I flag it section by section.

1. What a second brain is (and what changed in 2026)

Classic definition (2017–2023). An external digital repository of the ideas, insights and sources you encounter, organised to move projects forward: "our brains are for having ideas, not storing them". The term was popularised by Tiago Forte with the CODE method and the PARA structure @fortelabs.

2026 definition. A knowledge base made of text files that an AI agent reads, writes and maintains, and that any AI can consult before working for you. The shift was made explicit by: - Tiago Forte as early as late 2023: the second brain "is about training your own personalized AI assistant"; in 2026 he calls it Personal Context Management @fortelabs. - Andrej Karpathy, 2 April 2026: "LLM Knowledge Bases", 22M views and 108,510 bookmarks, the turning point of the whole wave: the LLM compiles a wiki from your sources and keeps it current; you pick the sources and ask the questions @karpathy. - Farza: the wiki "was not built for me! I built it for my agent!" @FarzaTV.

Why now. Three reasons recur across the sources: 1. Terminal agents (Claude Code, Codex, OpenCode, Grok Bot) read and write files on their own: maintenance, which killed human second brains, costs almost nothing @karpathy. 2. AI's bottleneck is no longer the model but context: "the delicate art and science of filling the context window with just the right information for the next step" @karpathy. 3. Text formats last, apps do not: "formats evolve over decades, apps over months, intelligence is evolving every day" (Steph Ango, Obsidian's CEO) @karpathy.

A critical voice on the name. Steph Ango dislikes "second brain" because it sounds "externalized and passive": it should be an exosuit, a direct extension of yourself @karpathy. And Forte insists no tool ever did the work of deciding what matters for him @fortelabs.

2. The key people and posts

Person Contribution Main post Engagement (X, 15/11/2026)
Andrej Karpathy LLM-compiled wiki; llm-wiki.md idea file; context engineering; single note "LLM Knowledge Bases", 2/4/2026 61,080 likes Β· 108,510 bookmarks Β· 22M
Andrej Karpathy idea file (gist) 4/4/2026 26,772 likes Β· 46,390 bookmarks Β· 7.35M
Andrej Karpathy +1 for "context engineering" 25/6/2025 14,322 likes Β· 9,197 bookmarks Β· 2.4M
Farza Farzapedia, 2,500 notes β†’ 400 articles 4/4/2026 4,909 likes Β· 6,129 bookmarks Β· 2.2M
Tobi LΓΌtke "context engineering" 19/6/2025 8,566 likes Β· 2,389 bookmarks Β· 2.1M
Garry Tan GBrain, 74,114 pages; "company brain" 5/6/2026 1,384 likes Β· 2,206 bookmarks Β· 189k
Steph Ango (kepano) "file over app"; pace layers 18/7/2026 1,620 likes Β· 840 bookmarks Β· 206k
tsukiema a Grok Bot second brain that produces finished work 21/10/2026 323 likes Β· 1,149 bookmarks Β· 735k
Tiago Forte PARA, CODE, AI Second Brain 27/3/2026 20 likes Β· 15 bookmarks Β· 10k
Jeremy Howard llms.txt 3/9/2024 18 likes Β· 2 bookmarks Β· 2.7k (adoption far wider)
Mike Gannotti agent memory vs vault 11/9/2026 13 likes Β· 16 bookmarks Β· 1.8k
Eugeniu Ghelbur obsidian-second-brain, a vault for 8 agents 14/10/2026 21 likes Β· 11 bookmarks Β· 2.2k

Reading: attention is hugely concentrated on Karpathy; the most practical sources for agents (Gannotti, Ghelbur) have small numbers but more operational content.

3. The methods compared

Method Who writes Structure Search Typical scale Proof
PARA + CODE you 4 folders by actionability; progressive summarization by hand personal framework, very widespread @fortelabs
Single append-and-review note you one note, append on top CTRL+F personal framework @karpathy
LLM wiki (Karpathy) the LLM immutable raw/ + wiki + schema; index.md, log.md index, then local search (qmd) ~100 sources, ~400k words medium-high @karpathy
Farzapedia the LLM entity wiki with backlinks, index.md the agent navigates files ~400 articles medium @FarzaTV
Vault shared by agents the agents, reviewed by you Obsidian vault + skills + MCP; nightly cleanup rebuilt index, links personal/small team medium @eugeniu_ghelbur
GBrain the agents markdown as truth + Postgres index; graph hybrid vectors + keywords + graph + reranker 10,000–100,000+ files medium @garrytan
Cloud "Brain" bot the bot, reviewed by you voice profile, facts with source and date, skills, routines the bot's files personal framework @tsukiema_

Where all 2026 sources agree: 1. Text (markdown) files you own, not data locked in an app or an AI provider @karpathy @FarzaTV @garrytan. 2. Raw sources stay intact and derived pages link back to them @karpathy @tsukiema_. 3. An index read first and short summaries at the top of pages @FarzaTV @eugeniu_ghelbur. 4. Periodic maintenance (lint, nightly cleanup, weekly review) @karpathy @eugeniu_ghelbur @MichaelGannotti. 5. A human in the loop: Karpathy adds sources one at a time at first; Gannotti treats agent writes like pull requests.

Where they disagree: - Do you need a vector database? No at small scale (Karpathy, Farza, Ghelbur: "you don't need a vector database"); yes past thousands of pages (Garry Tan: GBrain "mostly useful at 10,000+ files"; Bekkers: with ~7,000 pages "asking an agent to guess which file contains the answer is not a serious retrieval system") @garrytan. A criticism circulating on X argues the pure wiki "starts citing itself" past ~1,000 files (Able Varghese, "Provenance-First Wiki", little engagement, not verified). - New source = new page or rewrite? Karpathy: a source creates a summary page and updates 10–15 pages; Ghelbur: the source rewrites the pages it touches instead of adding one next to them @eugeniu_ghelbur. - Who writes? Forte: deciding what matters is a human skill you cannot delegate; Karpathy: the LLM writes the wiki, but you still read and think.

4. Agent memory vs second brain: the two brains

The most common confusion @MichaelGannotti: - Agent memory (MEMORY.md, USER.md, skills): tiny, always in the prompt. "An index and a constitution. It is not a library." - Vault / second brain: large, opened on demand when a pointer or a search says so.

Four layers: hot (rules, identity, active work, pointers), warm (vault pages), episodic (sessions and daily notes), procedural (skills). Key rule: if a fact will matter for 30-plus days, write a vault page and add a one-line pointer in memory. You need a promotion rule (otherwise it is a diary) and a demotion rule (otherwise consolidation eats your history).

It fits the theory: Karpathy calls "system prompt learning" the need for LLMs to take explicit notes for themselves β€” "they are quite literally like the guy in Memento, except we haven't given them their scratchpad yet" @karpathy. And Anthropic: context as an "attention budget", "just in time" retrieval through lightweight identifiers (paths, queries, links), structured notes outside the window, sub-agents that return 1,000–2,000-token summaries.

In the repo, the same problem seen from the code side: Salvor keeps decisions, learned failures and deferred findings in the repo, with human-gated capture @BlockchainDan; Supermemory's Company Brain brings shared memory into Slack for a whole organisation @DhravyaShah.

5. Reference architecture: a brain any AI can consult

The sources merged into a single structure:

brain/ AGENTS.md # schema: rules, conventions, workflows (CLAUDE.md as alias) CRITICAL_FACTS.md # who/what in ~120 tokens, read every session index.md # catalogue: link + one-line summary per page log.md # "## [YYYY-MM-DD] ingest | Title", append-only llms.txt # front door for external agents raw/ # immutable sources (+ raw/assets for images) wiki/ entities/ # people, companies, products concepts/ # ideas, methods projects/ # with an end date (PARA) areas/ # ongoing responsibilities decisions/ # date, context, decision, alternatives, who how-tos/ # procedures facts.md # repeatable numbers and statements skills/ # SKILL.md: how to do a job inbox/ # unsorted capture archive/

Where each piece comes from: AGENTS.md/CLAUDE.md schema, raw/, index.md, log.md @karpathy; CRITICAL_FACTS.md and the "for future agent" summary @eugeniu_ghelbur; facts.md and decisions.md with date, reason and author @garrytan; entities/, decisions/, how-tos/ @MichaelGannotti; projects/, areas/, archive/ @fortelabs; llms.txt @jeremyphoward; zero-cost inbox/ @karpathy.

Format of every page (the rules merged): 1. A 2–3 line summary for the agent at the top. 2. Frontmatter: type, tags, creation date, update date, sources. 3. Claims with source and last-checked date; for facts, two dates (when it was true, when we learned it) @eugeniu_ghelbur @tsukiema_. 4. Backlinks to the sources in raw/ and to related pages. 5. Contradictions flagged, never silently overwritten.

How AIs find it: - Agents with file access: read AGENTS.md, then index.md, then the pages (just-in-time retrieval). - Agents over the network: an MCP server on top of the folder (search, read, write with diffs), like the ones bundled with obsidian-second-brain and GBrain @eugeniu_ghelbur @garrytan. - External agents on the web: llms.txt with links to .md versions of pages @jeremyphoward. - Tell the agents explicitly: GBrain writes a "brain-first" block into CLAUDE.md/AGENTS.md because "agents seldom call an MCP server nobody told them about" @garrytan.

6. The three operations: ingest, query, lint

Ingest @karpathy: the source goes into raw/ (Obsidian Web Clipper for the web, images downloaded locally); the agent reads it, discusses the key points, writes a summary, updates the index and related pages (10–15 per source), appends to the log. At first one source at a time with you in the loop; later "file this new doc to our wiki". Controlled intakes: a Gmail label, the phone's Share sheet, voice memos; test on 5 items and rerun to check it creates no duplicates @tsukiema_.

Query: real tasks, not searches ("design this landing page using what inspired me") @FarzaTV; output also as Marp slides, charts, tables; good answers get filed back into the wiki. GBrain separates raw retrieval (search) from synthesis with citations and an analysis of what the brain doesn't know (think) @garrytan.

Lint: contradictions, superseded claims, orphan pages, concepts without a page, missing references, gaps to fill @karpathy; nightly cleanup and health check (duplicates, broken links) @eugeniu_ghelbur; weekly human review with promotion/demotion @MichaelGannotti; tools that argue with you ("a second brain that only agrees with you is a diary") @eugeniu_ghelbur.

7. Routines and automation

A pattern recurring across several sources @tsukiema_ @eugeniu_ghelbur:

When Job
night file new material, cleanup, rebuild the index
morning brief: current facts, drafts, decisions (facts / inferences / done / pending / questions kept apart)
weekly review: conflicts, stale notes, repeated corrections, merge proposals

Rules: first a complete manual cycle, then the skill, then the routine; a quiet state must mean "checked, nothing new"; an access failure must be visible; corrections have a precise scope and live in a dedicated file @tsukiema_.

8. Tools and costs

Need Options mentioned Cost
Files and front end Obsidian, any editor free
Agent Claude Code, Codex, OpenCode, Gemini CLI, Hermes, OpenClaw, Grok Bot subscription/API
Capture Obsidian Web Clipper, Share sheet, voice memos free
Search index.md β†’ qmd (BM25 + vectors, CLI + MCP) β†’ GBrain (Postgres/pgvector) free / DB costs
Ready-made skills obsidian-skills, obsidian-second-brain, wiki-skills, llm-wiki free (MIT/open source)
Web exposure llms.txt + .md pages free
Versioning git free
Training Forte Labs' AI Second Brain course $2,000–3,000

9. Common mistakes

  1. Being the engine yourself: perfect folders and tags maintained by hand die as soon as you get busy.
  2. Vault as prompt: concatenating everything into the system prompt worsens attention @MichaelGannotti.
  3. Two sources of truth for the same information with different dates @MichaelGannotti.
  4. Unreviewed agent writes: LLMs confidently store wrong memories @MichaelGannotti.
  5. Whole-life access: journals, passwords and client secrets in the same graph the agent rewrites @MichaelGannotti.
  6. Summaries that invent commitments: a discussed deadline becomes a promise @tsukiema_.
  7. No sources: a page without a link to its source cannot be verified and spreads errors @karpathy.
  8. A brain nobody consults: without "brain-first" instructions agents do not use it @garrytan.
  9. Infrastructure too early: a vector database and graph at 200 pages are just extra maintenance @garrytan.
  10. Unvetted community plugins: they can read and write the whole vault.

10. Step-by-step plan (first 4 weeks)

  1. Day 1 β€” a git repo with AGENTS.md, index.md, log.md, raw/, wiki/, inbox/. Write the ingest/query/lint rules and the page format into AGENTS.md.
  2. Days 2–7 β€” 10–20 sources, one at a time, reading every summary. Fix the schema whenever the agent gets it wrong.
  3. Week 2 β€” CRITICAL_FACTS.md (~120 tokens), facts.md, decisions.md. One page for each recurring person/project.
  4. Week 2 β€” a first skill on a real task with acceptance criteria; one complete manual cycle.
  5. Week 3 β€” connect the agents: brain-first instructions in their memory files, pointers instead of copies; MCP only if you need agents without file access.
  6. Week 3 β€” a nightly filing routine and a weekly lint, with a visible log.
  7. Week 4 β€” llms.txt if external AIs must consult the brain; consider local search (qmd) only if the index is no longer enough.
  8. Always β€” a weekly review: promote 3–10 lines into hot memory, demote stale ones, merge duplicates.

12. Limitations of this manual

  • Almost everything is method: no source measures how much better an AI works with a second brain than without one, apart from personal judgements and the GBrain author's evals.
  • The ecosystem changes every week (versions, commands, repo names): always check the current README.
  • Engagement numbers are those read on X on 15/11/2026; adoption numbers (copies, students, stars) are largely stated by the authors.

Sources cited

← Theme β€œSecond Brain β€” knowledge bases that AIs can read too” and all guides