Time to First Request: 5 Minutes
Follow this playbook to deploy your AI Reliability Layer locally. You will route your first request, trigger a failover, and view the AI-native telemetry in under 5 minutes.
baseURL in your standard OpenAI SDK to http://localhost:4000/v1 and supply your Selixes key. Selixes operates as an in-VPC reverse proxy, automatically routing requests across OpenAI, Anthropic, Gemini, and local Ollama while enforcing session cost limits and autonomous failover during upstream outages.Step 1: Launch via Docker Compose (60 Seconds)
Clone the open-source repository and launch the full gateway stack with Redis and Postgres in one command:
Alternatively, run the pre-built GHCR image directly on port 4000:
*(Verify health anytime with curl http://localhost:4000/health).*
Step 2: 2-Line SDK Drop-in
Selixes is fully compatible with the standard OpenAI SDK. Swap the `baseURL` and `apiKey` to point your existing application to the local reliability layer:
Step 3: Dispatch Your First Reliable Request
Pass transaction cost caps, timeout limits, and semantic caching directives directly through standard HTTP request headers:
Step 4: Verify Health & Telemetry
Selixes provides sub-millisecond status endpoints and structured audit telemetry. Test the live health endpoint:
Open the companion telemetry console at http://localhost:3000 to review active transactions, provider failovers, and latency economics.
Next Up: Primitives & Routing
Learn how autonomic failovers and local Ollama continuity backups operate under the hood.