Getting Started
API Reference
[DOCS-V1]

Introduction

PromptGuard is a powerful middleware gateway designed to secure, monitor, and optimize your LLM interactions. It acts as a transparent proxy between your application and AI providers like OpenAI, Anthropic, and others.

With PromptGuard, you can implement real-time PII filtering, rate limiting, cost tracking, and detailed logging without changing your application logic. Simply switch your base URL and you are ready to go.

Security First

Automatically redact sensitive data (PII) before it leaves your infrastructure. Configurable rules for credit cards, emails, phone numbers, and custom regex patterns.

Drop-in Replacement

Fully compatible with the OpenAI API format. Use existing SDKs and libraries by just changing the base_url.

Secure Storage

We use HashiCorp Vault for enterprise-grade secret management. Your keys are encrypted and stored safely, ensuring maximum security for your credentials.