Alpha Gateway v0.13.0 docs are live Composable by design.
Connect your applications and agents. Choose your backends. Configure how requests are routed and handled, with a Rust framework you can extend.
Highlights: OpenAI Responses, Chat Completions, Anthropic Messages, AWS Bedrock, Vertex AI, Azure OpenAI, vLLM, MCP, A2A, Token rate limits, Guardrail providers, Token usage headers, Zero-copy streaming, StreamBuffer inspection, Written in Rust, Rustls TLS, unsafe_code = "deny", Fails closed.
The 48-second tour
See the gateway in motion #
One gateway between your clients and backends: it classifies each request, routes it, translates the API when needed, and enforces policy on the way.
Why Praxis
A governed entry point #
to your models and tools.
Translate provider APIs, stream large payloads, and stop unwanted requests before they reach a model, on a Rust core you can extend.
One gateway for your model traffic Alpha
The gateway classifies OpenAI Responses, Chat Completions and Anthropic Messages traffic, routes by API format, model or MCP tool name, and translates between provider APIs, streaming included.
- Anthropic Messages clients on Chat Completions-compatible backends such as vLLM
- Chat Completions adapted to Azure OpenAI, Bedrock Converse and Vertex AI Gemini, within their documented limits
- MCP and A2A classification and routing
- Token usage extracted across supported provider formats
Governed before it reaches a model
Token ceilings, token rate limits and external guardrail providers sit in the request path. Underneath, the foundation treats security as a primary design constraint: secure defaults, upstream TLS verification, and it fails closed on ambiguous configuration.
unsafe_code = "deny"across the workspace- Rustls: no OpenSSL, no C FFI in the TLS path
- Root execution rejected; admin endpoints stay on loopback
- Token ceilings, token rate limits and guardrail providers
Big bodies, inspected without stalling
Each filter declares how it reads a body. Stream passes chunks straight through. StreamBuffer hands chunks to a filter as they arrive while holding them back from the upstream, then releases the buffer once the content checks out.
[Payload processing](https://praxis.fast/praxis/v0.8.0/architecture/payload-processing/)
- Peek-then-stream for body routing, JSON-RPC parsing and payload scanning
- AI request classification builds on the same StreamBuffer model
- Global hard ceilings on request and response size
- gzip, brotli and zstd response compression
A Rust core you can build on
The gateway runs on a proxy foundation written in Rust. Bodies stream by default: each chunk goes to the next hop as soon as it arrives. Implement the HttpFilter trait in your own crate and compile it in next to the built-in filters.
[Extend the gateway in Rust](https://praxis.fast/guides/extend/)
- Zero-copy streaming by default
- Round-robin, least-connections, consistent-hash, P2C, weighted
- Active and passive health checks, circuit breaker
- Custom filters compiled into your own build
Animations are illustrative; they show behavior, not measured performance.
Anatomy of an AI gateway
Every request crosses #
every layer.
An AI gateway is more than a proxy with model names. It speaks the model APIs, routes across providers, meters and limits every token, screens content, and shows you what happened, on a foundation built to stream.
- Available in the current release
- Experimental opt-in, off by default
- Proposed open design proposal
From first request to your own deployment
Make the gateway yours #
Start with a working request, then add the capabilities your application needs.
- 1Run the gateway Forward an OpenAI Responses request with Docker and curl.
- 2Connect applications Understand the API boundary before choosing a backend.
- 3Configure the gateway Choose routing, state, tools and request controls.
- 4Operate your deployment Plan credentials, storage, telemetry and resource limits.
Building custom behavior? Extend the gateway in Rust · Need only a reverse proxy? Run the standalone proxy
Build in the open #
Get help in the relevant project, report an issue, or propose an ecosystem change.