Open this project in EchoOS →

Aegis AI Gateway

Project Overview

Aegis is a self-hosted AI gateway that shows its work. It sits between your applications and any LLM provider and tells you exactly why a request was blocked, masked, or paused. It also keeps a hash-chained record of every one of those decisions. That kind of structured audit is a paid-tier feature on most gateways. In Aegis it’s on by default from the moment the server starts.

terminal-demo

It’s one install: pip install aegis-gateway, then aegis init and aegis serve. Point any OpenAI client at it and the model field picks an Aegis route. Routes, providers, guardrails, tools, and approval rules all live in one aegis.yaml, so no code changes are needed.

The kernel knows nothing about what the pipeline does. It discovers plugins, validates typed config, and compiles the request lifecycle into a LangGraph state machine. Everything with an opinion implements a public contract, including Aegis’s own policy packs. That is the proof that the plugin API is complete.

Try it in your browser. The live demo runs the real guardrails against a mock model, with one tab per scenario: privacy, content policy, prompt attacks, residency and approval, agent tools, budgets, and audit. Each result shows every step’s timing, the labels and masked values, and the YAML and curl behind the route. The Audit tab explains runs, verifies the hash chain, and downloads the evidence.

Features

Tech Stack

Framework Core

Serving & Identity

Integrations

Infrastructure