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
Scrubs OpenAI/AWS/GitHub keys, JWTs, and PII before prompts leave your VPC. Blocks jailbreak/system-prompt extraction at the edge.
Sub-millisecond exact SHA-256 + SimHash semantic hit cache, per-key RPM rate limiter (HTTP 429), and daily USD budget caps.
Built-in Stripe, YooKassa (ЮKassa), and CryptoBot (TON/USDT)
webhooks issue signed offline license keys. Live stats at
/admin and /metrics.
/metricsAEGIS-PRO-... license key/webhooks/stripe,
/webhooks/yookassa, /webhooks/cryptobot
AEGIS-ENTERPRISE-... key + private deployment
# 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"}}}'