GBrain

Self-hosted memory layer that stores sourced facts for your AI agents

Source repository

Overview

An agent memory that cannot show where a fact came from cannot be trusted — and cannot be fixed when it is wrong. GBrain is a memory layer built around sources, corrections and retractions.

Facts are stored explicitly, together with their sources, so what your agents remember can be checked, corrected or withdrawn.

What it does

  • Stores explicit facts with their sources attached
  • Supports corrections and retractions, not just additions
  • Retrieves three ways: keyword, semantic and graph
  • Offers optional cited synthesis on top of what it finds

How it runs

GBrain is self-hosted and works as a memory layer for existing AI agents — you bring the agents, it keeps the sourced record of what they should remember.

Who it's for

People giving agents long-term memory in settings where provenance matters: if a remembered fact cannot be traced to a source, it should not be driving decisions.

  • Local MCP server that turns your codebase into a queryable knowledge graph

    Mcp Servers Tool Connectors
  • Context optimization layer that compresses content before it reaches the model

    Mcp Servers Tool Connectors
  • Turn a codebase into a knowledge graph your AI assistant can query

    Mcp Servers Tool Connectors