GBrain
A GitHub repository shared by Garry Tan that packages skills and a knowledge-wiki style setup. Relevant to AI PMs interested in personal knowledge systems and reusable skill repositories.
Key Highlights
- GBrain is an MIT-licensed open-source retrieval and memory system designed for AI agents and knowledge-heavy workflows.
- It combines agentic retrieval with reusable skills and a markdown-based knowledge wiki, making it notable for personal and company brain use cases.
- Newsletter coverage repeatedly ties GBrain to OpenClaw, Hermes, Codex, Claude Code, and MCP-compatible agent stacks.
- For AI PMs, GBrain is a strong reference point for evaluating internal knowledge systems, agent memory, and retrieval infrastructure choices.
- Its positioning evolved from retrieval engine to broader company-brain framework with evaluative claims and packaged skill repositories.
GBrain
Overview
GBrain is an open-source retrieval, memory, and knowledge-wiki system created and shared by Garry Tan. Across newsletter mentions, it appears in two closely related forms: as a retrieval layer for AI agents and as a practical GitHub repository that packages reusable “skills” alongside the beginnings of a "Karpathy-style knowledge wiki." It is positioned as MIT-licensed infrastructure for building personal or organizational memory systems that can plug into agent stacks such as OpenClaw, Hermes Agent, Codex, and Claude Code.For AI Product Managers, GBrain matters because it sits at the intersection of three strategic themes: agent memory, reusable workflows, and knowledge management. Rather than treating retrieval as a generic RAG add-on, GBrain is framed as a production-oriented system for giving agents access to large bodies of markdown knowledge, structured skills, and company context. That makes it relevant for PMs evaluating how to operationalize internal knowledge, improve agent task performance, and design scalable “company brain” workflows that support product, engineering, research, and client-facing teams.
Key Developments
- 2026-05-18: Garry Tan announced that GBrain adopted ZeroEntropy as its recommended default embedding and re-ranking engine, replacing OpenAI and Voyage AI.
- 2026-05-20: GBrain was introduced as an MIT-licensed open-source retrieval and memory system that achieved state-of-the-art results on LongMemEval, reportedly outperforming known open-source repositories by more than 1% without LLM query rewriting.
- 2026-05-24: Garry Tan launched GBrain as a state-of-the-art retrieval engine for agents, built for OpenClaw and Hermes with MCP server support for broader agent-harness compatibility. Around the same time, GBrain updates added synthesized answers in addition to retrieval, with internal comparisons between “GBrain Search” and “GBrain Think.”
- 2026-06-01: GBrain was open-sourced on GitHub under the MIT license, with Garry Tan outlining a roughly 30-minute setup using a 350k-page markdown LLM wiki together with an OpenClaw/Hermes agent.
- 2026-06-06: GBrain was described as a modular “company brain” framework that structures work through scoped AI agents organized into client pods, signaling a broader architecture beyond retrieval alone.
- 2026-06-16: Garry Tan introduced GBrain as an open-source retrieval layer for AI agents, comparing it to a just-in-time “3-book librarian” and noting adoption by thousands of developers.
- 2026-07-21: GBrain was formally launched as a free open-source retrieval library optimized for Hermes Agent and OpenClaw, with Codex and Claude Code support, and positioned as infrastructure powering Garry Tan’s personal company brain and AI.
- 2026-07-28: Garry Tan shared that GBrain had reached state-of-the-art performance for agentic retrieval without LLM rewriting, with evaluation details published in the gbrain-evals GitHub repository.
- 2026-08-13: GBrain v0.45.6.0 was released with 17 new brain skills, reportedly hardened through use with Garry Tan’s personal OpenClaw agent across hundreds of thousands of markdown files. Support for Codex and Claude Code was emphasized.
- 2026-08-18: Garry Tan highlighted the GBrain GitHub repository as a private-repo-friendly package containing 70 proven skills and the early version of a “Karpathy-style knowledge wiki,” describing it as free, open source, and fully documented in the README.
Relevance to AI PMs
1. Designing practical memory systems for agents: GBrain offers a concrete example of how to move beyond simple chatbot retrieval toward persistent agent memory built on markdown knowledge bases, reusable skills, and evaluation-backed retrieval. PMs can use it as a reference architecture when defining internal copilots, research assistants, or product-ops agents.2. Building a reusable knowledge layer for teams: The emphasis on a knowledge wiki plus skill repository is especially relevant for PMs trying to standardize best practices across product, engineering, support, and go-to-market workflows. It suggests a way to encode playbooks, decision logs, onboarding docs, and task recipes into an agent-accessible system.
3. Evaluating retrieval infrastructure choices: GBrain is repeatedly framed around measurable retrieval quality, embedding/reranking choices, and support for multiple agent environments. AI PMs can study it to better assess tradeoffs among RAG stacks, MCP-compatible tools, embedding vendors, and internal “company brain” strategies before committing roadmap or platform resources.
Related
- garry-tan: Creator and primary public advocate of GBrain, sharing product updates, evaluation claims, and architecture examples.
- github: Main distribution channel for the open-source repository, documentation, and associated evaluation artifacts.
- openclaw and hermes-agent / hermes: Core agent environments GBrain is repeatedly described as being optimized for.
- claude-code and codex: Developer-agent tools that GBrain later added or emphasized support for, expanding its practical compatibility.
- gbrain-evals: The companion evaluation repository used to support claims about retrieval performance and state-of-the-art results.
- rag: GBrain is relevant as an evolution of retrieval-augmented generation toward stronger agent memory and retrieval quality, including cases without LLM query rewriting.
- zeroentropy, openai, voyage-ai: Referenced through GBrain’s embedding and reranking stack choices, with ZeroEntropy later becoming the recommended default over OpenAI and Voyage AI.
- mcp: Important because GBrain was presented as having MCP server support, making it easier to integrate into diverse agent harnesses.
- company-brain and client-pods: Concepts tied to the broader organizational architecture around GBrain, where scoped agents and structured knowledge power workflows.
- karpathy-style-knowledge-wiki: A useful shorthand for the wiki-like, markdown-heavy knowledge organization approach associated with the repository.
- git-history and dry: Related conceptually to reusable skills, versioned knowledge, and maintainable operational playbooks inside a repository-based brain.
- gstack, opus, hyojun_at: Adjacent entities in the broader ecosystem and conversation around agent tooling, knowledge systems, and AI workflow design.
Newsletter Mentions (17)
“Garry Tan shared the gbrain GitHub repository, describing it as offering a private GitHub repo with 70 of his “proven skills” and the beginnings of a “Karpathy-style knowledge wiki.””
GenAI PM Daily August 18, 2026 GenAI PM Daily 🎧 Listen to this brief 3 min listen Today's top 20 insights for PM Builders, ranked by relevance from X, YouTube, LinkedIn, and Blogs. Cursor releases Origin, its integrated code hosting platform #1 𝕏 Cursor released Origin, its code hosting platform, with deep Cursor integration and repository syncing from GitHub. Cursor describes Origin as fast and easy to use. Also covered by: @Cursor , @Guillermo Rauch #2 𝕏 Philipp Schmid demonstrated Gemini 3.7 Flash using his Android emulator via ADB for the task “Play 1 round of Wordle.” He said its latency and visual reasoning make it exceptionally good for multimodal agentic use cases such as mobile control and Computer Use. #3 𝕏 LlamaIndex 🦙 recapped ExtractBench, which requires both extracted values and citations to be correct and evaluates word-level boxes at IoU 0.5. LlamaExtract Agentic Plus led with 84.9% page-level and 46.4% word-level results, achieving 87.1% on long documents where other systems scored zero. #4 𝕏 Garry Tan shared the gbrain GitHub repository, describing it as offering a private GitHub repo with 70 of his “proven skills” and the beginnings of a “Karpathy-style knowledge wiki.” The material is free, open source, and MIT-licensed, with full documentation in the README.
“Garry Tan released GBrain v0.45.6.0 with 17 new brain skills, hardened through his personal OpenClaw agent using hundreds of thousands of markdown files.”
#15 𝕏 Garry Tan released GBrain v0.45.6.0 with 17 new brain skills, hardened through his personal OpenClaw agent using hundreds of thousands of markdown files. GBrain now works with Codex and Claude Code.
“Garry Tan demonstrates that GBrain is now state-of-the-art for agentic retrieval without any LLM rewriting, with full evaluation results in the gbrain-evals GitHub repo.”
GenAI PM Daily July 28, 2026. GBrain is discussed as a retrieval breakthrough with supporting evaluation artifacts.
“Garry Tan launched GBrain, a free open-source retrieval library optimized for Hermes Agent and OpenClaw (with Codex and Claude Code support) that powers his personal company brain and AI.”
Presented as an open-source retrieval layer for agentic knowledge access and personal AI memory.
“Garry Tan introduced GBrain, an MIT-licensed open-source retrieval layer for AI agents—acting like a Postgres-style, just-in-time “3-book librarian”—and it’s already in use by thousands of developers.”
#9 𝕏 Garry Tan introduced GBrain, an MIT-licensed open-source retrieval layer for AI agents—acting like a Postgres-style, just-in-time “3-book librarian”—and it’s already in use by thousands of developers.
“Summary: Garry Tan unveiled GBrain, a modular “company brain” framework that structures work via scoped AI agents organized into client pods.”
#12 𝕏 Summary: Garry Tan unveiled GBrain, a modular “company brain” framework that structures work via scoped AI agents organized into client pods. This detailed agent company architecture standardizes workflows and scales cross-functional collaboration.
“Garry Tan open-sourced GBrain (MIT-licensed) on GitHub and outlines a 30-minute setup using his 350k-page markdown LLM wiki plus an OpenClaw/Hermes agent that automates most tasks.”
#6 𝕏 Garry Tan open-sourced GBrain (MIT-licensed) on GitHub and outlines a 30-minute setup using his 350k-page markdown LLM wiki plus an OpenClaw/Hermes agent that automates most tasks.
“Garry Tan launched GBrain, an MIT-licensed, state-of-the-art retrieval engine for agents—built for OpenClaw and Hermes but with full MCP server support to plug into almost any agent harness.”
#6 𝕏 Garry Tan launched GBrain, an MIT-licensed, state-of-the-art retrieval engine for agents—built for OpenClaw and Hermes but with full MCP server support to plug into almost any agent harness. #10 𝕏 Garry Tan rolled out the latest GBrain update, which adds synthesized answers to your queries instead of just basic retrieval. An A/B test of GBrain Search vs. GBrain Think shows it improving in accuracy every single day.
“Garry Tan released GBrain—an MIT-licensed OSS retrieval and memory system that achieves SOTA on LongMemEval, beating all known open-source repos by over 1% without any LLM query rewriting.”
#12 𝕏 Garry Tan released GBrain—an MIT-licensed OSS retrieval and memory system that achieves SOTA on LongMemEval, beating all known open-source repos by over 1% without any LLM query rewriting. He’s already running it on his own 100k-page OpenClaw/Hermes Agent brain.
“#6 𝕏 Garry Tan announces that GBrain now ships with ZeroEntropy as its recommended default embedding and re-ranking engine, replacing OpenAI and Voyage AI.”
#6 𝕏 Garry Tan announces that GBrain now ships with ZeroEntropy as its recommended default embedding and re-ranking engine, replacing OpenAI and Voyage AI.
Related
Anthropic’s coding agent. It is relevant to AI PMs as a coding workflow product competing in enterprise and community adoption.
An AI company that released the Agents API and GPT-Live-1, both aimed at helping builders ship production-grade agent and voice experiences. It is also discussed in relation to GPT-6 Astra, benchmarking, and evidence tracing features.
OpenAI’s coding tool/agent used for software development workflows. It matters for PMs as a replacement or alternative in enterprise coding adoption.
A Slack-connected setup or workspace mentioned as being configured using AsideAI. It is relevant as an example of rapid AI-assisted integration setup.
YC leader and startup investor known for commenting on AI tooling and builders. In this newsletter he cites Aside and invites builders to a YC hackathon.
A protocol for connecting agents to external tools and systems in a standardized way. The newsletter mentions setup instructions that can be pasted into an agent to configure MCP.
A product or integration layer that now includes Perplexity Search. The newsletter only mentions it as the destination where Perplexity Search is embedded.
A software development platform used here as the source and sync target for repositories. It is central to AI coding workflows, plugin distribution, and agent automation.
RAG is a retrieval-based pattern that injects external context into prompts to improve model responses. The newsletter presents it as often outperforming fine-tuning for practical product work.
A model used in the newsletter as a reasoning and execution engine for product experimentation. It is described as generating daily A/B test ideas and implementing winners for a mobile game economy.
An AI agent environment or product that can host models and persona features. In this newsletter it appears both as a place where Qwen3.8-Max is available and as a tool with a /personality feature.
Stay updated on GBrain
Get curated AI PM insights delivered daily — covering this and 1,000+ other sources.
Subscribe Free