Getting started

Choose a client and provider

Choose a protocol, backend, credentials, and required build features.

Praxis AI v0.13.0 (alpha) 6 min read
On this page

Pick the client protocol first, then the upstream and its authentication. Praxis AI is alpha software. This page describes the current checkout; for a released binary, use the matching documentation and build features. The linked references own configuration details and translation limits. A listed adapter does not mean every provider operation or model is supported.

Decide by client and backend

Standard means cargo build -p praxis-ai-proxy on current main. Pass other features with --features; the passive experimental marker adds no capability by itself. Native forwarding relies on the upstream’s own API. Translation covers a bounded subset, not every operation under a provider URL. See build groups.

Client API → upstreamMode and guide/configurationBuildAuthentication and limits
Chat Completions → OpenAI or compatible Chat backendNative; complete hosted recipeStandardCaller bearer in hosted recipe; backend must serve the requested model and SSE for streaming
Messages → native Anthropic or native vLLMNative; recipe, hosted Anthropic YAMLStandard; recipe adds basic-auth-filterHosted x-api-key or caller bearer; vLLM uses isolated backend bearer. Native backend determines operation support
Messages → Chat backendTranslation, plus the SSE adapter for streaming; recipeStandard; isolated recipe adds basic-auth-filterStrip caller Anthropic credentials, inject backend key; thinking/cache opt-ins are lossy; no count-tokens translation
Chat Completions → Anthropic MessagesSelected-provider translation; operator recipe, compatibility guideStandardProjected selected-provider secret via credential_inject; explicit translation permission required; supported versions and ignored/rejected fields in reference
Chat Completions → Azure OpenAIAdaptation (API version, response normalization); provider recipe, referenceStandard; Entra injection adds azure-ad-filterResource/deployment/API version plus API key or supported Entra client secret flow; safety annotation loss is a known gap
Chat Completions → Vertex GeminiTranslation to generateContent; provider recipe, referenceStandard; token acquisition adds gcp-adc-filterAuthorized GCP identity, project/location/model; schema strictness, reasoning/cache accounting gaps in matrix
Messages → Vertex AnthropicEndpoint adaptation to rawPredict; provider recipe, referencevertex-anthropic-filter; add gcp-adc-filter for token acquisitionAuthorized GCP identity and model access; selected cluster metadata and model/provider resolution required
Chat Completions → Bedrock ConverseTranslation; provider recipe, compatibility matrixStandard includes signerAWS key/secret/region and model access; signing alone is not translation. History, reasoning and cache gaps remain; see audit for reference gap
Responses → native Responses backendNative; quickstart, passthrough exampleStandardCaller key in quickstart; no local state, validation, or tool execution supplied by forwarding
Responses → gateway-managed native Responses or translated ChatManaged, experimental; recipeopenai-responses; recipe selects openai-all,store-sqliteBackend and tool credentials are separate; managed restrictions and translation gaps apply
Conversations → local gateway storeManaged, experimental; state guide, referenceopenai-conversations,store-sqlite or selected PostgreSQL backendExplicit owner/auth boundary; local CRUD is distinct from forwarding upstream Conversations

See the Responses support and qualification table for state parameters, SDK versions, and the native and translated vLLM test lanes.

The cloud provider runbook adds credentials, endpoint/Host/TLS selection, validation, startup, requests, and cleanup to the example configurations. It assumes account permissions, regional model availability, and an authorized credential source are already in place. The recipe index lists the native and managed paths.

Read compatibility status correctly

  • Native: bytes are forwarded without protocol conversion; the backend owns semantics. A route matching /v1 does not implement all /v1 APIs locally.
  • Translated: only the documented mapping is implemented; finite and SSE paths need separate evidence and filters.
  • Lossy: accepted input loses documented semantics. Enable only deliberate opt-ins, and monitor degradation signals where provided.
  • Rejected: the adapter refuses an unrepresentable feature. For example, Messages-to-Chat rejects document blocks and server-tool definitions.
  • Known gap: accepted behavior is incomplete or incorrect. Consult the generated matrix and its source evidence; do not interpret a fixture as provider-wide qualification.

For verified CLI edits, permission modes and compaction outcomes by model and API route, see Coding harness compatibility.

Codex CLI qualification

Open the release you intend to deploy and read Codex CLI capabilities in its attached support-report.md.

CapabilityNative ResponsesResponses → Chat CompletionsWhat the test verifies
Apply a file patchRelease reportRelease reportCodex applies the patch, returns tool output through Praxis, and writes the exact expected file.
Cite a live web searchRelease reportRelease reportCodex completes a turn citing an exact source URL from a successful Tavily search through Praxis.
Compact a sessionRelease reportOutside test scopeCodex sends a summarization request and resumes with compacted history.
Finish a task after compactionRelease reportOutside test scopeCodex finishes the task and verifies the resulting file.

All scenarios use HTTP/SSE. Edit and compaction disable web search and use full-access sandbox mode. The dedicated search cases enable live web search in read-only mode. The release report gives the outcome for the model tested on that release. The matching support-report.json records each case’s configuration (model names, vLLM image, parsers, example configuration) under live_validation.suites.codex_acceptance.cases[].capabilities, and its live validation section names the tested commit. The GPU scenario guide describes the test setup.

Provider authentication

For Azure Entra injection, configure the tenant ID, client ID, scope, and the client-secret environment variable named in the authentication reference; that filter covers only client-secret authentication. For GCP injection, use the metadata identity or service-account key source described in GCP ADC; a gcloud user credential file is not supported. Authentication does not select the upstream endpoint or grant the identity provider-side permissions.

When the gateway owns provider secrets, follow the routing prerequisites in credential injection. The quickstart’s caller-key forwarding does not implement that flow.

Managed APIs and agent protocols

GoalReferenceBuild and prerequisites
Manage Responses at the gateway instead of forwarding nativelyResponses proxyExperimental openai-responses and an inference backend; storage-related groups also need a store backend and its database
Run an ephemeral server-side agent loopAgentic protocolsExperimental openai-agentic-loop, an inference backend, and credentials or services for the selected tools
Classify or broker MCP trafficMCPReachable MCP servers and their authentication; separate from managed Responses tool execution
Execute MCP tools within managed ResponsesMCP connectorExperimental openai-mcp-tools, a store backend, and configured MCP servers; select the agent loop separately if needed

Cargo features lists exact build combinations and the example configurations have complete filter chains; a filter reference alone is not a deployment configuration. Validate provider credentials, permissions, model availability, and operation support in your deployment before relying on a route. Praxis, Praxis AI, and Policy are versioned independently; appearing together in the documentation site does not make them a tested compatibility set.