SAFi open-source AI agent sandbox and policy gating tool
Understand this story
SAFi has released an open-source CLI and self-hosted governance server that provide OS-level sandboxing and deterministic policy gating for local AI agents. Agents run as thin clients in the terminal, cannot write outside the project workspace by default, and every tool call is validated against organizational policy and written to a hash-chain audit log. All checks are disabled by default and must be enabled individually by identifier in Settings → Organization → AI Standards. Optional bring-your-own-key cloud model providers (OpenAI, Anthropic, Gemini, etc.) are likewise disabled by default; the project also supports llama.cpp. Users can quickly test safi-cli with a live demo server, or self-host the entire governance server with Docker. The project is licensed under AGPL-3.0 with a Section 7 exception that keeps an organization's own charters, policies, tools, branding, and data private.
AI overview based on source reports · Updated 16 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIShow HN: SAFi, OS sandboxing and deterministic policy gating for local AI agents
SAFi is a client-server system that governs local AI agents: a thin terminal client (safi-cli) runs agents sandboxed with Linux bubblewrap or macOS sandbox-exec and executes only what a central governance server permits, with no LLM API keys stored on the laptop. The server holds identity, RBAC, immutable policies, deterministic risk gates (R0–R4), and a hash-chained audit log, and ships with built-in software engineering, security engineer, and systems admin agents. It is AGPL-3.0 licensed, installable via a PowerShell or shell script against a live demo server or self-hosted with Docker, and also offered as an on-premise appliance (SAFi Core) running local models.
Activity for this story
- Current comparable activity
- 5
- Peak comparable activity
- 10Dec 2 10:00
- Change in the past 24 hours
- -49%
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.