peg/rampart
71 stars · Last commit 2026-05-30
Open-source firewall for AI agents. Policy engine that audits and controls what OpenClaw, Claude Code, Cursor, Codex, and any AI tool can do on your machine.
README preview
<div align="center"> # Rampart **A firewall for AI coding agents.** [](https://go.dev) [](LICENSE) [](https://github.com/peg/rampart/actions/workflows/ci.yml) [](https://github.com/peg/rampart/releases) [](https://docs.rampart.sh) </div> --- Claude Code's `--dangerously-skip-permissions` mode, and similar autonomous modes in Cline and Codex, give agents unrestricted shell access. Your agent can read your SSH keys, exfiltrate your `.env`, or `rm -rf /` with no guardrails. Rampart sits between the agent and your system. Every command, file access, and network request is evaluated against your policy before it executes. Dangerous commands never run.