Fail-closed policy engine
When the rule check breaks, the safe answer is no.
A fail-closed policy engine is a rule checker that denies an action whenever it cannot evaluate its rules, for example when the rule store is unreachable or a rule is malformed. For AI agents this means a broken policy check blocks the tool call instead of silently allowing it, so outages never widen what an agent can do.
Fail closed versus fail open
| Situation | Fail open | Fail closed |
|---|---|---|
| Rule store is down | Tool call runs | Tool call is denied |
| Rule cannot be parsed | Rule is skipped | Evaluation errors deny |
| Who notices | Often nobody | The denied call shows a reason |
How Bello Bot behaves
- If the rules cannot be loaded and no last good copy is cached, the call is denied with the reason policy evaluation failed.
- If a rule reload fails, the org keeps using its last good rules instead of dropping them.
- Rules are tried by priority, lowest number first. At equal priority deny beats ask, and ask beats allow. The first matching rule decides.
- Rules are checked before every MCP tool call, every bot-to-bot handoff and every access request.
Why it matters for agents
Agents act quickly and in volume. A policy outage that fails open turns every agent into an unreviewed one for as long as the outage lasts. Failing closed costs a few blocked calls and keeps the blast radius at zero.
Related reading
- Deny-ask-allow policy model
- AI agent governance
- Security controls, from the code
- Compare Bello Bot with other AI agent products
- Guides to running AI agents safely
- The Bello Bot blog
- Free AI agent governance grader
From the blog
Questions
Does a fail-closed engine block everything during an outage?
In Bello Bot, not if rules were loaded before. A failed reload keeps the last good rules. Only with nothing cached does an evaluation error deny the call.
What does the agent see when a call is denied?
The decision carries the rule name and reason. For an evaluation failure the reason is policy evaluation failed.
Keep reading
Deny-ask-allow policy model
The deny-ask-allow model gives each AI agent tool rule one of three effects, and deny beats ask beats allow on ties.

Deny-ask-allow starter policy
A copyable starter policy for AI agent tool calls: deny destructive tools, ask before writes and allow reads, built for the Bello Bot policy engine.
Designing deny, ask, allow policies for AI agents
How to design deny > ask > allow policy tables for enterprise AI agents: priorities, tool and argument matching, room-only rules, fail-closed evaluation, dry runs and replaying a draft rule against real history.
Security
Approvals, policy engine, network guard, Mailman and secrets.
Try Bello Bot with your team
Public beta. Bring your own model keys, invite your team, and approve what your bots do.