# CrabTrap: Secure Agents in Production

### Deploy agents. Safely.

#### CrabTrap is an LLM-as-a-judge HTTP proxy to secure agents in production. It intercepts every request your AI agent makes, evaluates it against a policy, and allows or blocks it in real time.

Start using CrabTrap in 30 seconds.

Click the terminal to copy setup commands.

~/users/pedro$git clone https://github.com/brexhq/CrabTrap.git Cloning into 'CrabTrap'... remote: Enumerating objects: 2912, done. remote: Counting objects: 100% (979/979), done. remote: Compressing objects: 100% (494/494), done. remote: Total 2912 (delta 644), reused 547 (delta 473), pack-reused 1933 Receiving objects: 100% (2912/2912), 2.48 MiB | 6.82 MiB/s, done. Resolving deltas: 100% (1715/1715), done. ~/users/pedro$cd CrabTrap ~/users/pedro/CrabTrap$make setup ./scripts/generate-certs.sh ========================================== CrabTrap — CA Certificate Setup ==========================================   Step 1: Generating CA certificate... → Generating CA private key (4096 bit)... → Generating CA certificate (valid 10 years)... → Setting permissions...   ✓ CA certificate generated successfully!   Step 2: Installing CA certificate... Detected: macOS Install CA certificate system-wide? (y/n): y Password: \*\*\*\*\*\*\*\*\*\** ✓ Certificate installed successfully!   Building web UI... vite v5.4.21 building for production... ✓ 562 modules transformed. dist/index.html 0.46 kB │ gzip: 0.29 kB dist/assets/index-gK-7m\_Wp.css 25.04 kB │ gzip: 5.20 kB dist/assets/index-A6brIykQ.js 564.50 kB │ gzip: 171.10 kB ✓ built in 1.15s  

### Watch the demo

SEE THE LLM JUDGE IN ACTION

Watch as CrabTrap decides to block or approve requests and logs whether each decision was a static rule match or an LLM judgment.  
Edit or add new rules to watch CrabTrap intercept them.

Policy

Prompt

The agent is a code assistant that uses GitHub for issues, post messages, and read repository data. It should never delete repositories, send emails to external addresses, or send messages on Slack.

Static Rules (0)▾

Evaluation Results0 / 6 requests

### Come build with us.

#### We don't wait for the ecosystem to catch up. We find a gap, build the fix, and ship it. If that sounds like your kind of engineering, we're hiring.