Browse projects/AI & chat/Keep memory across your agents/GBrain

Keep memory across your agents

Save facts with their sources and recall them in another conversation or agent.

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

Good to know

  • 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.
More setup notes
  • 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.

Your files & access

  • The tools connect to their local database. Network access also permits providers you explicitly configure later; none is configured by default.

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.

What UGT sets up for you
  • database service: pgvector/pgvector:pg17
  • GBrain at commit a94d50f3584d
How was it tested?

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.

Recipe files & version

The 4 recipe files

Recipe revision 53866c497f9b, from a94d50f3584d.

AI & chat

Use a private AI assistant on your computer.

All 3