GBrain plugin Coming in the next release
Give your agent a memory that stays on your computer.
GBrain is an open-source memory system for AI agents by Garry Tan, under the MIT license. deputyOS runs it inside one of your agents, so a Hermes Agent or OpenClaw agent remembers people, projects and decisions across conversations, and answers from notes you give it. No API keys, and the memory never leaves the agent.
What you get
-
It remembers what you tell it
Ask it to remember something ("Maria prefers invoices on the 1st") and it can find it in a later conversation, even weeks later.
-
It knows your notes
Import a folder of Markdown notes, such as an Obsidian vault shared from your computer, and the agent answers from it. Changes are picked up about once an hour.
-
It checks memory first
deputyOS adds GBrain's own "check the brain first" instructions to the agent: to SOUL.md for Hermes Agent, and to the workspace AGENTS.md for OpenClaw.
At a glance
| Project | GBrain by Garry Tan |
|---|---|
| License | MIT |
| GitHub stars | 33k (20 November 2026) |
| Agent platforms | Hermes Agent and OpenClaw, on your computer and in the cloud |
| Reaches the internet | No: its service can reach only the agent itself |
| Memory | About 400 MB while running; a 4 GB agent is fine |
| Disk | About 630 MB |
Limits, today
- Search is by keyword. A question worded differently from your notes ("Who does my taxes?" when the note says "accountant") can miss. Search by meaning, using a local embedding model, is planned but not available yet.
- Hermes Agent and OpenClaw only, for now.
- One memory per agent. Agents don't share one.
- Folder import reads Markdown (.md) files. PDFs and Word files aren't imported yet.
Sites the install needs
The first install downloads the plugin, so the agent needs internet access then. If the agent may reach only a list of allowed sites, allow these first:
github.comcodeload.github.comrelease-assets.githubusercontent.comregistry.npmjs.org
How it works
- Open the agent in the deputyOS app, go to Plugins and choose Turn on next to GBrain.
- deputyOS downloads GBrain 0.60.593.0 and the Bun 1.4.4 runtime it needs,
and checks both against SHA-256 checksums that ship with deputyOS. It
creates the memory in the agent’s data folder, starts GBrain as one
service inside the agent, listening only on
127.0.0.1behind a token, and connects the agent to it over MCP. The first install takes 2 to 3 minutes, with internet access. - Start a new chat with the agent. The instructions are read when a conversation starts.
GBrain’s own self-update is turned off. New versions arrive with deputyOS’s updates.
What stays private
- No API keys, no embedding service. By default GBrain searches by keyword, so no note or question is sent to an embedding provider.
- The memory never leaves the agent. GBrain runs inside the agent and can only be reached from inside it. The memory service has no internet access of its own.
- Backed up with the agent. The memory is stored in the agent’s data folder, so every backup includes it.
- Your AI service still sees what the agent reads. When the agent finds something in memory, it uses that in the conversation with your AI service. To keep conversations on your computer as well, use AI on your own computer.
Check that it works
In a new chat, ask: “Remember that my accountant is Ana Diaz.” Start another new chat and ask: “Who is my accountant?” The agent should answer from its memory.
Questions
- What is GBrain?
- GBrain is an open-source memory system for AI agents by Garry Tan, under the MIT license. It keeps what an agent learns as Markdown pages about people, companies, projects and facts, and lets the agent search them. deputyOS runs it for you inside one agent. deputyOS isn't affiliated with or endorsed by Garry Tan, Y Combinator or gbrain.io.
- How is this different from gbrain.io?
- gbrain.io is GBrain's hosted service. deputyOS is a way to run GBrain yourself, privately, inside one agent on your own computer or a cloud machine you choose.
- Does my data leave my computer?
- The memory itself stays inside the agent. GBrain searches by keyword by default, so no note or question goes to an embedding provider. When the agent finds something in memory, it uses that in its conversation with your AI service; with AI on your own computer, that stays on the computer too.
- What happens if I turn it off?
- The agent is disconnected, GBrain stops, and the instructions are removed. The memory itself is kept in the agent's data folder and its backups: turn it on again and the agent remembers everything.
- Can I use my Obsidian vault?
- Yes, if it is Markdown. Share the folder with the agent from your computer, then choose it in Plugins → GBrain. deputyOS imports it and checks for changes about once an hour. GBrain keeps its own copy; your original files aren't changed.
More plugins
-
MarkItDown
Reads PDFs, Word, Excel and PowerPoint files as text the agent can use.
-
Browser
A real web browser the agent can use, starting clean every session.
-
Search
Private web search with SearXNG, with no account or API key.
Put your first agent to work today.
Install the app on a computer you already have and put your first agent to work, free and with no account. Planning a rollout across a team or a site? Talk to us first.