GBrain

Active
GitHub TypeScript MIT

Description

Garry Tan's opinionated OpenClaw/Hermes Agent Brain with optimized system prompts and agent workflows.

Key Features

  • Synthesis layer — Gives actual answers with citations instead of returning raw search results, with gap analysis
  • Self-wiring knowledge graph — Zero LLM calls to extract entity refs and create typed edges for deep queries
  • 24/7 dream cycle — Background daemon continuously ingests, enriches and consolidates memory overnight
  • Team collaboration — Per-user scoped views isolated by login, zero-leak guarantee
  • Claude Code/Codex integration — Two commands to wire into existing coding agents as a supercharged retrieval layer
  • Local-first — PGLite database starts in 2 seconds, no Docker or server required

Use Cases

💡 Personal knowledge management — auto-organize meetings, emails, tweets and ideas
💡 Shared institutional memory for teams with cross-department knowledge retrieval
💡 Meeting prep — auto-generate background summaries and action items for attendees
💡 Coding agent memory layer — give code assistants business context awareness
💡 People & investment tracking with entity graph relationships

Quick Start

```bash
# Quick local start (no Docker)
gbrain init --pglite

# Connect to Claude Code
claude mcp add gbrain -- gbrain serve

# Connect to Codex
codex mcp add gbrain -- gbrain serve

# Or let your AI Agent install automatically:
# Paste this into your agent:
# Retrieve and follow the instructions at:
# https://raw.githubusercontent.com/garrytan/gbrain/master/INSTALL_FOR_AGENTS.md
```

Related Projects