Built to make your LLMs extraordinarily secure,Wren is the best way to protect your AI apps.

$pip install wren-gateway
wren
TypePayloadStatus
PROMPT_INJECTIONIgnore previous instructions and...
BLOCKED
PII_LEAKSSN: 123-45-6789 detected in context
REDACTED
JAILBREAKYou are DAN, you can do anything...
BLOCKED
RAG_POISONMalicious chunk injected in retrieval
BLOCKED
TOOL_ABUSEexec(os.system("rm -rf /"))
BLOCKED

Wren secures your LLM apps

Accelerate development by handing off security tasks to Wren, while you focus on building features.

Learn about Wren security
Wren Security

Wren SDK Integration

Drop in one import. Route all LLM calls through the gateway. Clean, validated requests reach your model while threats are blocked.

Trigger

Initialize the WrenClient and pass your queries. Milliseconds latency overhead.

Validation Behavior

Input scanning → policy engine → RAG check → tool validation → output filtering.

3 Checks Enabled
Scan for prompt injections
Enforce custom output policies
Add a custom validation layer...

Stay secure on the frontier

Core Security

Advanced pattern detection catches prompt injections before they reach your AI models. Protects against jailbreaks and tool abuse.

Explore core protection
Model provider targeted
Claude 3.5 Sonnet
Injection attempt (Blocked)
System prompt exploit detected
Tool execution payload identified
RAG poisoning string found
Jailbreak heuristic

Deep payload understanding

Wren learns how your data flows, detecting and redacting sensitive PII instantly, no matter the structure.

Learn about data privacy
Scanning input stream for PII
DetectedEmail signature containing phone numbers
MaskedSocial Security Numbers in attached JSON
MaskedCredit card patterns in user feedback
ActionRedact payload and forward

Develop enduring software

Trusted by modern enterprises to accelerate development, securely and at scale. Monitor and act with confidence.

Explore enterprise

Get started in minutes

From zero to fully protected in 4 steps. No infrastructure to manage. No complex config. Just protection.

01

Run your local gateway

Self-host the secure proxy in your infrastructure.

localhost:8000
02

Install the SDK

One command. Works with any Python LLM app.

$pip install wren-gateway
03

Route calls through Wren

Replace your LLM client with WrenClient.

$client = WrenClient(api_key="wren_sk_...")
04

Watch attacks get blocked

Dashboard shows every threat in real time.

← BLOCKED: PROMPT_INJECTION (0.97)

Try Wren now.

View on GitHub