I/Invincible · docs

Architecture

Three realms, separate by design

Surface Credential Protects
Chat (/v1/*) Per-user inv_ key (hashed) BYOK failover routing
Tools (/mcp) OAuth bearer (hashed, revocable) 19 MCP tools + confirmations
Account (/auth/*) Signed session cookie Projects, keys, state

Realms never merge and never fail open.

Request paths

Single failover loop

Exactly one attempt loop exists (router._iter_attempts); route_request/stream_open are thin wrappers. Run recording writes one runs row per upstream attempt; the dashboard aggregates attempts, failovers, and tokens by day and provider/model.