ferrumdeck-policy
The enforcement engine of FerrumDeck —
a deterministic, in-path governance layer for AI agents. It returns an
allow / deny / requires-approval decision before a tool call executes,
rather than charting it after the fact. The decision path is sub-millisecond
(see docs/benchmarks/enforcement-latency.md).
What's in the box:
- Deny-by-default tool allowlist —
PolicyEngine/ToolAllowlist. - Airlock RASP — per-call anti-RCE matcher + data-exfiltration shield
(
AirlockInspector, shadow/enforce modes). - R1–R3 reversibility ladder — graduated response mapped onto the DeepMind
AI Control Roadmap tiers (
graduated_response,ResponseLevel). - EU AI Act Article 50 transparency rule —
check/enforcefor AI-disclosure + machine-readable marking.
Published as ferrumdeck-policy; the Rust import path is fd_policy:
[]
= "0.7"
use ;
let engine = default;
let allowlist = ToolAllowlist ;
// Deny-by-default: only allowlisted tools pass.
assert!;
assert!;
assert!;
Prefer a single dependency? The ferrumdeck
umbrella crate re-exports this engine.
Licensed under Apache-2.0. Source + full control plane: https://github.com/sattyamjjain/ferrumdeck.