Nomos: an open-source framework for testing whether AI agent permissions have grown too broad

Excellent-Hour7253 · reddit · 2026-09-10

Testing whether an agent can complete a task differs from testing whether it should perform each action. A developer lays out a permission-testing approach using a messaging tool as an example.

Six expected policy cases: draft → allow; send to approved recipient → require human approval; send to blocked recipient → deny; export all messages → deny; call unknown tool → deny; access another inbox → deny.

Two test types:

Key insight: passing policy tests doesn't prove integration safety — correct policies can be bypassed by application code, and approval doesn't guarantee exactly-once execution without retry/idempotency design.

The author maintains Nomos, an open-source implementation whose local example covers the six cases plus a human-reviewed delivery flow. It's not a sandbox: app code must route tool calls through the checks.

Original post →

More from coding & agent

coding & agent channel →