# The Mandrel Project — AI Agent Runtime Governance

- Author: Paul Charles Williams
- Canonical URL: https://systemsjoinery.com/work/mandrel-framework/
- Reading Time: 1 min read

> An open-source runtime governance framework separating application reasoning from operational policy in enterprise multi-agent ecosystems—built with declarative specs and out-of-band proxy interception.


## The Problem

Single-agent prototypes have bounded blast radius. Once an enterprise moves to a decoupled multi-agent mesh—orchestrators, planners, domain specialists, and data retrieval agents sharing tools—relying on prompts for authorization and safety breaks down. In regulated industries such as healthcare, life sciences, and finance, *"the model seemed confident"* is never an acceptable audit trail.

## Architectural Components

Modeled directly on precision machining and modular joinery, **The Mandrel Project** decouples probabilistic model reasoning from deterministic operational governance:

- **Mandrel Spec (`mandrel-spec`):** Declarative boundary contracts defining permitted tool invocations, egress governance, data scopes, and metrology contracts outside model weights and prompts.
- **The Collet Proxy (`mandrel-collet`):** Out-of-band runtime interception proxy enforcing declared policies deterministically across agent-to-tool and agent-to-agent boundaries (including Kubernetes sidecar and managed-platform deployments).
- **The Gantry Operator & CLI (`mandrel-cli`):** Lifecycle tooling and validation workflows operationalizing Google's **Secure AI Framework (SAIF)** at runtime.
- **Non-Happy Path Resilience:** Policy violations, malformed tool payloads, and out-of-scope requests are deterministically blocked, isolated, and recorded for audit without collapsing healthy workflows.

## Repositories & Documentation

- Project site & architecture docs: [mandrelproject.ai](https://mandrelproject.ai)
- Source repositories on GitLab: [gitlab.com/the-mandrel-project](https://gitlab.com/the-mandrel-project) ([`mandrel-spec`](https://gitlab.com/the-mandrel-project/mandrel-spec), [`mandrel-collet`](https://gitlab.com/the-mandrel-project/mandrel-collet), [`mandrel-cli`](https://gitlab.com/the-mandrel-project/mandrel-cli))
- Related essays: [*Why I Built the Mandrel Project*](https://medium.com/@paul.williams_54637/why-i-built-the-mandrel-project-950b73bd1a91) and [*Enforcing SAIF at Runtime*](https://pub.towardsai.net/enforcing-saif-at-runtime-f2411fc3b166) (*Towards AI*)

