← all tools
Garry Tan (Y Combinator)·May 20, 2026·open source
GBrain
GBrain is an AI agent long-term memory and self-wiring knowledge graph system built by Garry Tan (YC President & CEO) to power his personal AI agents.
AI CodingAgentic AIAI/Dev InfrastructureOpen Source
What is GBrain?
GBrain is an AI agent long-term memory and self-wiring knowledge graph system built by Garry Tan (YC President & CEO) to power his personal AI agents. It gives agents a persistent, searchable brain with hybrid vector+graph search, automatic entity extraction, self-healing citation fixing, and overnight memory consolidation — now open-sourced for any developer to use.
Open-source AI agent brain by YC's Garry Tan — self-wiring knowledge graph with hybrid search powering 146K pages of personal knowledge.
Who GBrain is for
Teams and individual developers working in AI Coding, Agentic AI and AI/Dev Infrastructure.
Software engineers
Write, refactor and debug code faster in their existing workflowAI engineers
Build, orchestrate and debug multi-step agentsML and MLOps engineers
Serve, scale and monitor AI workloadsTech leads
Speed up code review and keep standards consistent across PRsAutomation engineers
Replace manual multi-step workflows with tool-calling agentsPlatform engineers
Run AI infrastructure reliably and cost-efficientlyKey features
01Self-wiring knowledge graph — every page write auto-extracts typed entity links (attended, works_at, invested_in, founded, advises) with zero LLM calls; hybrid search combining vector embeddings, BM25, and graph traversal achieves P@5 49.1%, R@5 97.9% on 240-page benchmarks
0243 scaffolded agent skills — signal detection, brain-ops, ingest, enrich, citation-fixer, daily-task-manager, cron-scheduler, eval framework; integrates as a skillpack into OpenClaw and Hermes agent platforms with 30-min setup
03Autonomous self-healing via gbrain doctor — one command computes a dependency-ordered remediation plan, submits jobs, re-checks score between steps, and refuses to exceed a user-defined cost cap; cron-driven autopilot runs unattended
GBrain use cases
Horizontal · cross-industry
RefactoringMulti-file refactors, API migrations and type-safe renames across a repo
Workflow orchestrationMulti-step tool-calling agents with planning, retries and state
Model servingHigh-throughput inference with batching and KV/prefix caching
Vertical · domain-specific
FintechChange ledger and payment services with test suites generated alongside
Customer supportTicket triage agents connected to CRM and knowledge-base APIs
EnterpriseSelf-hosted inference in a VPC to keep data in-house
GBrain alternatives
browse all →TencentDB Agent Memoryopen sourceTencentDB Agent Memory is a fully local, open-source long-term memory system for AI agents built by Tencent.Open Interpreteropen sourceOpen Interpreter is a coding agent designed to run locally on your machine, allowing large language models to execute code in languages like Python, JavaScript, and Sh…Bottegaopen sourceBottega is an AI agent designed to maintain state within applications rather than in its context window, allowing it to operate indefinitely without needing to compres…