What actually is GBrain?
(Y Combinator CEO's personal agent brain)
Every agent memory tool you've seen solves a simple problem: store facts, retrieve facts.
GBrain solves a different one. It gives your agent a knowledge system that wires itself, enriches itself, and compounds while you're not even using it.
Here's what makes it fundamentally different from Mem0, Zep, LangMem, or a CLAUDE.md file.
The standard approach to agent memory is vector-based. Your agent stores memories as embeddings, retrieves them by semantic similarity, and that's the loop. Some tools add a knowledge graph on top.
GBrain flips the model entirely. The source of truth is a folder of markdown files. One page per person, one page per company, one page per concept. Every page follows the same two-part structure:
๐๐ผ๐บ๐ฝ๐ถ๐น๐ฒ๐ฑ ๐๐ฟ๐๐๐ต on top: your current best understanding, rewritten as new evidence arrives
๐ง๐ถ๐บ๐ฒ๐น๐ถ๐ป๐ฒ on the bottom: an append-only evidence trail that never gets edited
This is not a vector store with a markdown export. The markdown IS the system of record. You can open it in VS Code, edit it by hand, and ๐ด๐ฏ๐ฟ๐ฎ๐ถ๐ป ๐๐๐ป๐ฐ picks up the changes.
Now the part that makes this compound.
Every time a page is written, GBrain extracts entity references and creates typed relationship links: ๐๐ผ๐ฟ๐ธ๐_๐ฎ๐, ๐ถ๐ป๐๐ฒ๐๐๐ฒ๐ฑ_๐ถ๐ป, ๐ณ๐ผ๐๐ป๐ฑ๐ฒ๐ฑ, ๐ฎ๐๐๐ฒ๐ป๐ฑ๐ฒ๐ฑ, ๐ฎ๐ฑ๐๐ถ๐๐ฒ๐. All deterministic, all regex-based, zero LLM calls.
The knowledge graph wires itself on every single write, without spending tokens.
So when you ask "who works at Acme AI?" or "what has Bob invested in this quarter?", the agent walks the graph instead of relying on vector similarity (which struggles with relational queries like these).
Search layers ~20 deterministic techniques in concert: intent classification, multi-query expansion, vector search, keyword search, reciprocal rank fusion, cosine re-scoring, compiled-truth boosting, and backlink ranking. Each catches what the others miss.
But the real unlock is the compounding loop.
GBrain has a ๐๐ถ๐ด๐ป๐ฎ๐น ๐ฑ๐ฒ๐๐ฒ๐ฐ๐๐ผ๐ฟ that fires on every message and captures entities in the background. Person mentioned once? They get a stub page. Three mentions across different sources? Web enrichment kicks in. After a meeting? Full pipeline.
The agent runs a ๐ฑ๐ฟ๐ฒ๐ฎ๐บ ๐ฐ๐๐ฐ๐น๐ฒ overnight: scans conversations, enriches missing entities, fixes broken citations, consolidates memory. You wake up and the brain is smarter than when you went to bed.
This is fundamentally different from memory systems that only store what you explicitly tell them to store.
Garry Tan (President and CEO of Y Combinator) built this to run his actual AI agents. It ships with 34 skills, runs on embedded PGLite (no server, ready in 2 seconds), and works as an MCP server for Claude Code, Cursor, and Windsurf.
GBrain:
Show more