AEGIS AI GATEWAY · v0.2.0
Rust · #![forbid(unsafe_code)] · Drop-in OpenAI / Anthropic / vLLM Proxy

Cut LLM API Spend by 60% and Stop Secret Leaks at the Edge.

Aegis AI Gateway sits in front of OpenAI, Anthropic, GigaChat, YandexGPT, or local Ollama/vLLM in a single 12 MB Rust binary: sub-millisecond L1/L2 semantic caching, outbound secret redaction, prompt-injection WAF, per-key RPM rate limits, and automated billing webhooks.

docker compose up -d
# Point any OpenAI SDK to http://localhost:8080/v1  |  Live UI: http://localhost:8080/admin

DLP & Prompt-Injection WAF

Scrubs OpenAI/AWS/GitHub keys, JWTs, and PII before prompts leave your VPC. Blocks jailbreak/system-prompt extraction at the edge.

L1/L2 Semantic Cache + RPM

Sub-millisecond exact SHA-256 + SimHash semantic hit cache, per-key RPM rate limiter (HTTP 429), and daily USD budget caps.

Auto-Provisioning & Live Admin

Built-in Stripe, YooKassa (ЮKassa), and CryptoBot (TON/USDT) webhooks issue signed offline license keys. Live stats at /admin and /metrics.

Interactive LLM ROI Savings Calculator

Estimated Annual Savings: $19,800 / year

Community (OSS)

$0
Apache-2.0 / MIT · Self-hosted
  • 12 MB static Rust binary & Docker image
  • L1/L2 SimHash cache & DLP secret scrubbing
  • Prompt-injection WAF & Prometheus /metrics
Download v0.2.0

Pro / Team License

$49 / mo
Stripe · Card · CryptoBot (USDT/TON)
  • Offline signed AEGIS-PRO-... license key
  • Per-key RPM rate limits & daily USD caps
  • Auto-issued via /webhooks/stripe, /webhooks/yookassa, /webhooks/cryptobot
Get Pro License Telegram Bot

Enterprise / On-Prem

$299 / mo
Invoice / SLA / Custom Compliance
  • Offline AEGIS-ENTERPRISE-... key + private deployment
  • Custom PII/SOC2/152-FZ redaction patterns
  • Dedicated setup for vLLM, Ollama, GigaChat, YandexGPT
Request Enterprise

Self-Hosted Billing Webhook Endpoints (Ready for Production)

POST /webhooks/stripe (Global) POST /webhooks/yookassa (РФ / СБП / Карты) POST /webhooks/cryptobot (USDT / TON) POST /webhooks/billing (Generic)
# Example: Issue Pro key automatically on YooKassa payment.succeeded
curl -X POST http://localhost:8080/webhooks/yookassa \
  -H "X-Aegis-Webhook-Secret: $AEGIS_WEBHOOK_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"event":"payment.succeeded","object":{"status":"succeeded","metadata":{"tier":"pro","days":30,"email":"cto@company.ru"}}}'