AegisFlux is a next-generation, AI-first cybersecurity platform built from scratch. It inherits architectural philosophy from adaptive firewall systems—modular pipelines, adaptive protection, intelligent detection, and high-performance traffic analysis—without reusing any prior implementation code.
| Principle | Description |
|---|---|
| Adaptive protection | Policies and enforcement tiers shift in real time from threat telemetry, ML scores, and operator intent. |
| Modularity | Every stage (decode, classify, score, enforce) is a swappable plugin behind stable traits. |
| Intelligence plane | ML inference, rules, and heuristics run on a dedicated plane; the dataplane stays lean. |
| Performance first | Rust dataplane with zero-copy buffers, flow aggregation, and batch scoring. |
| Observable by default | Structured events, OpenTelemetry hooks, and audit trails for every decision. |
┌─────────────────────────────────────────┐
│ flux-console (UI) │
└────────────────────┬────────────────────┘
│ REST / WS
┌────────────────────▼────────────────────┐
│ flux-api (control plane) │
│ policies · tenants · incidents · feeds │
└─────┬───────────────────────┬─────────────┘
│ gRPC/HTTP │
┌────────────────▼──────────┐ ┌──────▼──────────────┐
│ flux-core (dataplane) │ │ flux-ml (intel) │
│ pipeline · adaptive mesh │◄──│ scoring · models │
│ flow store · enforcement │ │ feature extraction │
└────────────────┬────────────┘ └─────────────────────┘
│
[ network traffic ]
- Dataplane (
crates/flux-core): Parses frames, maintains flow state, runs the inspection pipeline, applies adaptive policy decisions at line rate where possible. - Control plane (
services/flux-api): Tenant-scoped configuration, policy versioning, incident lifecycle, integration webhooks. - Intelligence plane (
services/flux-ml): Feature extraction, ensemble scoring, model registry, feedback loop for retraining signals. - Experience (
apps/flux-console): Operator dashboard for live threats, policy editor, and mesh health.
Traffic moves through ordered stages; each stage emits telemetry and can short-circuit:
- Ingress — normalize timestamps, attach tenant context
- Decode — L3/L4/L7 framing (extensible decoders)
- Classify — signature + behavioral tags
- Score — rules engine + optional ML callback
- Enforce — allow, rate-limit, challenge, drop, mirror
The Adaptive Policy Mesh (APM) merges static rules, dynamic threat feeds, and ML confidence into a single enforcement tier per flow.
AegisFlux/
├── crates/flux-core/ # Rust dataplane library + CLI
├── services/flux-api/ # TypeScript control API
├── services/flux-ml/ # Python intelligence service
├── apps/flux-console/ # React operator UI
├── contracts/ # OpenAPI + JSON schemas
├── deploy/ # Docker Compose for local stack
└── docs/ # Architecture deep-dives
- Rust 1.78+
- Node.js 20+ and pnpm 9+
- Python 3.11+
- Docker (optional, for full stack)
cd crates/flux-core
cargo run --example demo_pipelinecd services/flux-ml
python -m venv .venv
.venv\Scripts\activate # Windows
pip install -e ".[dev]"
uvicorn flux_ml.app:app --reload --port 8091pnpm install
pnpm --filter @aegisflux/api dev
pnpm --filter @aegisflux/console devdocker compose -f deploy/docker-compose.yml up --buildEnvironment templates live in deploy/.env.example. Copy to .env and adjust ports and API keys before running Compose.
MIT — see LICENSE.