Mandrel: The Enforcement Engine for Secure AI (SAIF)

How Mandrel Project provides a direct, deterministic enforcement layer for Google’s Secure AI Framework (SAIF).

Mandrel: The Enforcement Engine for Secure AI (SAIF)

Executive Summary

As autonomous AI agents move from experimental “chatbots” to powerful enterprise tools, the security landscape has fundamentally shifted. Google’s Secure AI Framework (SAIF) provides a holistic vision for securing AI systems. However, a framework is only as effective as its enforcement.

The Mandrel Project is the industry’s first Direct Enforcement Mechanism for SAIF. It provides a deterministic, high-performance chokepoint—the Collet Sidecar—that ensures every agent action remains within the boundaries defined by a signed Mandrel Spec.

The Hybrid Defense-in-Depth Model

SAIF advocates for a hybrid approach that combines traditional security with AI-aware reasoning. Mandrel realizes this architecture through its two primary layers:

  1. The Deterministic Core (Layer 1): The Collet Sidecar enforces hard constraints (Network Policies, Financial Caps, Identity) that are independent of the LLM’s reasoning.
  2. The Reasoning-Based Guard (Layer 2): Integrated Intent Classifiers and Specialist Verification cross-check the agent’s “intent” against its authorized scope before any action is permitted.

Mapping Mandrel to SAIF Pillars

SAIF PillarMandrel Implementation
Expand Security FoundationsMandrel extends OIDC and Network Policy foundations to the agentic layer.
Extend Detection & ResponseNative OpenTelemetry integration with Provenance Chains for auditing.
Automate DefensesArtifact generation (OPA/K8s) is automated via the mandrel-cli.
Harmonize ControlsThe Mandrel Spec ensures consistent security across cloud and edge.
Adapt ControlsSpecialist Intent Verification provides contextual, adaptive filtering.
Contextualize AI RisksHITL protocols and financial caps are defined per-business-process.

Principle-Based Compliance

Google’s 2025 Agent Security report identifies three core principles for secure agents. Mandrel implements all three:

1. Well-Defined Human Controllers

Mandrel enforces Human-in-the-Loop (HITL) via the challenge autonomy mode. Critical or irreversible actions (e.g., “execute_payout”) are automatically paused by the Collet until a human verifies the request.

2. Limited Powers (Least Privilege)

Mandrel doesn’t just minimize permissions; it dynamically aligns them. The Collet asserts that an agent only has the permissions required for its current “Turn,” effectively preventing privilege escalation during a planning cycle.

3. Observable Actions

Trust is built on transparency. Mandrel enriches every trace with the Mandrel Spec ID and the Identity Chain (User → Orchestrator → Specialist), ensuring that security teams can reconstruct the exact “thought process” and authorization path of any autonomous decision.

Conclusion

The Mandrel Project transforms SAIF from a set of guiding principles into a verifiable, enforceable technical reality. By decoupling governance from the model, Mandrel allows enterprises to deploy autonomous agents with the same confidence they have in traditional software systems.