Durable files
Markdown pages and source repos remain readable, reviewable, movable truth. They are separate from the gbrain tool repo.
This manual has two separate lanes. Native Upstream explains only the pinned GBrain repository. Fulcrum Overlay explains how Fulcrum applies it with Orgo, Hermes, Supabase, Voyage, Composio, and isolated client cells.
Architecture, install, commands, skills, loops, verification, and source atlas from the pinned repository only.
Orgo, client isolation, Supabase and Voyage choices, Composio policy, deployment sequencing, and client acceptance.
Fulcrum pages may cite native pages. Native pages never treat a Fulcrum decision as an upstream requirement.
Markdown pages and source repos remain readable, reviewable, movable truth. They are separate from the gbrain tool repo.
GBrain parses pages into rows, chunks, embeddings, links, facts, timelines, versions, and source metadata.
CLI and MCP operations expose the same brain contract. Hermes launches the MCP server as a subprocess.
Sync, embed, graph extraction, fact reconciliation, dream, health checks, and human review keep the brain useful.
| Thing | What it is | Where it lives | What breaks if wrong |
|---|---|---|---|
| GBrain tool repo | The TypeScript product and bundled docs/skills | GitHub install or clone | Wrong binary, stale docs, bad upgrade |
| Brain repo | User or team markdown knowledge estate | Git repo or local folder | No durable truth or wrong source routing |
| Brain database | Pages, chunks, vectors, graph, facts, versions | PGLite or Postgres | No retrieval or expected concurrency |
| Agent workspace | Harness identity, skills, MCP config, runtime | Supported agent workspace | Agent cannot use or maintain the brain |
Installation is not proven by a binary, process, MCP add exit code, page count, or existing embeddings. The upstream verification runbook must prove schema, source coverage, live sync, embedding coverage, search, graph, integrity, updates, and configured agent behavior.
Click any node for plain-English purpose, exact files, inputs, outputs, failure modes, and source links. Use the view controls to focus the map.
The engine stores vectors and searches them. The AI gateway generates them. This is why a model mismatch can return plausible but wrong results.
Engine design ↗A brain selects the database. A source selects a repo inside that database. If data ownership changes, use a brain boundary.
Routing model ↗MCP exposes operations. Skills and the resolver teach an agent when and how to use those operations.
Skillpack design ↗This page contains no Orgo topology, Fulcrum tenancy, Composio policy, or cross-client requirements. Apply those later from the separate Fulcrum deployment runbook.
Read these files completely in this order from the pinned latest-stable gbrain source:
1. AGENTS.md
2. INSTALL_FOR_AGENTS.md
3. docs/ENGINES.md
4. docs/integrations/embedding-providers.md
5. docs/mcp/HERMES.md
6. skills/RESOLVER.md
7. docs/guides/cron-schedule.md
8. docs/GBRAIN_VERIFY.md
Follow only the native GBrain procedures these files define. Ask at every upstream decision gate. Do not add hosting, tenancy, connector, or client-isolation assumptions that are not present in the upstream sources. Do not claim native installation health until every check in docs/GBRAIN_VERIFY.md passes.
A database sitting online is not a functioning brain. These loops move new signal into durable truth, keep retrieval current, detect failures, and improve synthesis.
Several phases are feature-gated, schema-pack-gated, source-scoped, or disabled by default. “gbrain dream finished” does not mean each phase changed data. Inspect the phase report and remaining backlog.
The CLI includes local-only operations and maintenance commands. MCP exposes scoped operations to Hermes and other agents. Search the pinned source catalog below.
GBrain provides the storage and operation surface. Skills provide procedures, triggers, quality rules, and sequencing. The resolver tells the agent which skill to read for a request.
It evaluates the current skill, proposes text edits, tests candidates against a benchmark, and accepts only a measured improvement. It is not a free-form nightly rewrite.
No trustworthy benchmark means no trustworthy optimization. Generated starter judges require human strengthening.
Triggers and other frontmatter do not change. Routing behavior stays invariant.
A candidate must beat the selection baseline by at least epsilon 0.05.
Default behavior writes a proposal. In-place changes require explicit opt-in and an independent held-out set.
Preflight refuses work beyond the configured budget. Runs are lock-protected and resumable.
The dream-cycle SkillOpt phase is off by default and does not auto-mutate bundled skills.
gbrain skillopt my-skill --bootstrap-from-skill
# Human reviews and strengthens judges
gbrain skillopt my-skill --bootstrap-reviewed --split 1:1:1 --dry-rungbrain skillopt my-skill \
--benchmark skills/my-skill/skillopt-benchmark.jsonl \
--no-mutate --dry-runThis catalog was generated from every tracked source file in the pinned stable commit. Select a file to see exports, local imports, related files, and the native GitHub source.
Its role and connections will appear here.
This page separates native gbrain components from the surrounding Fulcrum client-cell infrastructure.
Native GBrain supports several engines, providers, harnesses, transports, and deployment shapes. This page records Fulcrum's selected architecture. It does not redefine upstream GBrain.
| Layer | Recommended | Why | Boundary |
|---|---|---|---|
| Compute | One Orgo VM per client agent cell | Simple ownership and process isolation | Do not share runtime homes or credentials |
| Agent | Hermes on the client VM | Local stdio MCP, skills, sessions, scheduler | Use the exact client HERMES_HOME |
| Database | Separate Supabase project or database per client | Postgres concurrency, pgvector, managed backup | Source filters are not a substitute for tenant isolation |
| Embeddings + rerank | Voyage AI | Native default uses one key for voyage-4 and rerank-2.5 | Pin model and 1024 dimensions at init |
| Hermes inference | OpenRouter if desired | One key can simplify Hermes chat model access | Do not assume it replaces every gbrain subagent/provider path |
| Business connectors | Composio per client | Gives Hermes controlled service access | It is not durable gbrain ingestion by itself |
| Durable source | Private client brain repo | Human-readable truth and recoverability | Never put source content inside the gbrain tool repo |
Upstream v0.47.3.0 supports OpenRouter embeddings, but Voyage is the native default and pairs its embedding model with a supported reranker on the same key. OpenRouter can simplify Hermes chat inference. It does not simplify the whole gbrain path because gbrain’s protected subagent loop remains Anthropic-direct, and reranking still needs an explicit supported route.
This combined checklist links to upstream evidence but adds Fulcrum requirements for client boundaries, Orgo ownership, provider tenancy, Composio persistence, and acceptance.
Complete the native architecture and install study first.
Run the Fulcrum checklist below under the exact client identity.
Pass native verification, then the Fulcrum client-cell canary.
First read and follow the native GBrain sources in the Native Install page. Then apply the Fulcrum Deployment Runbook under the exact client-specific Orgo VM, runtime user, HERMES_HOME, GBRAIN_HOME, brain repo, database, provider keys, and Composio tenant supplied by the operator. Never infer or reuse another client's identity, credentials, source, or database. Native GBrain verification must pass before the Fulcrum golden canary. Do not call the client cell complete until restart, durable connector persistence, cross-client denial, and correction all pass.
These checks cover native GBrain, supported engines, providers, integrations, and supported harness connections.
Run every check in docs/GBRAIN_VERIFY.md. Live source-edit sync is the most important proof. Client isolation and Composio persistence are separate Fulcrum checks.
This lane adds Orgo ownership, Hermes behavior, provider environment, connector persistence, restart durability, and cross-client denial.