Documentation

Build with the AI gateway

From your first request to a configured deployment, start with the task you need to complete.

Step 1 · Start here

Send your first request through the gateway

Run the published v0.12.1 image with Docker and forward an OpenAI Responses request with curl.

  • Docker with Linux AMD64 (native or emulated)
  • An OpenAI API key with model access
  • Outbound internet access
Run the gateway

This path demonstrates provider forwarding. Managed state, tools, guardrails and client authorization need their own configuration.

Terminal
# 1 · start the gateway with praxis-ai.yaml from the quickstart
$ docker run --rm --platform linux/amd64 \
    --publish 127.0.0.1:8080:8080 \
    --volume "$PWD/praxis-ai.yaml:/etc/praxis/praxis-ai.yaml:ro" \
    ghcr.io/praxis-proxy/ai:0.12.1 -c /etc/praxis/praxis-ai.yaml

# 2 · send a Responses request through it
$ curl -i http://127.0.0.1:8080/v1/responses \
    -H "Authorization: Bearer $OPENAI_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"model":"gpt-4o","input":"Hello"}'
HTTP/1.1 200 OK
Commands from the quickstart, shortened. The full guide includes the configuration, validation and cleanup.

Then make it yours

Follow the path from a working request to your own deployment.

  1. Step 2 Connect applications Understand the API boundary before choosing a backend.
  2. Step 3 Configure the gateway Choose routing, state, tools and request controls.
  3. Step 4 Operate your deployment Plan credentials, storage, telemetry and resource limits.
  4. Step 5 Extend Praxis Build custom behavior with the underlying Rust framework.

Browse by building block

The gateway is built from 12 building blocks. The anatomy page explains each one, its current status and where its docs live.

Anatomy of the gateway

Look something up

Exact settings for the current releases.

Other starting points

Run the foundation on its own, embed the policy library, or route inference across Kubernetes sites.