Enforce your AI policy at runtime. Prove it later.
SAFi is an open source governance engine for AI agents. It evaluates every turn against your charter and policies before an answer is returned or a tool runs, and writes an audit record anyone can recompute.
Every decision follows one process
The gap SAFi closes
Your organization is deploying AI agents, and legal, compliance, and technology leaders are asking hard questions: How do we enforce our AI policies at runtime? How do we know an agent followed them? How do we detect drift from the values and policies we approved? How do we prevent unauthorized tool calls? How do we show an examiner what was produced, which policies applied, and why an action was allowed?
The answer to why a response was allowed has to be more than “a content filter fired.” It has to be “the agent was governed by this policy, with these values, and here is the record.”
What SAFi does instead
SAFi governs AI agents with instruments your organization already understands: a charter, policies, supervision, and a record. An agent can operate under your Organizational Charter, a specific business-unit policy, or both. Charter values are compiled into the value set used to evaluate the agent, with a defined weighting in every evaluation.
- Enforcement is deterministic. Every block, approval, redirect, retry and threshold is a fixed rule evaluated in code. The gatekeeper never calls a model.
- Reasoning and review are separate. The model may draft a response, but an independent pass scores it against your values before it is allowed. The judge is never the defendant.
- Every governed turn is recorded. Anyone holding the audit record can recompute the outcome. That is the determinism claim the product is allowed to make.
Built for regulated industries
SAFi’s architecture was designed for auditability first, which is why it maps onto the strictest AI and record-keeping regimes: hash-chained, tamper-evident records for SEC / FINRA; the EU AI Act transparency tier; a provider allow-list and fail-closed model calls for HIPAA; access export for GDPR. These are platform capabilities designed to support a compliance program, not substitute for one.
Deploy SAFi in your stack.
Self-host it yourself, or let our managed service run it for you.
Prefer to run it yourself? Browse the source.