:8080) configures everything; the Proxy plane (:8081) serves traffic.
Bring up the stack
Mint an admin token
The Admin API expects a JWT (HS256) signed with
SERVER_SECRET_KEY from your .env:Register an upstream provider
A registry is an upstream backend. Here, OpenAI:
Create a consumer and bind the registry
A consumer is your app’s identity; its
slug is the URL
path segment.From an application
Point any OpenAI SDK at the proxy — only the base URL and two headers change. The provider key stays in the gateway./{consumer_slug}/v1/messages; the OpenAI Responses API uses
/{consumer_slug}/v1/responses.
Next steps
- Route across several providers with load balancing and fallback.
- Add rate limiting and semantic caching.
- Inspect traffic for security threats with TrustGuard.