Enterprise? Roll out to every endpoint with Intune or any MDM

Guardrails for every AI coding agent.

Open source from Cisco AI Defense. Scan skills and MCP servers, block risky tool calls and keep an audit trail for Claude Code, Codex, Copilot, Cursor and 7 more, on macOS, Linux and Windows.

Three commands to your first block

  1. Install. For your user on macOS (Apple silicon (arm64)). Every download is checked against the release checksums.

    curl -LsSf https://github.com/cisco-ai-defense/defenseclaw/releases/latest/download/install.sh | bash
  2. Set up. Finds the agents you have and starts them in observe mode, so nothing is blocked yet.

    defenseclaw init
  3. Turn on blocking. Switches Claude Code to action mode. The 5-minute quickstart adds a demo rule so you can watch a block.

    defenseclaw guardrail mode action --connector claudecode

Release archives, the macOS menu-bar app and checksum steps are on the Download page.

Guided example · Synthetic runtime event

Trace a runtime verdict from event to action

Follow normalization, a bundled rule match, suppressions, severity, and the default pack mapping.

Deterministic
# ~/.defenseclaw/config.yaml (excerpt)guardrail:  mode: action           # observe mode never blocks  judge:    enabled: false       # the optional LLM judge is off by default  # No block_at is set, so the default pack decides:  # CRITICAL blocks, HIGH and MEDIUM alert, LOW allows.# ~/.defenseclaw/config.yaml (excerpt)guardrail:  mode: action           # observe mode never blocks  judge:    enabled: false       # the optional LLM judge is off by default  # No block_at is set, so the default pack decides:  # CRITICAL blocks, HIGH and MEDIUM alert, LOW allows.
DecisionAlert and allow the call
Reason

HIGH maps to alert under the default pack

Action

Emit decision record

06

Resolve actionUnder the default pack, HIGH resolves to alert.

Step 6 / 6
What DefenseClaw did — and did not do

What it did

  • Show the ordered stages that assemble a runtime verdict
  • Distinguish the optional judge from deterministic rules

What it did not do

  • Evaluate Rego or scanner output in the browser
  • Reuse runtime actions as skill or MCP admission actions

Protection your users can’t turn off.

Admin-owned
Services, policy and program files belong to the administrator. Users and their agents can’t turn protection off.
Machine policy
Hooks installed at machine level for Claude Code, Codex, Copilot, Cursor, and OpenCode with the managed plugin.
Your MDM
Recipes for Intune, Jamf, Iru (formerly Kandji), Workspace ONE, ConfigMgr and Linux configuration management.

Put a guardrail around your first agent in five minutes.

No LLM key is required for deterministic runtime rules or static scanner checks.