Gatemini Documentation¶
This set of docs is aligned to the current Rust implementation in src/, not to historical marketing copy or one specific populated registry snapshot.
Naming note:
gateminiis the binary, package, config directory, socket prefix, and MCP server name.PrismGateis the GitHub repository and release channel name.
Start here¶
- Architecture: daemon/proxy lifecycle, socket coordination, direct mode, restart flow
- Codebase Map: end-to-end tour of the source tree and runtime ownership
- Tool Discovery: the 7 meta-tools, three-tier search (BM25 → trigram → fuzzy), optional semantic search
- Backend Management: backend states, transports, health checker, prerequisites, concurrency
- Secrets & Config:
.envload order, environment interpolation, secretref resolution, hot-reload boundaries - Resources & Prompts: live
gatemini://resources and MCP prompts - Sandbox:
call_tool_chainfast paths and V8 execution model - Token Efficiency: where the context savings come from and how to measure them
- Telemetry: what the code already tracks and what OTEL work is still proposed
Benchmarks and references¶
- Search Quality: code-backed search behavior plus a test methodology
- Token Savings: example measurement approaches, not a fixed source-of-truth registry size
- MCP Best Practices: external material mapped back to this project
- Competing Gateways: positioning context and tradeoffs
Source orientation¶
If you are reading code and docs side by side, start with:
src/main.rsfor shared initializationsrc/ipc/for daemon and proxy behaviorsrc/server.rsfor the public MCP surfacesrc/backend/for transport implementations and lifecycle managementsrc/config.rsfor defaults and hot-reload behavior