# garrytan/gbrain

Garry's Opinionated OpenClaw/Hermes Agent Brain

Repository: https://github.com/garrytan/gbrain
Canonical: https://ross.abutalabs.com/products/gbrain
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T20:52:13+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 10
- inputs: {"age_days": 150, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 68}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 29146, forks 4322 (observed 2026-08-28T04:11:53.048273+00:00)

## What it is
GBrain is a self-hosted 'brain layer' for AI agents that combines a knowledge graph, vector search, and a synthesis engine to return cited answers rather than raw search results. It ingests meetings, emails, tweets, and voice calls, extracts entities and typed relationships without LLM calls, and can run autonomously on cron schedules or plug into coding agents like Claude Code as a retrieval layer.

## Use cases
- give my AI agent persistent memory across meetings and emails
- build a personal knowledge base that answers questions with citations
- query who works at a company or who invested in what from my notes
- set up a shared company brain with per-user access scoping
- wire a retrieval layer into Claude Code or Codex
- run an autonomous agent that ingests and enriches data overnight
- find gaps in what my knowledge base doesn't know yet

## When to choose
- you want an agent memory layer that combines graph traversal, vector search, and synthesized answers in one self-hosted package
- you need entity-relationship queries (works_at, invested_in, founded) that plain RAG can't answer
- you want per-user scoped institutional memory for a team with verified access isolation

## When to avoid
- you only need simple keyword search or a plain vector store without synthesis
- you want a fully managed cloud service rather than running your own database and hardware
- you need a mature, independently audited product rather than an opinionated personal project

## Facets
- artifact type: library
- maturity: active
- function: rag, search-engine, vector-database, agent-framework, nlp, llm-inference, scheduling, webhook
- domain: artificial-intelligence, large-language-models, databases, developer-tools
- platform: self-hosted, cli
- tags: knowledge-graph, personal-knowledge-base, memory-layer, entity-extraction, citation-synthesis, gap-analysis, company-brain, agent-memory, graph-traversal, autonomous-agents, ai-agents, retrieval-augmented-generation, search, knowledge-graphs, nodejs, typescript, docker

## Member repositories
- garrytan/gbrain (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:53.048273+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:53:10.610246+00:00, confidence not recorded.
  - readme: https://github.com/garrytan/gbrain (fetched 2026-08-28T04:11:53.048273+00:00, sha 96a93bf693be)
- Data as of 2026-08-30T08:39:29.467469+00:00.
