📈 GH Trending Explorer 🎲 Surprise me

← all repos

garrytan / gbrain

git clone https://github.com/garrytan/gbrain.git v0.60.337.0 · 2d ago

Garry's Opinionated OpenClaw/Hermes Agent Brain

+20
stars, 24h · #1,871
+~131
stars, 7 days · #1,659
+~560
stars, 30 days · #1,478
31k
★ total · +0% this week
4.7k
forks · 435 open issues

Star history (as recorded here)

2026-10-20 · 31,031 ★ 2026-10-23 · 31,087 ★
LanguageTypeScript
LicenseMIT
Created2026-04-05 (6mo ago)
Last pushtoday
Watchers140
OwnerUser

Links

README excerpt
**Give the agent you already use a memory you control.** GBrain stores explicit facts with their sources, supports corrections and withdrawal, and makes the same memory available across your agents. Start with keyless memory and keyword retrieval; add semantic search, synthesis, and background enrichment when you need them.
> [!TIP]
> **Need hosted? First time running an agent?** Try **gbrain.io**, hosted GBrain, for the easiest experience: one brain for you and your team, connected to ChatGPT, Claude and Cursor, with nothing to install or keep online. Stuck? Email support@gbrain.io and a person will set it up with you, free.
**Keep skills beside knowledge.** New local brains include memory skills in their
content root. Agents can join an authorized catalog; only approved editors can
publish. Managed coding-agent installs add an owned native router; restart and
real-use verification are separate steps. Staged migration preserves sharing
choices and personal edits. See shared brain skills.
## Choose your setup
1. **Add GBrain to my existing agent — recommended.** Keep your agent's identity and save memory inside its environment. No new personal-agent identity or private repository is required. Start with the guide for **Grok Bot**, **Muse**, or **Codex / Claude Code**. Other harnesses.
2. **Use the brain on my own computer from everywhere.** One command publishes it over MCP on your Tailscale tailnet and keeps it running: `gbrain mcp expose` (add `--funnel` for cloud agents such as Grok Bot, Muse and ChatGPT). Follow **use your brain from anywhere over MCP**. **Say to your agent:** *"use my brain over mcp"* — *"put my brain on tailscale"*.
3. **Connect my existing hosted brain.** Follow **hosted harness access** to choose native OAuth or a private machine connection. For dashboard login, clients, and permissions, use **MCP administration** with the server's separate owner credential. Delegation is an explicit choice.
Grok **Bot** and Grok **Build** are different products. Muse's personal agent and **Muse Code** are different products too. Muse already has native editable memory; GBrain adds an explicit, portable record with provenance and shared access. See each guide's dated evidence and remaining verification steps.
I'm Garry Tan, President and CEO of Y Combinator. I built GBrain to run my own AI agents. It's the production brain behind my OpenClaw and Hermes deployments: **155,795 pages, 24,589 people, 5,340 companies**, 66 cron jobs running autonomously. My agent ingests meetings, emails, tweets, voice calls, and original ideas while I sleep. It enriches every person and company it encounters. It fixes its own citations and consolidates memory overnight. I wake up smarter than when I went to bed — and so will you.
**It works as a company brain too.** Authenticated remote clients are constrained by source and operation grants plus visibility filters. Local files and shared database credentials are a different trust boundary: sources alone do no