Glossary

Deny-ask-allow policy model

Three effects, one clear tie-break, and no surprises.

The short answer

The deny-ask-allow policy model gives every rule for an AI agent's tool calls one of three effects: deny blocks the call, ask pauses it for a person, and allow lets it run. When rules of equal priority match, deny beats ask and ask beats allow, so the most cautious answer wins a tie.

How Bello Bot evaluates rules

Example

github__get_file matches both priority 50 rules, and ask beats allow at equal priority, so it would ask. To let reads run, give the allow rule a lower number, such as 40. github__delete_branch matches the priority 10 deny first and is blocked.

[
  { "name": "No deletes anywhere", "effect": "deny", "priority": 10, "tool_glob": "*__delete*" },
  { "name": "Ask before writes to GitHub", "effect": "ask", "priority": 50, "tool_glob": "github__*" },
  { "name": "Reads are fine", "effect": "allow", "priority": 50, "tool_glob": "github__get*" }
]

Try it

Use the policy simulator on the tool governance guide to see how the tie-break plays out.

Related reading

Questions

Why does deny win ties?

So that adding a cautious rule can never be overridden by an equally ranked permissive one. To make an exception, give it a lower priority number on purpose.

What happens when no rule matches?

In Bello Bot the call is allowed by policy, but the bot can only use connectors a person granted it.

Keep reading

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.