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 they are cached.

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 PyTorch with CUDA support, which adds several gigabytes. In a CPU-only environment, reinstall the CPU build:
All Detectors stay functional on CPU. Inference runs two to five times slower, which is usually acceptable for guarding. 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. Only the variables for the Detectors and integrations you actually use are required.

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 August 12, 2026