Your AI agent just spent $135K. Deleted an inbox. Leaked a credit card number. Turn safety on.
SafeClaw = OpenClaw (AI agent) + Agent Safety Net (local proxy). The agent runs in a container. The safety net blocks dangerous actions, tracks cost, and signs every decision.
At a workshop or lecture? Point your phone at the QR code to open this page. Star the repo and connect on LinkedIn to keep this project moving and show some love!
New to AI agents? This site works for everyone — students, first-time builders, and seasoned engineers. Follow along in order, or jump to the part you need.
Available now
Hosted
Your own SafeClaw instance on AceTeam. No monthly fees — just pay for token usage at fair market rate.
Claude CodeOpenClawCrewAILangChainNemoClawNanoClawAny LLM API
How It Works
SafeClaw sits between your agent and the LLM. Every call is checked before it reaches the model. Dangerous requests are blocked. Everything is logged.
Built-in threat detection (free) — catches port scanning, reverse shells, system commands, credential access, and more. Instant, always on.
5 safety categories — Finance, IoT, Software, Web, Program. Toggle each on or off from the dashboard. ML-powered detection coming soon for deeper coverage across all 5.
Audit trail — every decision is recorded. What was blocked, when, and why. Your compliance team can prove safety was enforced.
Works with Claude Code
Once SafeClaw is running (self-hosted or via the installer above), add this to your Claude Code MCP config to give it 4 safety tools — cost lookup, verdict history, safety status, and threat scan:
Paste into ~/.claude.json (or your project's .mcp.json). Or run aceteam-aep setup to auto-detect and configure.
Self-Host Setup
What gets installed? The installer gives you two things: OpenClaw (the AI agent platform) and the Agent Safety Net (blocks threats, tracks cost, signs verdicts). Together, that's SafeClaw. Your data stays on your machine — nothing touches our servers. You use your own API keys, so it costs $0 beyond what you already pay your LLM provider.
Have OpenClaw or another AI agent? Tell it to install SafeClaw for you:
I'm a Human
I'm an Agent
1
Send this to your agent (paste into OpenClaw, Claude Code, or any MCP-capable agent):
/skill https://safeclaw.sh/SKILL.md
Or: openclaw skills install safeclaw-proxy
2
Pick a provider — open the dashboard and click Use AceTeam. Sign in at aceteam.ai once, get bounced back with a key already wired up — $5 free credit included. Or bring your own OpenAI / Anthropic key / TokenRouter.
You are an AI agent. Run these steps to install SafeClaw:
1
Fetch and execute the skill
curl -fsSL https://safeclaw.sh/SKILL.md
Follow the instructions in the SKILL.md to install and verify the proxy.
2
Point your human at the dashboard — tell them to open localhost:8899/dashboard/ and click Use AceTeam. One sign-in at aceteam.ai, bounced back with a key and $5 free credit — no key handling on your side.
3
Start learning — explore the dashboard and run the demo scenarios below.
Recommended — One-Line Installer
Run the installer to automatically detect your environment, pull images, and set up your workspace.
Linux / macOS
curl -fsSL https://safeclaw.sh/install.sh | bash
Windows (PowerShell)
iwr -useb https://safeclaw.sh/install.ps1 | iex
Manual setup — run the container yourself
Safety proxy only
docker run -p 8899:8899 ghcr.io/aceteam-ai/aep-proxy
This runs just the safety net. For the full agent, use docker compose (see below).
Full SafeClaw (OpenClaw + Safety)
docker compose -f docker-compose.yml -f docker-compose.safe.yml up
Runs the complete agent + safety proxy stack. Using Podman? Replace docker with podman.
Next — Open the dashboard & pick a provider
Open localhost:8899/dashboard/. On first run, a welcome card asks how you want to reach an LLM. Three options — all store the key locally in the proxy, nothing touches our servers:
Use AceTeam — recommended, one click
Click Use AceTeam → sign in at aceteam.ai → you're bounced back with a key already provisioned. Comes with $5 in free credit; top up from your account when it runs out.
I have API keys — bring your own OpenAI / Anthropic / local
Paste an sk-… key. Optional base URL for local Ollama, LM Studio, vLLM, etc. $0 extra cost — you pay the provider directly.
I'll add $20 in tokens to your AceTeam account on top of the $5 welcome credit.
3 — Point your agent
export OPENAI_BASE_URL=http://localhost:8899/v1
Every LLM call from any tool (Claude Code, OpenClaw, CrewAI, LangChain) now routes through SafeClaw before reaching the provider.
Already have OpenClaw? Wire it to the safety net manually
If OpenClaw is already installed, point it at a running Agent Safety Net via its config TUI:
uv sync --extra proxy
openclaw config
Then walk through the menu:
Select options to configure → Model
Model/auth provider → Custom Provider
API Base URL → http://localhost:8899/v1
How do you want to provide this API key? → Paste API key now → paste your key
Endpoint compatibility → whatever you want
Model ID → whatever model you want (e.g. gpt-4o)
OpenClaw will now route every call through the safety net. Start a new session for the change to take effect.
4 — Try a prompt
Ask your agent anything. Then check the dashboard — you'll see the cost, safety verdict, and a full audit trail of every call.
Alternative: developer mode (git clone + uv)
git clone https://github.com/aceteam-ai/aceteam-aep.git
cd aceteam-aep
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync --extra proxy
uv run aceteam-aep proxy
Clone the source, install uv, sync proxy extras, and run from the repo. Best for hacking on the proxy itself — changes to the source take effect immediately.