# GBrain
## Overview
Moteur de connaissance **gbrain** (par Garry Tan). Version forkée et configurée pour FATAPLUS.
## Specs
| Propriété | Valeur |
|-----------|--------|
| **Version** | 0.22.4 |
| **Path** | `/root/gbrain/` |
| **Sources** | 38 |
| **Pages indexées** | 10k+ |
| **Runtime** | Bun |
| **Package manager** | bun (bun.lock) |
| **DB** | PGLite (default) ou Postgres+pgvector via Supabase |
## Stack Technique
| Composant | Technologie |
|-----------|-------------|
| Language | TypeScript |
| Runtime | Bun |
| DB (default) | PGLite (zero-config) |
| DB (production) | Postgres + pgvector (Supabase) |
| Test | `bun test` + E2E |
| MCP Server | â
Intégré |
| CLI | `gbrain` command |
## Structure
```
/root/gbrain/
âââ AGENTS.md # Protocole install/opération
âââ CLAUDE.md # Architecture ref (90KB)
âââ INSTALL_FOR_AGENTS.md # Guide install 9 étapes
âââ README.md # Doc publique (41KB)
âââ TODOS.md # Roadmap TODOs
âââ CHANGELOG.md # Historique versions
âââ docs/ # Documentation
â âââ ENGINES.md # Config moteurs
â âââ guides/ # Guides (live-sync, etc.)
â âââ mcp/ # Docs MCP (DEPLOY, etc.)
âââ skills/ # Skills (RESOLVER, migrations)
```
## Configuration Importante
â ï¸ **ZAI/GLM n'a PAS d'embeddings API** â utiliser Cohere/OpenAI/OpenRouter à la place pour les embeddings.
## Commandes Principales
```bash
gbrain init # Initialiser le brain
gbrain doctor --fix # Diagnostiquer+réparer
gbrain apply-migrations # Appliquer migrations DB
bun test # Tests unitaires
bun run test:e2e # Tests E2E
```
# Citations
[1] Vérifié depuis `ls /root/gbrain/`, `cat /root/gbrain/VERSION` (2026-06-14).
GBrain v0.22.4
Moteur de connaissance par Garry Tan. 38 sources, 10k+ pages indexées. Fork local avec config FATAPLUS.