GBrain is Garry Tan’s open-sourced personal knowledge infrastructure: a structured, LLM-maintained repository where every person, company, meeting, book, article, and idea you engage with gets a page. Tan’s instance has roughly 100,000 pages. The repo ships 39 installable skills; the underlying retrieval system claims 97.6% recall on LongMemEval, beating MemPalace with no LLM in the retrieval loop.
The framing matters: Tan calls it the difference between a filing cabinet and a nervous system. A filing cabinet stores. A nervous system connects, flags what’s changed, and surfaces what’s relevant now.
The Schema
Every page has the same three sections:
- Compiled truth at the top — the current best understanding of whoever or whatever the page is about. State that’s continuously rewritten as new information arrives.
- Append-only timeline below — events in chronological order. Never deleted, always added to. This is the audit trail that makes the compiled truth verifiable.
- Raw data sidecars — source material (transcripts, emails, articles, PDFs) attached to the page rather than embedded. Cheap to store, expensive to read; the LLM consults them when the timeline summary is insufficient.
This schema is shaped by the load: a personal Wikipedia where every page is being continuously updated by an agent that was at the meeting, read the email, watched the talk, ingested the PDF. The append-only timeline + compiled-truth-on-top split is what lets the system rewrite the summary without losing source material.
Page Types
- Person pages — every person you meet. Timeline of interactions, current state (role, company, what they’re working on), open threads (unresolved questions, things you owe them), and a score (Tan’s framing for “how well do I know this person, how active is the relationship”).
- Company pages — same shape; metrics, latest funding, portfolio relevance, your interaction history.
- Meeting pages — transcript, structured summary, and the event that triggers entity propagation (below).
- Book pages — chapter-by-chapter mirror (see Book Mirror Pattern); cross-linked to whatever ideas/people the mirror cited.
- Article / podcast / video pages — ingested via media-ingest skill; entities extracted, tags applied, filed to the right brain location.
- Idea pages — concepts, frameworks, recurring threads of thinking. The connective tissue between the entity pages.
Entity Propagation
The single most important pattern. After every meeting, the system walks through every person and company mentioned in the transcript and updates their brain pages with what was discussed.
The meeting page is not the end product. The propagation back to every entity page is the real value. Without propagation, meeting notes are write-only — searchable in theory, ignored in practice. With propagation, the next time you walk into a meeting with that founder, the system already knows what you discussed last time and where it left off.
This is the load-bearing piece for the book mirror and meeting-prep skills downstream: those skills work because the entity pages they read from are continuously, automatically up to date.
Compounding Mechanics
Tan’s central claim about the brain: “The system today is 10× what it was two months ago, and two months from now it’ll be 10× again.”
The compounding has three sources:
- Each new input enriches the substrate. A meeting with a founder updates that founder’s page, but also any companies, ideas, or other people the meeting referenced. New data lands in many places at once.
- Each new skill makes existing data more useful. When the book-mirror skill improved (versions 1→2→3, see Skillify - Meta-Skill Pattern), every book in the brain — past and future — became readable through a better lens.
- Cross-references densify. As the graph grows, the average density of connections per page rises. A query that fired across 12 pages a year ago now fires across 80, with no extra work from the user.
The corollary: the marginal value of each new input is increasing, not flat. A 100,000-page brain absorbs a meeting better than a 1,000-page brain does.
What’s Open Source
Tan ships GBrain as a git repo: github.com/garrytan/gbrain. Installation is one command. It includes:
- 39 installable skills (book-mirror, meeting-ingestion, enrich, media-ingest, perplexity-research, calendar-check, email-triage, investor-update-ingest, more)
- The retrieval system benchmarked at 97.6% on LongMemEval (no LLM in the retrieval loop)
- Cron infrastructure for ambient processing of social media, Slack, email, calendar
- The schema documentation
It is meant to be installed alongside a harness (OpenClaw or Hermes Agent recommended; Tan runs both).
Comparison: This Vault
This vault is itself a Karpathy-style LLM Wiki — the same lineage GBrain explicitly cites as inspiration. The structural similarities are real: flat structure with MOCs, frontmatter on every page, [[wikilinks]], an append-only log.md, an index.md master catalog.
The differences are also real:
- Scope. This vault is single-user, manual-ingest, narrative-style. GBrain is multi-skill, ambient-ingest (cron-driven), partly automated.
- Page types. This vault has heavy concept and entity coverage; it does not yet have person pages with timelines and scores, or meeting pages with entity propagation.
- Compounding source. This vault’s compounding comes from cross-references between concepts. GBrain’s comes additionally from ambient processing — things flowing into the brain from email, calendar, Slack, social, transcripts, without the user kicking off an ingest each time.
If this vault evolves toward GBrain’s shape, the next moves would be: a private/personal layer (separate from the public-facing Sources and concepts), an entity-propagation step on the ingest workflow, and at least one cron skill (e.g. weekly journal ingest, calendar-check). The current [[Vault Maintenance Spec]] is a precursor — long-running agent over the vault doing maintenance — but does not yet do propagation.
Connections
- Fat Skills Fat Code Thin Harness — GBrain is the “fat data” layer of the architecture
- Book Mirror Pattern — canonical worked example of a skill that needs GBrain to work
- Skillify - Meta-Skill Pattern — produces the skills that read from and write to GBrain
- Cross-Modal Evaluation — quality gate before content lands in the brain
- Agent Memory — the broader topic; GBrain is one (very fat) instance of the structured-note-taking (“agentic memory”) pattern
- Self-Extending Agents — the philosophy GBrain ships an opinionated implementation of
- OpenClaw — the harness on top; GBrain is what it routes against
- WikiLLM - How to Use This Wiki — this vault’s own lighter-weight take on the same idea
Sources
- Meta-Meta-Prompting: The Secret to Making AI Agents Work — Garry Tan, 2026-05-09; the most complete public description; cites Karpathy’s LLM Wiki gist as direct inspiration