Skip to content

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:

  • gatemini is the binary, package, config directory, socket prefix, and MCP server name.
  • PrismGate is 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: .env load order, environment interpolation, secretref resolution, hot-reload boundaries
  • Resources & Prompts: live gatemini:// resources and MCP prompts
  • Sandbox: call_tool_chain fast 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

Source orientation

If you are reading code and docs side by side, start with:

  • src/main.rs for shared initialization
  • src/ipc/ for daemon and proxy behavior
  • src/server.rs for the public MCP surface
  • src/backend/ for transport implementations and lifecycle management
  • src/config.rs for defaults and hot-reload behavior