Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • News
  • Blogs
  • Builds
  • Contests
  • Compare
Create
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    1,944+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    Categories
    • Agents1033
    • Coding970
    • Infrastructure415
    • Marketing397
    • Design335
    • Projects311
    • Analytics298
    • Research290
    • Testing180
    • Integration167
    • Data163
    • Security156
    • MCP145
    • Learning135
    • Communication120
    • Extensions114
    • Prompts110
    • Commerce105
    • Voice102
    • DevOps83
    • Web71
    • Finance18
    1. Home
    2. Tools
    3. GBrain
    GBrain icon

    GBrain

    Agent Memory

    An open-source CLI and TypeScript library that gives AI agents a persistent, searchable knowledge base built from markdown files, with hybrid vector+keyword search powered by Postgres and pgvector.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the MIT License. Use, modify, and distribute freely.

    Engagement

    Available On

    Windows
    macOS
    Web
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent MemoryKnowledge ManagementMCP Servers

    Alternatives

    cqClaude MemClaude Context
    Developer
    Garry TanSan Francisco, CAEst. 2005$10.25M raised

    Listed Apr 2026

    About GBrain

    GBrain is an open-source personal knowledge base engine designed to be installed and operated by AI agents. It indexes markdown files into a local or cloud Postgres database with pgvector, enabling hybrid search (vector + keyword + RRF fusion) so agents can read context before every response and write new knowledge after every conversation. The system supports a "compiled truth + timeline" knowledge model, 30+ MCP tools, and integration recipes for Gmail, Google Calendar, Twitter, Twilio voice calls, and meeting transcripts. Setup takes approximately 30 minutes with a frontier model like Claude or GPT handling the installation automatically.

    • PGLite local brain — Run gbrain init for an embedded Postgres 17.5 brain via WASM with no server, no accounts, and no connection strings required.
    • Hybrid search with RRF fusion — Combines vector (HNSW cosine) and keyword (tsvector) search with Reciprocal Rank Fusion and multi-query expansion via Claude Haiku for best-in-class recall.
    • 30 MCP tools — Expose get_page, put_page, search, query, traverse_graph, sync_brain, and more to any MCP client including Claude Code, Cursor, Windsurf, and Claude Desktop.
    • Integration recipes — Agent-readable markdown recipes for Gmail, Google Calendar, Twitter/X, Twilio voice-to-brain, and Circleback meeting transcripts; the agent reads the recipe, asks for API keys, and wires everything up.
    • Compiled truth + timeline model — Every brain page stores a rewritable "compiled truth" section above a separator and an append-only evidence timeline below, keeping facts current while preserving provenance.
    • Pluggable engine architecture — Swap between PGLiteEngine (local, zero-config) and PostgresEngine (Supabase Pro) with a single gbrain migrate --to supabase command.
    • File storage migration — Three-stage lifecycle (mirror → redirect → clean) moves binary attachments to S3-compatible or Supabase Storage while preserving all markdown references.
    • TypeScript library — Import createEngine from gbrain to embed the brain directly in any TypeScript/Bun project with the same operations as the CLI and MCP server.
    • GBRAIN_SKILLPACK — A reference playbook telling agents when to read, when to write, how to detect entities, run enrichment pipelines, and maintain the brain autonomously via cron jobs.
    GBrain - 1

    Community Discussions

    Be the first to start a conversation about GBrain

    Share your experience with GBrain, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (MIT)

    Fully free and open-source under the MIT License. Use, modify, and distribute freely.

    • Full CLI with 37 operations
    • PGLite embedded Postgres brain (local, no server)
    • Hybrid vector + keyword search with RRF fusion
    • 30 MCP tools via stdio
    • Integration recipes for Gmail, Calendar, Twitter, Twilio, Circleback

    Capabilities

    Key Features

    • Local PGLite embedded Postgres brain (no server required)
    • Hybrid vector + keyword search with RRF fusion
    • Multi-query expansion via Claude Haiku
    • 30 MCP tools via stdio
    • Remote MCP server via Supabase Edge Functions
    • Integration recipes for Gmail, Google Calendar, Twitter/X, Twilio, Circleback
    • Compiled truth + append-only timeline knowledge model
    • Pluggable engine: PGLite (local) or Postgres (Supabase)
    • Bidirectional migration between PGLite and Supabase
    • Three-stage binary file migration to cloud storage
    • TypeScript library with createEngine API
    • GBRAIN_SKILLPACK agent playbook
    • 37 CLI operations
    • Idempotent markdown import with SHA-256 content hashing
    • Three chunking strategies: recursive, semantic, LLM-guided
    • Page versioning and revert
    • Typed link graph with recursive CTE traversal
    • Daily briefing and meeting prep skills
    • Migration from Obsidian, Notion, Logseq, Roam
    • Health dashboard with stale/orphan detection

    Integrations

    OpenAI (text-embedding-3-large)
    Anthropic Claude (Haiku, Opus)
    Supabase (Postgres + pgvector)
    Gmail
    Google Calendar
    Twitter/X
    Twilio
    Circleback
    ngrok
    Claude Code
    Claude Desktop
    Cursor
    Windsurf
    Perplexity
    OpenClaw
    Hermes Agent
    AWS S3
    Cloudflare R2
    MinIO
    Supabase Storage
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate GBrain and help others make informed decisions.

    Developer

    Garry Tan

    President and CEO of Y Combinator. Co-founder of Initialized Capital and Posterous. Former designer and engineering manager at Palantir. Stanford BS in Computer Systems Engineering.

    Founded 2005
    San Francisco
    $10.25M raised
    85 employees

    Used by

    Stripe
    Airbnb
    Coinbase
    DoorDash
    +6 more
    Read more about Garry Tan
    WebsiteGitHubLinkedInX / Twitter
    2 tools in directory

    Similar Tools

    cq icon

    cq

    cq is an open standard by Mozilla AI for shared agent learning, enabling AI coding agents to persist, share, and query collective knowledge to avoid repeating failures.

    Claude Mem icon

    Claude Mem

    A memory management system for Claude AI that enables persistent context and conversation history across sessions.

    Claude Context icon

    Claude Context

    MCP server that provides persistent memory and context management for Claude AI conversations using Milvus vector database.

    Browse all tools

    Related Topics

    Agent Memory

    Memory layers, frameworks, and services that enable AI agents to store, recall, and manage information across sessions. These tools provide persistent, semantic, and contextual memory for agents, supporting personalization, long-term context retention, graph-based relationships, and hybrid RAG + memory workflows.

    35 tools

    Knowledge Management

    AI-powered systems for organizing, discovering, and accessing collective team knowledge with intelligent search, tagging, and contextual recommendations across knowledge bases and wikis.

    59 tools

    MCP Servers

    Model Context Protocol servers that extend AI capabilities.

    54 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026
    Discussions