GBrain
GBrain is an open-source personal knowledge management system created by Y Combinator President Garry Tan to provide AI agents with persistent, long-term memory. The system operates on a compounding memory mechanism: each interaction triggers a knowledge base lookup before response generation and writes new knowledge back afterward, building continuous contextual accumulation over time[^c9]. GBrain is the durable knowledge layer in a three-layer stack alongside [[projects/gstack|GStack]] (workflow and execution) and [[projects/openclaw|OpenClaw]] (agent runtime).
GBrain follows a [[projects/gbrain-architecture|'thin harness, fat skills' architecture]] — see [[projects/gbrain]] for the full project overview and [[projects/gbrain-architecture]] for architectural details.
By May 2026, Garry Tan's personal GBrain installation had grown to over 17,000 documents, 4,300 contacts, and 700 companies[^c3], and within one month of its public release expanded to 146,646 pages, 24,585 people, and 5,339 companies — a volume at which Tan stated the system had "become a necessity because grep can't cut it"[^c18][^c19]. The project had accumulated over 16,000 GitHub stars by mid-May, reaching 18,300 stars and 2,500 forks by late May[^c7][^c16]. Notable stargazers included Shopify cofounder Tobi Lutke, Pandas author Wes McKinney, and PingCAP cofounder Ed Huang[^c14]. Tan described GBrain as "the production system I use every day"[^c17]. Community extension projects began appearing within weeks of the initial release, bridging the system with tools such as Notion and using GBrain as a downstream project knowledge repository[^c15]. By late May 2026, a broader ecosystem of community-built second brain systems had emerged, extending GBrain's patterns to multi-agent runtimes, deterministic observing-memory layers, and portable cross-tool knowledge bases.
In June 2026, Tan published a manifesto arguing that the software industry's approach of building excessive tests, validators, and control logic around large language models had become obsolete. He characterized his own 540,000-line Rails project as a "Foxconn factory" — a control system built for an AI worker that no longer needed such constrained oversight. The companion [[projects/gstack|GStack]] framework, which emerged as a byproduct of building that project, had become one of the top 100 open-source projects in GitHub history by star count[^c22][^c20][^c23]. Tan advocated for "tokenmaxxing" — deliberately spending on LLM tokens as costs plummet — as a competitive advantage, and "skillifying" workflows by packaging every completed task into a reusable, tested skill pack[^c21].
Later versions introduced code graph support extending the knowledge graph paradigm to software symbols, self-healing diagnostics via automated remediation, and an autopilot mode for continuous background operation[^c10][^c11][^c12]. The system has generated both enthusiasm for its approach to compounding AI memory and debate over its architectural decisions, particularly regarding features that rely on LLM-interpreted instructions rather than deterministic code[^c5].
In June 2026, Y Combinator issued a Company Brain Request for Startups identifying domain knowledge as the primary bottleneck for enterprise AI automation, and GBrain was positioned as the key open-source implementation of this concept — a system that transforms organizational knowledge into executable, auditable skill files that AI agents can act upon[^c24].