AI product Open source · MIT

GBrain

GBrain is a self-hostable memory and knowledge system for AI agents, developed by Garry Tan. It stores explicit facts and source pages in Markdown, supports corrections and withdrawal, and makes shared memory available across agents through a CLI and MCP interface. It provides keyless keyword retrieval, optional semantic search and reranking, typed graph traversal, cited answer synthesis with gap analysis, background enrichment, and agent skills. The system uses PGLite by default for local brains and can use PostgreSQL with pgvector for shared or larger installations. GBrain is MIT-licensed and free to self-host; optional hosted access is provided through gbrain.io.

View repository