Automation levels address the fundamental tension in AI governance: too much automation risks unsafe actions; too much human oversight creates bottlenecks. TealTiger lets you calibrate per-rule based on risk tolerance.
Why This Matters
Compliance alignment: EU AI Act Article 14 (human oversight), NIST AI RMF (GOVERN 3 — human-AI interaction), ISO 42001 (A.9.3 — management review).
The Four Levels
auto_allow
Lowest friction. Request proceeds without modification. Used for low-risk actions that match policy.
auto_deny
Automatic block. Request is denied without human intervention. Used for clearly prohibited actions.
auto_sanitize
Automatic remediation. Request is modified to comply with policy, then allowed. Used for fixable violations.
approval_required
Human-in-the-loop. Request is held pending explicit human approval. Used for high-risk or ambiguous decisions.
Level Details
auto_allow
The request passes governance evaluation and proceeds without modification. This is the outcome when no policy violations are detected.auto_deny
The request is automatically blocked. No human review is needed because the violation is unambiguous.auto_sanitize
The request contains a policy violation that can be automatically remediated without blocking the request entirely. TealTiger modifies the request to comply with policy, then allows it to proceed.approval_required
The request is held in a PENDING state until a human approver explicitly approves or rejects it. This is the highest-friction level, reserved for high-risk decisions where automated judgment is insufficient.Approval Workflow
When a decision returnsPENDING, the calling application must handle the approval flow:
Approval Token
The approval token is a cryptographic proof that:- A specific request was reviewed by a specific human
- The approval was granted within the validity window
- The approval cannot be replayed for a different request
Mapping to Policy Rules
Each policy rule specifies its automation level. Rules can use different levels for different conditions:PLAN_ONLY Mode
TealEngine v1.3 supports aPLAN_ONLY evaluation mode that returns what the automation level would be without executing it. This is useful for:
- UI previews showing what will happen before the agent acts
- Dry-run validation of policy changes
- Agent planning loops that need to know constraints before acting
Timeout Behavior
Whenapproval_required decisions are not resolved within the configured timeout:
Choosing the Right Level
When to use auto_allow
When to use auto_allow
- Read-only operations within the agent’s scope
- Actions explicitly permitted by policy
- Low-risk, high-frequency operations where latency matters
- Operations that have been validated through MONITOR mode
When to use auto_deny
When to use auto_deny
- Actions that violate clear safety boundaries
- Known-malicious patterns (prompt injection, exfiltration attempts)
- Operations outside the agent’s registered scope
- Actions prohibited by regulation with no exception process
When to use auto_sanitize
When to use auto_sanitize
- PII detected in outbound content (redact and proceed)
- Secrets in prompts (mask and proceed)
- Context exceeding size limits (truncate and proceed)
- Model requests for disallowed models (downgrade and proceed)
When to use approval_required
When to use approval_required
- High-value financial transactions
- Irreversible destructive operations
- Actions requiring regulatory human oversight (EU AI Act)
- First-time actions by newly registered agents
- Operations flagged by drift detection as anomalous
Related Documentation
- TealEngine v1.3 API —
evaluate()andapproveDecision()methods - FREEZE Rules — Immutable controls (stronger than auto_deny)
- NHI Governance — JIT grants use approval_required internally
- Code Change Governance — Two-person rule uses approval_required
- TealFlow — Workflow automation with approval gates

