Gbrain(garrytan/gbrain)
gbrain 是一个开源且支持自部署的智能体外部记忆层,用来跨会话存储明确的事实。适合需要在多个工具间共享统一记忆的开发者。
32.3k · TypeScript
它支持事实的修正与撤回,且允许你先用关键词检索,再按需叠加语义搜索。直接访问 https://gbrain.io/?ref=readme 就能把 ChatGPT、Claude 和 Cursor 连起来,省得自己挂服务。
README 摘录
<h1><picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/brand/gbrain-wordmark-light.svg"><img src="docs/images/brand/gbrain-wordmark.svg" alt="GBrain" height="52"></picture></h1> **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. GBrain is MIT-licensed and free to self-host; gbrain.io is optional paid hosting. > [!TIP] > **Need hosted? First time running an agent?** Try **[gbrain.io](https://gbrain.io/?ref=readme)**, 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](docs/guides/shared-brain-skills.md). ## Choose your setup 1. **Add GBrain to my existing agent — recommended.** Keep your agent's identity and save memory inside its environment.