GA
Open Source
Free Tier

Hanzo Guard

LLM safety layer

Sanitize inputs and outputs between your app and AI providers. Protect against prompt injection, PII leakage, and harmful content.

Guard
Production
v2.4.1
3 replicas
us-east-1
Services
api-gateway
23% CPU
auth-service
12% CPU
worker
78% CPU

Get Started

Install Guard in seconds

docker
$ docker run -d hanzo/guard

New to Hanzo? Install the CLI first: curl -fsSL hanzo.sh | bash

Features

Everything you need to get started

Prompt injection defense
PII detection
Content filtering
Token limits
Cost controls
Audit logging
Policy engine
Real-time scanning
SDKs & Libraries

Official Guard SDKs

Use our official SDKs to integrate Guard into your application

Hanzo Python SDK

PyPI
pip install hanzoai

Hanzo TypeScript SDK

npm
npm install @hanzo/ai

Hanzo Go SDK

Go Modules
go get github.com/hanzoai/go-sdk

Hanzo Rust SDK

crates.io
cargo add hanzoai
Community

Join the Guard Community

Get help, share ideas, and contribute to the project

Want to Contribute?

We welcome contributions of all kinds: bug reports, feature requests, documentation improvements, and code contributions.

Read our Contributing Guide

Ready to get started with Guard?

Deploy in minutes with Hanzo Cloud or self-host with our open-source release.