Skip to main content
TL;DR: pip install vijil-dome gives you the core library. Add extras for the pieces you use: local for on-device Detectors, llm/pii for API-based detection, trust and trust-adapters for the Trust Runtime, and mcp/strands for framework integrations. PyTorch ships with CUDA by default, so reinstall the CPU wheel if you do not have a GPU.
Dome is a single pip-installable library. The base package is deliberately lean; heavy dependencies (PyTorch, Presidio, OpenTelemetry, framework SDKs) are gated behind extras so you install only what your deployment needs.

Base Installation

The base install includes the Dome engine, configuration loading, and the API-only Detectors that need no heavy dependencies. Add one or more extras with the standard bracket syntax:

Content Guard Extras

These extras add Detectors to your Guards.
full is the legacy “everything for content guards” bundle (local + llm + pii). It does not include the Trust Runtime, Controls, or framework extras. Install those separately.

Trust Runtime Extras

These extras enable the Trust Runtime: identity, tool-permission enforcement, signed manifests, and attestation.

Framework Integration Extras

For content-guard integrations that do not need the full Trust Runtime.
Google ADK and LangGraph adapters ship with trust-adapters (above). The LangChain integration needs no extra: it builds on langchain-core, which you already have when you use LangChain.

Controls Engine Extras

Infrastructure Extras

CPU-Only PyTorch

By default, PyTorch installs with CUDA support (roughly 2 to 3 GB). For CPU-only environments, reinstall the CPU wheel after installing Dome:
1

Install Dome with local models

2

Reinstall the CPU-only PyTorch wheel

All Detectors remain fully functional on CPU. Inference runs 2 to 5 times slower than on GPU, which is acceptable for most guardrailing workloads.

Common Combinations

Next Steps

Protection Overview

How Dome guards inputs and outputs

Trust Runtime

Identity, tool permissions, and attestation

Configure Guardrails

Guard and Detector configuration options

Framework Integrations

Wire Dome into your agent framework
Last modified on July 16, 2026