peg

Rampart — AI skill for Claude Code

AI community

Open-source firewall for AI agents.

How to install Rampart

This entry records only its repository, not the path inside it, so there is no exact command to give. Open peg/rampart and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rampart does

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.

Alternatives in AI

  • Invisible Dots — Open-source, self-hosted alternative to OpenAI Dots, Meta Muse, Grok Bot, Manus Cue and Claude Cowork 31.8k ★
  • Iai Personal Memory Engine — A cyber brain for your AI 866 ★
  • Room — Open-source earning-focused swarm intelligence engine 838 ★

README

Rampart

**Open-source policy and approval control for AI agents.**

Rampart — Let agents move fast. Keep the final say.

[![Go](https://img.shields.io/badge/Go-1.25.13+-00ADD8?style=flat&logo=go)](https://go.dev) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) [![CI](https://github.com/peg/rampart/actions/workflows/ci.yml/badge.svg)](https://github.com/peg/rampart/actions/workflows/ci.yml) [![Release](https://img.shields.io/github/v/release/peg/rampart?style=flat)](https://github.com/peg/rampart/releases) [![Docs](https://img.shields.io/badge/Docs-docs.rampart.sh-FF6392?style=flat)](https://docs.rampart.sh)

[Install](#install) · [How it works](#how-it-works) · [Integrations](#integrations) · [Policies](#a-policy-you-can-read) · [Documentation](https://docs.rampart.sh)


AI agents can edit files, run commands, call APIs, and ship code at machine speed. Their permission systems usually ask a different question: **can this tool run?**

Rampart asks: **should this action run?**

It sits at supported hooks, plugins, proxies, and process boundaries; evaluates the action against local policy; and returns `allow`, `ask`, or `deny` before the host executes it. Decisions are visible, approvals stay human-owned, and the result becomes part of a hash-chained audit trail.

Agent proposes an action
          │
          ▼
   ┌─────────────┐
   │   Rampart   │  policy · approval · audit
   └──────┬──────┘
          │
      allow / ask / deny
          │
          ▼
Host executes — or does not

Rampart is a security boundary, **not a sandbox**. It sees actions exposed by the configured integration; it does not see arbitrary syscalls or network traffic inside a process you already allowed. Start with the [threat model](docs/THREAT-MODEL.md) when deciding where to rely on it.

Install

brew install peg/tap/rampart

rampart protect