Coding & Development✨gemini🤖claude💬gpt🌐universal
AEGIS OS™ — Secure AI Agent Platform
AEGIS OS™ - Secure AI Agent Platform - 12 security layers, 5 AI backends, RBAC, TLS, MCP/A2A. Built in Rust.
Quick Start
Install this Skill
npx skills add Moudaxx/AEGIS-OS# AEGIS OS™ — Secure AI Agent Platform
# ⛊ AEGIS OS v4.0
### Secure Agent & Robot Execution Platform
[](https://github.com/Moudaxx/aegis-os/actions)
[](https://www.rust-lang.org/)
[](LICENSE)
[]()
[]()
---
AEGIS OS is a security-first execution platform for AI agents. It enforces **12 security layers** around every agent — from WASM sandboxing to runtime risk scoring.
```
cargo run -- serve # Start HTTP server on :8401
cargo run -- run --name my-agent --provider groq
cargo run -- red-team # 16/16 attacks blocked
```
---
## Architecture — 12 Security Layers
```
┌──────────────────────────────────────────────┐
│ 1. CLI / API Gateway / MCP Server / A2A │
│ 2. AI Inference (NIM+Claude+Gemini+Groq+OAI)│
│ 3. Policy Engine + Guardrails (5 rules) │
│ 4. Input Sanitization (21 patterns) │
│ 5. Skill Vetting Pipeline │
│ 6. API Gateway + Rate Limiting (11 routes) │
│ 7. Tool Router (15 tools + Kali) │
│ 8. MCP Client/Server + A2A Gateway │
│ 9. WASM Sandbox + Filesystem Jail │
│ 10. State Integrity Monitor + Drift Detection│
│ 11. Credential Vault + Capability Tokens │
│ 12. Runtime Risk Scoring (4D) + Audit + SIEM │
└──────────────────────────────────────────────┘
```
## AI Backends
| Provider | Model | Status |
|----------|-------|--------|
| **NVIDIA NIM** | meta/llama-3.1-8b-instruct | ✅ |
| **Groq** | llama-3.3-70b-versatile | ✅ |
| **OpenAI** | gpt-4o-mini | ✅ |
| **Google Gemini** | gemini-2.5-flash-lite | ✅ |
| **Anthropic Claude** | claude-haiku-4-5 | ✅ |
## HTTP API (Real Server)
Start the server:
```bash
cargo run -- serve # Starts on :8401
cargo run -- serve --port 8080 # Custom port
```
### Endpoints
| Method | Path | Auth | Description |
|--------|------|------|-------------|
| GET | /health | No | Health check |
| GET | /version | No | Version info |
| GET | /metrics | No | Prometheus metrics |
| POST | /mcp/tools/list | No | List MCP tools |
| POST | /mcp/tools/call | Yes | Execute MCP tool |
| POST | /api/v1/agents/run | Yes | Start an agent |
| POST | /api/v1/agents/stop | Yes | Stop agents |
| GET | /api/v1/agents | No | List agents |
| POST | /api/v1/inference | Yes | AI inference |
| POST | /api/v1/redteam | Yes | Red Team scan |
| GET | /api/v1/audit | No | Audit logs |
### Examples
```bash
# Health
curl http://localhost:8401/health
# Start agent
curl -X POST http://localhost:8401/api/v1/agents/run \
-H "Content-Type: application/json" \
-d '{"name":"my-agent","provider":"groq","auth_token":"aegis-secret-token"}'
# Red Team scan
curl -X POST http://localhost:8401/api/v1/redteam \
-H "Content-Type: application/json" \
-d '{"auth_token":"aegis-secret-token"}'
# Prometheus metrics
curl http://localhost:8401/metrics
```
## Quick Start
### Prerequisites
- Rust 1.85+
- At least one API key (Groq is free and fast)
### Setup
```bash
git clone https://github.com/Moudaxx/aegis-os.git
cd aegis-os
cp .env.example .env # Add your API keys
cargo build
```
### Run
```bash
# Full 12-layer agent execution
cargo run -- run --name my-agent --provider groq
# HTTP server mode
cargo run -- serve
# Red Team security scan
cargo run -- red-team
# Version info
cargo run -- version
```
### Docker
```bash
docker compose up -d # AEGIS + Prometheus + Grafana
open http://localhost:3000 # Grafana dashboard
open http://localhost:9090 # Prometheus
```
## AI Security Framework
AEGIS OS maps directly to recognized AI security standards:
```
AEGIS Module → AI Security Domain
════════════════════════════════════════════════
12-Layer Architecture → Secure AI Systems Design
Credential Isolation + RBAC → Zero Trust for AI Agents
Red Team + MCP-Kali → AI Red Teaming
Audit Logger + SIEM → AI Governance & Compliance
MCP Security + Allowlist → LLM Tool Security
Input Sanitization → Prompt Injection Defense
RAG Security Guard → RAG Poisoning Protection
Privacy Filter → AI Output Privacy
Extraction Detector → Model Extraction Defense
Skill Vetting → AI Supply Chain Security
```
**Standards:** NIST AI RMF ✅ | OWASP LLM Top 10 (10/10) ✅ | MAESTRO ✅ | Stanford AIUC-1 ✅
See [AI-SECURITY-FRAMEWORK.md](AI-SECURITY-FRAMEWORK.md) for full mapping.
## Security Test Results
```
Integration Tests: 75/75 (100%)
Red Team Tests: 16/16 (100%)
✅ Prompt Injection — InputSanitizer (21 patterns)
✅ Path Traversal — FilesystemJail (13 blocked patterns)
✅ Data Exfiltration — NetworkEgress (exact match + blocklist)
✅ Credential Theft — CredentialVa
... (truncated)Repository
4stars
0forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
🤖claude🌐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
🌐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
✨gemini🤖claude💬gpt🌐universal
524
34
View
misakanet-failure-memory
Coding & Development📚 A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
🤖claude⌨️cursor🌐universal
424
158
View