SAFi gateway gates agent tool calls with R0-R4 risk classes (repo included)

forevergeeks · reddit · 2026-12-06

The same author's repost of the SAFi risk-class scheme with the repo link. Tool calls are classified pre-execution into five tiers (read-only, reversible local, destructive local, external, always-blocked) via deterministic pattern matching; policies set a per-agent risk ceiling and R4 is unconditionally rejected, enabling composable agent permissions with a full audit trail. Repo: github.com/RunSAFi/SAFi

Related event: Open-source SAFi gateway rates agent tool calls on five risk levels(2 posts)→

Original post →

More from coding & agent

coding & agent channel →