Newer
Older
aegis-public / README.md
@Yang Yang Xie Yang Yang Xie on 19 May 4 KB Initial release β€” Aegis v1.0.0

Aegis

Self-hosted Envoy gateway with AI threat analysis, TLS automation, and a real-time security dashboard.

Docker Pulls Docker Image Version License

Aegis sits between the internet and your services. It controls Envoy Proxy via xDS, watches all traffic in real time, blocks malicious IPs automatically, manages TLS certificates, and lets you chat with your gateway through an AI assistant β€” all in a single Docker container.


Quick start

docker run -d \
  --name aegis \
  -p 8765:8765 \
  -v aegis_data:/data \
  -e ADMIN_PASSWORD=changeme \
  axieyangb/aegis:latest

Open http://localhost:8765 β€” default login: admin / changeme

With Envoy (recommended)

curl -O https://raw.githubusercontent.com/axieyangb/aegis/main/docker-compose.yml
curl -O https://raw.githubusercontent.com/axieyangb/aegis/main/configs/starter.json
docker compose up -d

Features

Feature Description
πŸ›‘ Envoy xDS Control Plane Visual editor for listeners, clusters, filter chains β€” pushed live via gRPC
πŸ“Š Real-time Analytics Live request feed, top IPs, world map, device + status breakdown
πŸ€– AI Threat Analysis Background IP classification using Gemini / Claude / GPT / Ollama. Auto-blocks attackers
πŸ¦‰ Owl AI Assistant Chat with your gateway β€” ask about traffic, threats, config, anything
πŸ”’ TLS Automation ACME (Let's Encrypt, ZeroSSL), HTTP-01 & DNS-01 challenges, auto-renewal via Envoy SDS
πŸ”” Notifications Telegram, Discord, Slack webhooks β€” alert on blocks, anomalies, daily digest
🌍 Geo Analytics Country-level traffic breakdown, remote or local MaxMind GeoIP
πŸ”‘ Auth & SSO Built-in login + optional OIDC/SSO (Google, Authentik, Keycloak, etc.)
πŸ” IP Intelligence Per-IP profiles with ASN, ISP, VPN/Tor detection, AbuseIPDB reputation

Architecture

Internet ──▢ Envoy Proxy ──▢ Your services
                  β”‚
          gRPC xDS (port 18000)
                  β”‚
             β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”
             β”‚  Aegis   β”‚  port 8765
             β”‚          β”‚
             β”‚ xDS CP   β”‚  controls Envoy live
             β”‚ Analyticsβ”‚  reads Envoy ALS logs
             β”‚ AI Engineβ”‚  classifies IPs
             β”‚ Cert Mgr β”‚  ACME β†’ Envoy SDS
             β”‚ Dashboardβ”‚  web UI + REST API
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Configuration

Environment variables

Variable Default Description
PORT 8765 Dashboard + API port
XDS_PORT 18000 Envoy gRPC xDS port
DATA_DIR /data Persistent data directory
ADMIN_USERNAME admin Admin username
ADMIN_PASSWORD aegis Admin password β€” change this
AUTH_ENABLED true Require login
BLOCK_ENABLED true Enable auto IP blocking
NODE_ID home Envoy node ID (must match envoy.yaml)

Data volume

Mount a volume or directory to /data:

/data/
β”œβ”€β”€ aegis.db        ← SQLite (traffic, certs, config, alerts)
└── skills/         ← Optional: override Owl AI knowledge files
    └── site.md     ← Custom context injected into Owl's system prompt

Docs


Multi-arch

linux/amd64 and linux/arm64 β€” runs on x86 servers, Raspberry Pi, Synology NAS, and Apple Silicon.

# Pin a specific version
docker pull axieyangb/aegis:v1.0.0

# Always latest
docker pull axieyangb/aegis:latest

License

Aegis is distributed as a compiled binary. Source code is proprietary. See LICENSE.

Community tier is free forever. A Pro license unlocks unlimited notification channels, longer log retention, and unlimited AI patrol sweeps.


Support & Enterprise

  • Issues & feature requests: GitHub Issues
  • Enterprise licensing, custom integrations, SLA: yyangxie@gmail.com