Skip to main content
Dome ships as the vijil-dome Python package. The base install includes the configuration system, the Guardrail engine, and the Detectors that need no model weights. Everything else is an optional extra.

Install the Package

Verify the install by running a scan with the built-in defaults:
The first call downloads model weights for the default Detectors and can take a few minutes. Set VIJIL_MODEL_DIR to control where Dome caches them.

Choose Extras

Combine extras in one install:
full covers local, llm, and pii only. It does not include the Trust Runtime or Controls Engine extras. LangChain support needs no extra because it depends on langchain-core alone.

Run Without Local Models

Set DOME_INFERENCE_URL to route remote-capable Detectors to an inference service instead of installing model weights. This keeps the container small and removes the local extra from the dependency set.
See Detection Methods for the Detectors that support remote routing.

Install CPU-Only PyTorch

The local extra pulls in the default PyTorch distribution. On Linux, its CUDA dependencies can add gigabytes to the environment. In a CPU-only environment, reinstall the CPU build:
Local Detectors can run on CPU, but inference is slower. Confirm that the added latency meets your requirements. To keep model weights out of your Agent image entirely, run Dome as its own service. See Use Dome as a Containerized Deployment.

Set Environment Variables

Dome reads configuration from the environment. Set only the variables for the Detectors and integrations you use.

Routing and Models

Provider Credentials

Platform and Telemetry

Next Steps

Protection Overview

How Guardrails, Guards, and Detectors fit together

Configure Guardrails

Write your first configuration

Framework Integrations

Wire Dome into your Agent framework

Trust Runtime

Add identity, tool access control, and audit events
Last modified on November 3, 2026