# AW-1 Sovereign Circuit Breaker

> AW-1 Sovereign Circuit Breaker is an open-source MCP server for security. Deterministic AST circuit breaker that blocks risky agent code before it runs. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted
- **Website:** https://p20.laveto.net/wisdom
- **Repository:** https://github.com/mvikmanners/aw1-circuit-breaker
- **MCP Registry name:** io.github.MvikManners/aw1-circuit-breaker
- **Categories:** security
- **Listing updated:** 2026-11-15

## About

AW-1 inspects code at the abstract syntax tree level before it reaches Python's runtime, aiming to stop shell escapes, dynamic eval and outbound socket connections in autonomous tool calls. The README argues prompt-based guardrails can be evaded through encoding tricks, while an AST check is deterministic.

Its interception table lists eval(compile(...)) as tripped with RESTRICTED_INVOCATION, and subprocess.Popen and socket.connect attempts as tripped with UNAUTHORIZED_MODULE_IMPORT. Quoted latency is under 0.2 ms at p99 on 1,000 synthetic iterations on Debian with Python 3.13, the author's own benchmark.

You can try it with uvx aw1-circuit-breaker --demo, run mcp_server.py locally, or connect to the remote SSE gateway. Plugin install commands for Claude Code and Codex are given, and the repository is MIT licensed. The linked console page is a separate decision-assurance demo with little detail.

## Features

- **AST inspection:** Analyses code structure before execution rather than prompts.
- **Blocks dynamic execution:** Trips on eval and compile patterns.
- **Blocks shell and socket use:** Flags unauthorised module imports such as subprocess and socket.
- **Low latency:** README reports sub-0.2 ms p99 in its own tests.
- **Zero-install demo:** uvx aw1-circuit-breaker --demo or verify a snippet.
- **Plugin installs:** Claude Code and Codex marketplace commands.

## Good for

- Screen agent-generated Python before running it
- Block shell escapes in tool pipelines
- Demo exploit interception to a security team
- Add a deterministic check beside prompt guardrails

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport sse aw1-circuit-breaker https://p20.laveto.net/wisdom/mcp/sse
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://p20.laveto.net/wisdom/mcp/sse
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "aw1-circuit-breaker": {
      "url": "https://p20.laveto.net/wisdom/mcp/sse"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "aw1-circuit-breaker": {
      "type": "sse",
      "url": "https://p20.laveto.net/wisdom/mcp/sse"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "aw1-circuit-breaker": {
      "serverUrl": "https://p20.laveto.net/wisdom/mcp/sse"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "aw1-circuit-breaker": {
      "type": "sse",
      "url": "https://p20.laveto.net/wisdom/mcp/sse"
    }
  }
}
```

## FAQ

### How fast is it?

The README reports p99 latency of 0.1645 ms for benign payloads in its own 1,000-iteration test.

### Can I try it without installing?

Yes: uvx aw1-circuit-breaker --demo.

### What licence?

The README badge shows MIT.

### Which transport does the remote server use?

SSE at p20.laveto.net/wisdom/mcp/sse.

### Is AW-1 Sovereign Circuit Breaker free?

Yes. AW-1 Sovereign Circuit Breaker is open source, so you can use and self-host it for free.

### How do I add AW-1 Sovereign Circuit Breaker to Claude Code?

Run this command in your terminal: claude mcp add --transport sse aw1-circuit-breaker https://p20.laveto.net/wisdom/mcp/sse

### What are the best alternatives to AW-1 Sovereign Circuit Breaker?

The closest alternatives to AW-1 Sovereign Circuit Breaker are Diogenes Agent Guardrails & Sandbox MCP, YUSA, DeadBolt by NextEleven, Propagation breaker for agent fleets and prompt-protection.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Diogenes Agent Guardrails & Sandbox MCP](https://ai-powered.com/mcp/diogenes-agent-guardrails-and-sandbox-mcp): Diogenes Agent Guardrails & Sandbox MCP is a freemium MCP server for security.
- [YUSA](https://ai-powered.com/mcp/yusa): YUSA is an open-source MCP server for security.
- [DeadBolt by NextEleven](https://ai-powered.com/mcp/deadbolt-by-nexteleven): DeadBolt by NextEleven is an open-source MCP server for security.
- [Propagation breaker for agent fleets](https://ai-powered.com/mcp/propagation-breaker-for-agent-fleets): Propagation breaker for agent fleets is a paid MCP server for security.
- [prompt-protection](https://ai-powered.com/mcp/prompt-protection): prompt-protection is an open-source MCP server for ai models and llm tooling.
- [AgentRaaS wrap](https://ai-powered.com/mcp/agentraas-wrap): AgentRaaS wrap is an open-source MCP server for developer tools.
- [Server and secret guardrails](https://ai-powered.com/mcp/server-and-secret-guardrails): Server and secret guardrails is an open-source MCP server for security.
- [Verdict L402](https://ai-powered.com/mcp/verdict-l402): Verdict L402 is a paid MCP server for security.

---
Source: https://ai-powered.com/mcp/aw-1-sovereign-circuit-breaker
