A new system, dubbed GBrain, is gaining traction as a method for providing artificial intelligence agents with a persistent, self-organizing memory. Developed by Garry Tan, President and CEO of Y Combinator, GBrain appears to function as a knowledge graph, allowing AI agents to retain and recall information across interactions.

The system is built using TypeScript and runs on Bun, a modern JavaScript runtime. GBrain installation is streamlined, often involving a global bun install -g github:garrytan/gbrain command. Initialization creates a local PGLite database, typically located at ~/.gbrain/brain.pglite, which supports pgvector for embeddings. For its worker daemon, however, the gbrain jobs supervisor component requires a full PostgreSQL setup.
GBrain's architecture emphasizes a "Thin Harness, Fat Skills" philosophy, meaning the core GBrain system is relatively lean, while intelligence is vested in the external "skills" that interact with it. This approach allows for flexibility in agent design. The system facilitates data import via commands like gbrain import, which handles content-hash deduplication of sources such as Markdown notes.
Read More: GPU Hackathon Questions Chess Mastery and Training Methods

Core Functionality and Configuration
GBrain distinguishes between the "Brain" itself – the central database (Postgres or PGLite) – and "Sources," which are the origins of the data being ingested. Initialization, via the gbrain init command, configures the engine and prepares the necessary database schema.

"GBrain connects directly via the PostgreSQL wire protocol."
For embedding generation, GBrain has evolved. New installations default to using ZeroEntropy for embeddings, a change from earlier versions that required an OPENAI_API_KEY. The ZEROENTROPY_API_KEY is now necessary for this function. For specific configurations, such as with Supabase, users must employ the Shared Pooler connection string (port 6543), as direct connections on port 5432 can falter in IPv4-only networks.
Agent Integration and Use Cases
GBrain is designed for integration with various agent platforms. For instance, it can be added to agent environments like Claude Code using commands such as claude mcp add gbrain -- gbrain serve. This allows agents to access GBrain's functionalities, which include operations like get_page, put_page, delete_page, list_pages, search, and query.
Read More: OpenAI Launches GPT-5.5 on May 24 2026 for Better AI Safety
The system supports multi-hop traversal through its graph structure using gbrain graph-query. This capability is detailed in documentation such as docs/architecture/RETRIEVAL.md.
Recent discussions highlight GBrain's role in addressing agent memory limitations. By acting as a persistent memory layer, it aims to resolve issues where agents "forget" information. A practical demonstration involves setting up GBrain to synchronize data from platforms like X (formerly Twitter), using cron jobs to periodically update the GBrain database with user activity.
Background and Development
GBrain’s development, as detailed in its origin story within docs/ethos/ORIGIN.md, presents it not as a mere proof-of-concept but as a system already deployed at scale, powering production workflows. The project has garnered significant attention from developers and tech news outlets, with detailed installation and usage guides appearing across multiple platforms. Its connection to established frameworks like GStack, a popular coding engine, further indicates its potential for broad adoption.
Read More: Sintrone ABOX-5210G for Edge AI GPU Computing Released