Twitter/X

Garry Tan moved ~13,000 markdown files of his personal knowledge base into…

Brief

Garry Tan published gbrain (MIT) as a personal search engine that stores ~13K markdown notes in PostgreSQL + pgvector to index people, companies, meetings, ideas and media. The repo includes install commands (bun, gbrain init --supabase, gbrain import), schema/skillpack guidance (agent loop, entity detection, back-linking, enrichment) and an ops rule: daily gbrain check-update that notifies only on feature changes, never auto-installs.

Why it matters

Garry Tan moved ~13,000 markdown files of his personal knowledge base into PostgreSQL + pgvector to create a personal search engine for people, companies, meetings, ideas and media; he open‑sourced the project as gbrain under the MIT license (github.com/garrytan/gbrain) — announced 2026-04-10.

Key details

  • Install/run steps: ensure bun (curl -fsSL bun.sh/install | bash), then run `bun add github:garrytan/gbrain`; initialize with `gbrain init --supabase`; scan ~/git/ and ~/Documents/ for markdown repos and import with `gbrain import <path> --no-embed`; run queries to verify search.
  • Architecture/ops guidance in docs: follow GBRAIN_RECOMMENDED_SCHEMA.md and GBRAIN_SKILLPACK.md (use brain-agent loop, entity detection, source attribution, 'iron law' back-linking, enrichment pipeline); set a daily cron `gbrain check-update` that notifies only on new features, never auto-installs.
Reader · no content

No body text on file.

Open the original to read the full piece.