01
Runtime policy enforcement
Policy rules match normalized tool, agent, and session identifiers before a registered MUTX runtime handler runs.
DEFINED
Control plane handoff
MUTX is resolving the route, loading its live state, and keeping the handoff on the record.
AI Agent Guardrails
MUTX offers two guardrail layers with different scope: pre-handler policy for tools dispatched by its runtime, and optional SDK middleware for text entering or leaving an integrated agent.
How guardrails work / 01
A guardrail is only real where code invokes it. MUTX runtime DENY and DEFER verdicts stop registered handlers; SDK text checks block only when the caller enables and runs the middleware.
01
Policy rules match normalized tool, agent, and session identifiers before a registered MUTX runtime handler runs.
DEFINED
02
Built-in command constraints block known dangerous shell patterns. Custom policy rules can deny or defer additional registered tools.
EVALUATED
03
Denied and deferred governed calls return a reason, receipt identifier, and integrity hash. SDK text guardrails raise a local exception unless the caller reports it.
RECORDED
04
Governed audit events carry policy and rule references. Policy lifecycle is not automatically coupled to deployment or agent-version records.
REVIEWABLE
How guardrails connect / 02
Governed runtime policy decisions generate receipts, audit evidence, and security telemetry. SDK text guardrails remain local unless an integration forwards their results.
E-001
The governed MUTX runtime turns configured tool rules into ALLOW, DENY, MODIFY, or DEFER decisions before dispatch.
Attached
E-002
Security telemetry is emitted for governed runtime decisions. External backends receive it only when telemetry export is configured.
Attached
E-003
Policy verdicts do not automatically trip agent failover. Webhook delivery has its own circuit breaker, and operators can build additional responses from emitted events.
Attached
E-004
Governed runtime denials and deferrals are hash-chained with policy references and normalized action context for authorized review.
Attached
Get started / END OF RECORD
Write one tool policy, trigger it through the MUTX runtime handler, and inspect the verdict and receipt. For SDK text checks, enable middleware explicitly and test the blocked input locally.