Browse projects/GBrain
Run GBrain on your computer
☆ Archived on GitHubSave facts with their sources and recall them in another conversation or agent.
Keep memory across your agents
Ask your agent to remember a preference, project decision or useful fact. GBrain keeps an explicit record that your connected agents can recall later, with the source of each fact. You can correct a record or withdraw it while keeping its history.
This starts in keyless mode: saved facts and keyword retrieval need no model account. A local Postgres database lets separate agent connections share the same memory. Optional embedding, synthesis and background enrichment are left off until you deliberately configure them.
You start
UGT shows you what this tool needs.
You get
- GBrain's command line for this local memory database
- GBrain's memory tools, sharing the same saved facts across agent connections
Licences & source
GBrain MIT; bundled third-party notices remain in source. Bun MIT; PostgreSQL PostgreSQL License; pgvector PostgreSQL License. UGT's recipe and checks are Apache-2.0.
Setup & verification
- database service: pgvector/pgvector:pg17
- GBrain at commit
a94d50f3584d
Run on clean x86-64 (Intel/AMD) and ARM64 machines on 10 Nov 2026. Its check passed on a known sample and rejected deliberately broken results.
This checks the job this page describes, not every feature of the original project.
Known issues
- All AI apps connected to this local GBrain share its memory. This is not separation between different people or permission groups.
- Keyless mode stores explicit facts and supports keyword retrieval. Semantic search, synthesis and enrichment need separate provider configuration and may have costs; this setup does not enable them.
- The database and configuration survive stopping the tools. Use UGT's stop command to stop the recipe's database. Removing the recipe preserves its data unless you explicitly delete the data.
- Setup proves remember, recall, correction and withdrawal using synthetic facts, then expires those facts. GBrain retains their audit history. It does not install hooks or rewrite your agent's existing instructions.
