Skip to content

AI documentation

Practical documentation for running AI in production: deploying and operating inference, routing traffic across providers, grounding models with retrieval, sizing GPUs, tuning latency and cost, securing access, and diagnosing failures when they happen.

It is written for the problems that only appear once traffic is real — saturation, cost, reliability, and observability — rather than for choosing a model. Where a task is best done with a SelaWare product, the guide says so; everything else is vendor-neutral.

Each area is a self-contained set of pages. Open one and the left navigation narrows to just that area, so you are never scrolling past the rest of the collection to find the next page.

Looking for product documentation — installing the collector, the CLI, SDKs, or the configuration schema? That lives in Oculis documentation.

I'm designing a serving stack

Start with capacity planning to size it before you buy hardware.

I'm deploying to production

Work through gateway & routing and security & governance. Every guide states its prerequisites up front and ends with a command that proves the change took effect.

Something is broken right now

Go straight to the diagnostic matrix. Search it by error code, symptom, or a log line pasted from your terminal.

The fastest path to a working gateway, using the Oculis Collector:

1 — Install

A single container, a Helm chart, or a binary. See installation.

2 — Point at an upstream

vLLM, Ollama, OpenAI, Anthropic, or Bedrock. See gateway & routing.

3 — Verify

oculis gateway test proves the route end to end before you send real traffic.

Every task-oriented page in this collection follows the same shape, so you always know where to look:

  1. Compatibility strip — version, hardware, and restart impact, before you read a word.
  2. Prerequisites — exact versions, ports, and permissions, plus one pre-flight command.
  3. Steps — with tabs for Python, TypeScript, CLI/YAML, Helm, and cURL where they apply.
  4. Verification — the command that proves it worked, and the output you should see.
  5. Edge cases — known incompatibilities and the settings that quietly bite.
  6. Troubleshooting links — the specific failure modes this change tends to produce.

If a page is missing any of these, that is a bug. The style guide explains the contract in full.