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

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (29.5k stars)
  • Permissive open-source license (MIT)
  • Responsive to issues, low backlog

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

CC Haha

14.3k · TypeScript
Active A

Locally runnable version of Claude Code with cross-platform desktop app and Computer Use capabilities, including core module analysis.

typescriptcodingagent +2
  • · Cross-platform desktop workstation (macOS/Windows/Linux) with session management, multi-project switching, and terminal
  • · Branch/Worktree startup — choose repository branch and isolated workspace for new sessions
  • · Right-side code changes panel with real-time AI editing Diff and file changes view

Qwen Code

27.6k · TypeScript
Active A

An open-source AI coding agent that lives in your terminal, built by Qwen team with support for code generation, editing, debugging and multi-file operations.

codingllmtypescript +2
  • · Multi-protocol multi-provider — supports OpenAI, Anthropic, Gemini-compatible APIs with Alibaba Cloud, OpenRouter and more
  • · Qwen3-Coder co-evolution — both framework and Qwen3-Coder model are open-source and ship together
  • · Built-in Skills and SubAgents — rich built-in tools for full agentic workflow with Claude Code-like experience