Skip to content

Second brain · method

The Karpathy method. You pick the sources, the AI writes.

Instead of searching the documents on every question, the AI reads each source once and maintains a wiki about them. The idea is Andrej Karpathy's, published as a text to paste into the agent.

Whose it is
Andrej Karpathy
Original
The "LLM Wiki" text, April 2026
You need
An agent such as Claude Code. Obsidian is optional
Who writes
The AI. You read and ask

Read the original text ↗Watch it being built (Nate Herk) ↗

Our summary, written from the original. The method belongs to its author.

How it works.

Three layers. Each has an owner.

  1. The sources

    Articles, PDFs, transcripts. You choose what goes in. The AI reads and never changes them.

  2. The wiki

    Summary, concept and comparison pages, linked together. The AI writes all of them and keeps them current.

  3. The rules

    A file that tells the AI how the wiki is organised and what to do in each operation. You and it adjust it over time.

The folders, the two files and the three operations.

The names are the ones in the original text.

  • raw/The sources, as they arrived.
  • wiki/The pages the AI writes.
  • CLAUDE.mdThe rules of the wiki.
  • index.mdThe catalogue: each page with a one-line summary. The AI reads this before answering.
  • log.mdWhat happened and when. Append only.
  • ingestYou drop a source in the folder. The AI reads, summarises and updates the pages it touches.
  • queryYou ask. A good answer becomes a new wiki page.
  • lintFrom time to time, the AI looks for contradictions, loose pages and stale claims.

The log, in the format the text suggests

  • ## [2026-04-02] ingest | Article Title

You do not write the wiki.

Hand-made wikis die because upkeep is tiring: linking pages, updating summaries, noticing what changed. For the AI that work costs almost nothing. Yours is to pick the sources and ask good questions.

How to build it.

Read the original text ↗

  1. Create a folder and open the agent in it

    If you want to see the links, open the same folder as a vault in Obsidian.

  2. Paste Karpathy's text

    The original text was written for this. Paste it whole and, right below, this request.

    Paste into Claude Code

    Read this idea and build the structure in this folder: raw/, wiki/, index.md, log.md and the CLAUDE.md with the rules. Guide me step by step and ask me what I will use the wiki for.
  3. Drop in a source and ask it to read

    Save an article in raw/. Obsidian Web Clipper stores the page as text.

    Paste into Claude Code

    Ingest the new file in raw/. Before writing, tell me the main points.
  4. Ask and keep the answer

    Ask something that crosses more than one source. If the answer is good, ask for it to become a page.

  5. Ask for the review

    Once a week or every ten sources.

    Paste into Claude Code

    Lint the wiki: contradictions between pages, pages with no links, claims a newer source overturned. Show me the list before changing anything.

Where it wins and what it costs.

Where it wins

  • Study and research: read a lot on a subject and leave with a synthesis.
  • The wiki stays current because whoever maintains it does not get tired.
  • The log is almost the same as in the Pulpo Labs method: one line per event, with a date.

What it costs

  • Everything was written by the AI. Someone has to read and check.
  • With only the index, the text mentions about a hundred sources. Beyond that, it needs search.
  • The text describes the idea, not a product. You build your own version with the agent.

This part is our reading, not the author's.

The three methods, side by side.

It is not one against the other. Each solves a problem, and they combine.

IsenbergKarpathyPulpo Labs
Who writesYou. The AI only reads.The AI. You read and ask.Both, in separate places.
Good forThinking better and finding ideas.Studying a subject in depth.Running the daily work.
Core pieceDaily notes, linked together.The wiki and the index.The eu.md, the log and the decisions.
You feed itWhat you write.Articles, PDFs and transcripts.What you decide and correct.
Starts withObsidian and the habit of writing.Pasting a text into the agent.A kit with an installer.
The priceWriting every day.Checking what the AI wrote.Closing each delivery with a command.

Rather build it together?

In our training we build it with you, inside your company, with your folders and your rules.

Start with a diagnosisSee AI training →