Put your agents behind one address.
Register HTTP, streaming, or MCP upstreams once. Callers use a stable catalog identity instead of an arbitrary URL.
CATALOG · HTTP · MCPIdentity, policy, credentials, rate limits, and payment, checked before the agent runs. Keep the agents you already have.
The request path
The same order for HTTP, streaming, and MCP traffic.
Resolve the tenant, caller, catalog agent, and requested operation.
OIDC · CATALOGApply policy, rate boundaries, SSRF checks, and any payment requirement.
ALLOW · WARN · DENYStrip caller authorization and inject the protected upstream credential after allow.
CREDENTIAL_REFCapture status, latency, sizes, errors, MCP method and tool, payment, and settlement state.
INVOCATIONZerker Reason
Reason checks one proposed action against your facts, rules, authority, and time, with no model in the decision path. Gateway forwards only the matching call. Today this applies to transactional tools/call when Reason enforcement is configured.
The agent proposes an exact MCP tool and canonical arguments.
TOOL · ARGUMENTSReason evaluates typed facts and rules and returns a deterministic certificate.
FOUR-STATE RESULTGateway verifies the bundle and binds it to the tenant, principal, and agent.
IDENTITY · DIGEST · TIMEGateway blocks a mismatch, replay, conflict, or failure and forwards only the exact match.
BLOCK · FORWARDWhat it does
Six controls, applied to every HTTP or MCP call through Gateway.
Register HTTP, streaming, or MCP upstreams once. Callers use a stable catalog identity instead of an arbitrary URL.
CATALOG · HTTP · MCPStore credentials as write-only resources, remove caller authorization, and inject the protected credential only after allow.
WRITE-ONLY · ENVELOPE ENCRYPTEDEvaluate identity, tenant, policy, SSRF, rate, and payment requirements before the upstream receives the request.
ALLOW · WARN · DENYPrice an agent or MCP tool, issue an x402 challenge, verify authorization, and optionally settle before forwarding.
PRICE · VERIFY · SETTLERecord timing, errors, protocol details, tool names, token and cost fields, payment, and settlement state. Bodies stay off by default.
EVIDENCE · PRIVACYDeploy the Apache-licensed Go service with your OIDC provider and Postgres. Gateway has no required Zerker control plane.
SELF-HOST · NO CALL HOMEIn detail
Fewer secrets in application code. Fewer one-off policy implementations. Clearer failures, with a record for each one.
Keep tenant-scoped identity, status, suspension, protocol, upstream, rate boundary, credential reference, tags, and pricing in one system of record.
/v1/agentsReturn 202 and polling for transactional work, pass streaming responses through with time-to-first-token evidence, and support MCP Streamable HTTP with method and tool records.
HTTP · STREAM · MCPAuthenticate OIDC bearers, resolve client and acting-user identity, scope resources by tenant, and return 404 for cross-tenant resource access.
OIDC · TENANTApply ordered allow, warn, or deny rules, default and on-error posture, SSRF checks at write and dial time, and per-agent rate boundaries before forwarding.
POLICY · SSRF · RATECredentials are separate write-only resources with masked metadata and envelope encryption. Caller authorization is stripped before the referenced credential is injected.
CREDENTIAL_REFUse retries and circuit breaking where replay is safe. MCP tools/call is deliberately never retried automatically because the operation may have side effects.
RETRY · CIRCUITPrice an agent or MCP tool, return an x402 challenge, verify signed authorization, and optionally settle before the upstream runs. Settlement failure prevents execution.
PRICE · VERIFY · SETTLEFilter and page invocation records by agent, result, mode, error, time, and settlement. Aggregate counts, errors, latency percentiles, and streaming TTFT over bounded windows.
INVOCATIONS · ANALYTICSAdapters for Pi, Claude Code, Codex, Gemini CLI, and Hermes report privacy-safe session, tool outcome, model, token, and cost fields without prompts or tool payloads.
ACTIVITY · OPT-INBoundary
Keep your agents as they are. Gateway controls the traffic routed through it and measures the local agents that opt in.
Transactional calls return 202 and can be polled. Streaming calls pass through directly. MCP uses Streamable HTTP and records method and tool metadata.
Run one statically linked Go service with automatic migrations, health and version probes, optional Postgres durability, graceful rollouts, and no required call home.
A call that bypasses Gateway also bypasses its policy, credentials, payment gate, and record.
Build on it
Console operates it. Portals sell it. Rooms run longer work through it.
Register one upstream, route a call, and read the record.