AI agent policy rule simulator
Write rules, describe one tool call, and see which rule decides and why. A port of the Bello Bot policy engine that runs in your browser.
This simulator evaluates AI agent tool calls the way Bello Bot does: rules sorted by priority, lowest first, with deny before ask before allow on ties, and the first match decides. An unmatched call is allowed only because the connector was granted, and unreadable rules deny the call.
How it works
The rules box takes the same fields as the Bello Bot policy API: name, effect, priority, bot, connector, tool_glob, arg_match, room_only and reason. Bot and connector stand in for ids, and the copy button turns them into id placeholders.
Rules are sorted by priority (100 when left out), then deny, ask and allow, then the order you wrote them. Each field you set must match: a star in a glob matches any run of characters, an argument match reads the value at a path such as $.repo, and room_only true matches only calls made in rooms while false matches only calls outside them.
Tick the broken rules box to see the fail-closed path: with no last good copy cached, every call is denied as a policy error. Untick the grant box to see that a bot never sees a connector nobody granted it.
From the blog
Questions
Is this the real Bello Bot engine?
It is a line-for-line port of the evaluation in src/policy.rs, tested against the same cases. It runs in your browser and sends nothing anywhere.
What does ask do?
Ask allows the call but forces the approval card, even for a tool that is set to run on its own.
What happens when no rule matches?
Policy allows the call, but a bot can only use a connector that a person granted it, so grants are the default gate.
Related reading
- Deny, ask, allow starter policy
- Fail-closed policy engine, defined
- Security controls, from the code
- Copyable policy templates
- AI agent governance glossary
More free tools
AI agent governance grader
Score your AI agent security and governance in two minutes.
BYOK provider picker
Which providers can run on your own key, which run only on Bello Bot's, and which models each one offers today.
MCP SSRF risk checker
Paste MCP server or model endpoint URLs, one per line, and see whether the Bello Bot network guard would let a bot reach them.
Try Bello Bot with your team
Public beta. Bring your own model keys, invite your team, and approve what your bots do.