Skip to content

Architecture

MATVIS sits in front of your agents. It screens the chat traffic between an agent and its model, and it screens the tool traffic the agent generates while it works. Same policy, same scale, same dashboard.

Two paths, four checkpoints

An agent generates two kinds of traffic. It talks to a model, and it uses tools. MATVIS screens both, from one control plane, with one policy and one event history.

Point Applies to Covered in
Chat inbound Prompts on their way to the model Chat security
Chat outbound Responses on their way back Chat security
Tool call Actions the agent wants to run Agent security
Tool response Results and descriptions the agent reads Agent security

How a configuration works

A configuration is a named set of checks. You create one per use case, and reference it from your agent.

Per use case

A legal research assistant, a customer-facing agent and an internal developer tool do not need the same rules. Each gets its own configuration. Nothing is set once for the whole deployment and hoped to fit everyone.

One form

Chat inbound, chat outbound, tool call and tool response are set up together in a single form. The four enforcement points that belong to one use case stay in step, instead of becoming four unrelated policies that drift apart.

Severity

Each check returns a severity level for what it found, from 0 to 10, and you set the line at which that becomes a block. Severity ascends with danger, so a lower line blocks more.

Monitoring

Any configuration can run in monitoring mode. Violations are detected and recorded exactly as they would be in enforcement, but nothing is blocked. It is the safe way to compare a policy against live traffic before switching it on.

Exceptions

The PII filter has its own allowlist, per configuration: a term your business uses legitimately is approved once, and PII inside text an entry matches is not flagged. It affects the PII check only; every other check reads the full text.

What gets deployed

Every component runs inside your infrastructure, including the detection models. Deployment is supported on Docker Compose and on Kubernetes, up to fully air-gapped operation with an offline license.

Component Role
Firewall API Screens chat traffic and agent tool traffic
Filter services Content, PII, prompt injection, indirect prompt injection, language, translation
Configuration API Configurations, API keys, license, event history
Dashboard Operator web UI for configuration and monitoring
Identity Authentication and role-based access control
PostgreSQL Configuration and event history, on your infrastructure

Your data stays yours

The detection models run locally, the event history stays in your database, and nothing calls home. In on-premises deployments, nothing an agent sends or reads ever leaves your environment. How each deployment is secured is described in Security architecture.