Getting started
Operator recipes
Choose a complete recipe with prerequisites, configuration, and verification.
Switching projects opens that project’s default documentation release.
Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.
On this page
These recipes follow Development source. Run commands from the repository root with Git, Make, curl, and the native build prerequisites. Each recipe selects its build explicitly. The default published image does not supply every optional filter; build the requested binary rather than assuming an image contains it. Choose a model that your backend actually serves.
| Goal | Complete starting point | External prerequisites |
|---|---|---|
| OpenAI-compatible Chat Completions | Quickstart, using its full YAML | OpenAI account, key, model access, outbound HTTPS |
| Native Anthropic Messages | Anthropic recipe | Native Messages backend and backend key |
| Anthropic to Chat Completions | Anthropic recipe | Chat backend; translation limitations apply |
| Stable model alias and provider selection | Routing | Two compatible local backends |
| Request guardrails and usage | Guardrails and token usage | NeMo service and OpenAI-compatible backend |
| Azure, Vertex Gemini/Anthropic, or Bedrock | Provider adapters | Authorized account, model/deployment, credentials, outbound HTTPS |
| Managed Responses and tool execution | Experimental managed path | Inference and selected tool services; writable store |
Credentials
Keep three boundaries separate:
- Caller to gateway: authenticate callers before allowing them to use gateway-owned provider secrets. The local Anthropic recipes use optional Basic Auth. Public deployments also need TLS and a suitable ingress policy.
- Gateway to inference: native forwarding can intentionally pass the
caller’s provider key (quickstart). A gateway-owned key
instead needs cluster-selected core
credential_injectionas in the Anthropic guide, or selected-profile credential_inject for dynamic provider routing. Remove bothx-api-keyand callerauthorizationwhere applicable; SDK versions use different headers. Do not treat an internal-looking header as identity. - Gateway to tools or policy services: configure a destination-bound outbound chain. Never attach a blanket static secret to arbitrary client-selected MCP URLs. See callout security and scoped credentials.
Placeholders such as <backend-key> must be replaced in the proxy environment.
Setting a variable in the curl shell does not set it in an already-running proxy.
Do not commit keys or capture them in shared debug logs.
Validation and cleanup
--validate must exit successfully before startup. Run one recipe at a time:
they reuse port 8080. After testing, stop the proxy with Ctrl+C, stop any backend
you started for it, unset its secret variables, and delete only generated local
configuration or databases you no longer need. Keep committed example YAML intact.
The audit distinguishes checks run for this change
from existing test and fixture coverage.