Action policy
Rules outside the AI that decide which actions are allowed, need a person, or are blocked.
What it is
Every proposed action is labelled (read, reversible write, irreversible, money, send) and checked against rules, e.g. "money only to payees already verified in the CRM". The answer is allow, ask or deny.
When to use it
- Any agent with write access
When to skip it
- Read-only agents, which don't need one
Why (the trade-off)
The model can be fooled; a rule outside the model can't be talked out of its job.
Where it sits
Safety layer, between the action the model chose and the dispatcher.
What it needs first
- Agent loopit inspects every action the loop dispatches
What can be added to it
- builds on itApproval gateApproval gate needs it: something must decide which actions need a person
- builds on itAudience checkAudience check needs it: it's a rule the policy applies to sends
Effect of adding it
- cost —
- latency —
- reliability —
- safety ↑↑
Risks it handles
- An irreversible action · partial
- Hidden instructions in content · partial
- It acts without asking · partial
Learn first (AI Engineering)
Free and open-source implementations
- Open Policy AgentApache-2.0
depth 4+1 production note with numbers.