Two Ways to Use Dome
Content Guards
Protects the content flowing through the Agent.Core question: Is this input or output safe?Entry point:
Dome().guard_input(...)Blocks: prompt injection, jailbreaks, toxicity, PIITrust Runtime
Protects the Agent as an actor, its identity and its actions.Core question: Is this Agent allowed to do this?Entry point:
secure_agent(...) or TrustRuntime(...)Blocks: unauthorized tool calls, unattested identitiessecure_agent() call gives you both.
The Trust Stack
secure_agent() detects your framework and applies these layers in order:
Identity
The Trust Runtime resolves an Agent’s identity in priority order:- API key: extracted from a Vijil client object, when one is provided.
- SPIFFE workload identity: obtained from the local SPIRE agent socket over mTLS.
- Unattested: the Agent ID only, with no cryptographic identity.
Tool Permissions and Mandatory Access Control
Every Agent has a set of tool permissions: which tools it may call, and which are denied. Before a tool runs, the Trust Runtime checks the call against this policy. Denied calls are blocked inenforce mode and logged in warn mode. Organization-level rules can deny tools globally, overriding an individual Agent’s permissions.
Signed Manifests and Attestation
A tool manifest lists every tool an Agent is authorized to call, along with each tool’s expected SPIFFE identity. Manifests are signed through the Vijil Console and verified locally, so a tampered manifest fails verification. Attestation is the runtime check that confirms every connected tool’s certificate matches its manifest entry before the Agent trusts it.Enforcement Modes
The Trust Runtime is framework-agnostic at its core.
secure_agent() supports LangGraph, Google ADK, and Strands directly; for any other framework you use TrustRuntime directly, which operates on plain strings and tool names with no framework dependency.Next Steps
Framework Integrations
Wrap your agent framework with the Trust Runtime
Guardrail
The content-protection pipeline
Installation
Install the
trust and trust-adapters extrasObserve
Audit events and telemetry