High-performance AI reverse proxy and privacy firewall written in Rust.
Project details
IronWarden is a cutting-edge, ultra-low-latency AI security reverse proxy designed for seamless integration. Built with bare-metal Rust, it allows real-time PII redaction, sliding-window SSE token rehydration, and robust prompt injection defenses without requiring code changes in existing applications.
IronWarden is a high-performance, sovereign AI reverse proxy and privacy firewall, meticulously designed using bare-metal Rust, Axum, and Tokio. This project stands out for its ultra-low latency, offering exceptional capabilities for streaming PII redaction and real-time services without requiring any changes to existing applications.
IronWarden offers remarkable performance metrics as compared with similar technologies:
| Metric | IronWarden | LiteLLM | Portkey | Kong AI Gateway |
|---|---|---|---|---|
| P95 Routing Overhead | <0.07 ms | 18.5 ms | 12.2 ms | 3.4 ms |
| Max Concurrency (1 Core) | 125,000+ req/s | ~2,200 req/s | ~4,800 req/s | ~24,000 req/s |
| Memory Footprint | ~18 MB | ~140 MB | ~110 MB | ~85 MB |
| Data Sovereignty | 100% Local | Local/Cloud | Cloud SaaS | Self-hosted/Cloud |
| Audit Log Integrity | HMAC-SHA256 | Plain Text | Standard Logs |
IronWarden’s architecture is built for scalability and efficiency. It directly connects client requests via HTTP/2 and supports streaming SSE to a core gateway that efficiently manages connections and processing:
[ Client / Microservices / OpenAI & Anthropic SDKs ]
│
▼ (HTTP/2, Streaming SSE, JSON-RPC)
┌─────────────────────────────────────────────────────────────┐
│ IronWarden Core Gateway │
└─────────────────────────────────────────────────────────────┘
IronWarden seamlessly integrates with various SDKs, requiring minimal changes to existing implementations:
Recently benchmarked results show:
With built-in observability, IronWarden provides:
IronWarden is an advanced solution for organizations needing a robust, secure, and efficient AI proxy with privacy-centric features. It encapsulates the necessary tools to meet compliance mandates while providing flexibility and speed in real-world applications. Optimize data handling with IronWarden to ensure superior performance and security.
Comments
0Start the conversation
Share the first comment.