Integrations¶
MATVIS goes where your agents already run. Nothing inside the agent has to change.
Three ways in¶
The difference is who calls the model. The checks, the configurations and the reporting are identical in all three.
| Mode | Best for | On this site |
|---|---|---|
| Proxy | A chat UI such as Open WebUI: nothing inside the agent changes | Open WebUI, and the OpenAI-compatible chat completions and Anthropic messages endpoints |
| Guardrail | Gateways routing several providers, which call MATVIS before and after each request and keep calling the models themselves | The filter endpoints, and for forward proxies and secure web gateways the ICAP proxy (Beta) |
| Direct API | Custom agents that need full control of the call sequence | The filter endpoints |
One API key, one base URL. Nothing inside the agent has to know it is being screened, and swapping the model behind MATVIS does not touch the client at all.
The setup below is for Open WebUI, in proxy mode.
Prerequisites¶
- A MATVIS deployment reachable from your UI.
- A MATVIS Firewall API key: generate one under API keys.
1. Create the configurations¶
The integration screens traffic through your configurations, so create these first (see Create a configuration):
- A chat inbound configuration screens prompts before they reach the model.
- A chat outbound configuration screens responses before they reach the agent.
- (Optional) a tool call and a tool response configuration for the agent path; see Agent security.
Copy the UUID of every configuration you create. For Open WebUI you attach them to a model configuration; the guide covers the wiring.
2. Set up Open WebUI¶
With the configurations in place, continue with the Open WebUI setup:
-
Open WebUI
Best for a chat UI. MATVIS acts as the model endpoint. Open WebUI talks to MATVIS's OpenAI-compatible API and MATVIS proxies to your LLM, applying the chat inbound and chat outbound configurations attached to a model configuration. Nothing to change in the client beyond pointing it at MATVIS.