⛊ AEGIS OS v4.1
Autonomous AI Agent Security Platform — Built in Rust
88% of organizations reported AI agent security incidents. AEGIS OS is the first autonomous security platform that discovers, tests, and protects AI agents — automatically.
What is AEGIS OS?
AEGIS OS is an open-source autonomous security platform for AI agents. It wraps every agent in 12 security layers, discovers new agents on your network, tests them continuously, learns from attacks, and generates reports — all without human intervention.
cargo run -- autonomous # Autonomous 24/7 security daemon
cargo run -- serve # HTTP server on :8401
cargo run -- serve-tls # HTTPS on :8443
cargo run -- red-team # 16 attack vectors tested
Autonomous Mode — Works Alone
$ cargo run -- autonomous --cycles 3
[DAEMON] ═══ Cycle 1 ═══
[DAEMON] Phase 1: Discovery — Found 3 agents (OpenClaw, Goose, MCP)
[DAEMON] Phase 2: Testing — 15 tests × 3 agents = 45 tests
[DAEMON] Phase 3: Analysis — 1 threat: OpenClaw (9 CVEs)
[DAEMON] Phase 4: Blocking — OpenClaw auto-blocked
[DAEMON] Phase 5: Learning — 1 new rule generated
[DAEMON] Phase 6: Report — Daily report generated
[DAEMON] ═══ Cycle 1 Complete ═══
6-Phase Autonomous Cycle
32 Security Modules
12 Security Layers
Layer 1: API Gateway + TLS/HTTPS + RBAC (4 roles)
Layer 2: AI Inference (9 backends + fallback chain)
Layer 3: Policy Engine + Guardrails
Layer 4: Input Sanitization (21 injection patterns)
Layer 5: Skill Vetting Pipeline (static + deps + sandbox)
Layer 6: Rate Limiting + DDoS Protection
Layer 7: Tool Router + MCP Bridge (20 tools)
Layer 8: MCP Server + A2A Gateway
Layer 9: WASM Sandbox + Filesystem Jail
Layer 10: State Integrity Monitor (SHA256 + drift)
Layer 11: Credential Vault + Capability Tokens + TTL
Layer 12: Risk Scoring (4D) + Audit + SIEM Export
9 AI Backends
Security Test Results
Integration Tests: 75/75 (100%) ✅
Advanced Security: 60/60 (100%) ✅
Red Team Tests: 16/16 (100%) ✅
OWASP LLM Top 10: 10/10 (100%) ✅
Total: 151 tests — all passing
What's Tested
12 HTTP Endpoints
# Start server
cargo run -- serve # HTTP :8401
cargo run -- serve-tls # HTTPS :8443
Quick Start
git clone https://github.com/Moudaxx/AEGIS-OS.git
cd AEGIS-OS
cp .env.example .env # Add your API keys
cargo build
cargo run -- autonomous --cycles 3 # Watch it work alone!
Docker
docker-compose up -d # AEGIS + Prometheus + Grafana
RBAC — 4 Roles
AI Security Framework
See AI-SECURITY-FRAMEWORK.md for full mapping.
Related Projects
- AEGIS Pay — Secure Payment Layer for AI Agents (x402 + EIP-3009 + USDC)
Tech Stack
Rust, Axum, Tokio, Wasmtime, Docker, Prometheus, Grafana, GitHub Actions
License
MIT — See LICENSE
Links
- 🌐 Website: moudaxx.github.io/AEGIS-OS
- 📄 Security Framework: AI-SECURITY-FRAMEWORK.md
- 💰 AEGIS Pay: github.com/Moudaxx/AEGIS-Pay