> For the complete documentation index, see [llms.txt](https://docs.visdom.virtuslab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visdom.virtuslab.com/visdom-ai-gateway/readme.md). Agents can also search and read this documentation through its [MCP server](https://docs.visdom.virtuslab.com/~gitbook/mcp).

# Visdom AI Gateway

Two gateways, one console: governed access to language models and MCP tools, self-hosted on your Kubernetes.

Visdom AI Gateway puts every call your developers, pipelines and agents make to a language model or to an MCP tool through one governed path. It is two gateways and one console:

* the **LLM gateway** (built on [LiteLLM](https://github.com/BerriAI/litellm)) serves the OpenAI and Anthropic APIs under one address and one key, routes each call to an approved model, and applies budgets, rate limits and guardrails;
* the **MCP gateway** (built on [IBM MCP Context Forge](https://github.com/IBM/mcp-context-forge)) federates the tool servers you approve and gives each project its own endpoint with exactly the tools it may use;
* the **console** is where administrators run both: projects and budgets, keys, models, tool servers, approvals, activity, costs and notifications.

It runs in your own Kubernetes cluster from one Helm chart. It is not SaaS: there is no telemetry and no online licence activation, and the only traffic that leaves your network is the model calls you route to a cloud provider — none at all with local models.

<figure><img src="https://2020465637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fe29EtUChYm1v2qbe6hDa%2Fuploads%2Fgit-blob-bce35e97eabfeef3d74d2903bf36fcb78b4ffd9d%2Fconsole-dashboard.png?alt=media" alt="The console&#x27;s dashboard: both gateways up, spend, calls, MCP tools, projects needing attention, budget alerts"><figcaption><p>The console's dashboard.</p></figcaption></figure>

## What it gives you

* **One entry point.** Claude Code, Codex, the OpenAI and Anthropic SDKs and any OpenAI-compatible tool call `/v1/chat/completions`, `/v1/responses`, `/v1/messages` and `/v1/embeddings` at one address with one key. Provider keys stay in the gateway.
* **Models as a catalogue.** Models are declared in Git and called by alias. Fallbacks move a call to another provider when one fails; a model or a whole provider can be switched off from the console without a restart.
* **Cost under control.** Every call is charged to a project. Budgets per project and per person, an alert threshold, then Notify only or Block; requests and tokens per minute per project and per key.
* **Guardrails in the request path.** Secrets in a prompt or in tool arguments are refused; personal data (PESEL, NIP, IBAN, cards, e-mail, phone, and with Presidio names and addresses) is masked before the model sees it; your own rules refuse or mask what your policy names.
* **MCP governance.** A registry of approved tool servers, each tool switched on or off with a risk class, a virtual server per project with its own client tokens, four-eyes approval for high-risk tools, and an emergency stop.
* **Evidence.** Every model call, refusal, tool call and admin change is delivered to Visdom AI Tracing, which seals it into its signed chain, and can be exported to your SIEM over OpenTelemetry. Admin changes are also signed in the console itself.

## Where to start

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Quick start</strong></td><td>Run the whole gateway on one machine with Docker Compose and make your first call.</td><td><a href="https://docs.visdom.virtuslab.com/visdom-ai-gateway/getting-started/quick-start.md">Quick start</a></td></tr><tr><td><strong>Calling models</strong></td><td>One address, one key, both API styles: examples in curl, Python and TypeScript.</td><td><a href="https://docs.visdom.virtuslab.com/visdom-ai-gateway/llm-gateway/calling-models.md">Calling models</a></td></tr><tr><td><strong>MCP gateway</strong></td><td>Approved tool servers, virtual servers per project, risk classes and approvals.</td><td><a href="https://docs.visdom.virtuslab.com/visdom-ai-gateway/mcp-gateway/mcp-gateway.md">MCP gateway</a></td></tr><tr><td><strong>Install on Kubernetes</strong></td><td>The Helm chart, its values, network policy and air-gapped installs.</td><td><a href="https://docs.visdom.virtuslab.com/visdom-ai-gateway/operations/kubernetes-helm.md">Install on Kubernetes (Helm)</a></td></tr></tbody></table>

## Standalone or with the platform

The gateway works on its own. Inside the Visdom platform it takes projects and people's grants from Control Plane, signs people in through the platform's Keycloak, sends its records to AI Tracing and serves the Orchestrator's agents. See [The gateway in the Visdom platform](https://docs.visdom.virtuslab.com/visdom-ai-gateway/visdom-platform/platform.md) and [What's available today](https://docs.visdom.virtuslab.com/visdom-ai-gateway/getting-started/whats-available.md).
