A lightweight autonomous network operating system simulation powered by FastAPI and an AI-driven intelligence layer.
🧠 What if your network could think for itself? NET-OS is a simulation of an autonomous OS that monitors its own health, predicts behavior, and adapts its strategy — no human intervention needed.
Most network monitoring tools are reactive — they alert you after something breaks. NET-OS is proactive:
- Traditional tools wait for you to query them
- NET-OS runs a self-managing execution loop that continuously monitors, predicts, and adapts
- The intelligence layer doesn't just report health — it predicts behavioral drift before failures happen
- Built as a simulation, but the architecture mirrors real autonomous network OS design
Think of it as a miniature self-healing network brain — built entirely in Python.
| Feature | Description |
|---|---|
| 🤖 Autonomous Engine | Self-managing core execution loop with intelligent scheduling |
| 🧠 Intelligence Layer | Health monitoring, behavior prediction, adaptive strategy engine |
| 💾 Memory Layer | Persistent state management via SQLite |
| ⚡ REST API | FastAPI-powered endpoints for full system control |
| 📊 Real-time Dashboard | Lightweight HTML dashboard for live system visibility |
| 🐳 Docker Support | Fully containerized — one command to run everything |
| 🔄 Background Daemon | Worker daemon for continuous background processing |
| 📡 Network Router | Built-in routing client for network simulation |
- Python 3.10+
- Docker & Docker Compose (optional but recommended)
git clone https://github.com/Sycosmile/net-os.git
cd net-os
pip install -r requirements.txt
cp .env.example .env
uvicorn app.main:app --reloadApp runs at http://localhost:8000 Live API docs at http://localhost:8000/docs (Swagger UI)
docker-compose up --buildThat's it. Everything spins up automatically.
| Method | Endpoint | Description |
|---|---|---|
| GET | / |
System status overview |
| GET | /health |
Health check & diagnostics |
| GET | /engine |
Core engine status |
Full interactive API docs available at http://localhost:8000/docs
Boot → Engine initializes, loads persistent memory from SQLite Schedule → Scheduler queues intelligence tasks Monitor → Health layer continuously reads system state Predict → Predictor models behavioral patterns and flags anomalies Adapt → Strategy engine adjusts execution based on predictions Report → Dashboard and API surface live state in real time
net-os/
├── app/
│ ├── main.py # FastAPI entry point
│ ├── api.py # API routes
│ └── config.py # Configuration
├── core/
│ ├── engine.py # Core execution engine
│ └── scheduler.py # Task scheduling
├── intelligence/
│ ├── health.py # System health monitoring
│ ├── predictor.py # Behavior prediction
│ ├── strategy.py # Adaptive strategy engine
│ └── behavior.py # Behavioral analysis
├── memory/
│ └── db.py # Persistent memory layer
├── router/
│ └── client.py # Network routing client
├── workers/
│ └── daemon.py # Background worker daemon
├── dashboard/
│ └── index.html # Real-time web dashboard
├── Dockerfile
└── docker-compose.yml
- WebSocket support for real-time dashboard updates
- Multi-node simulation (multiple NET-OS instances communicating)
- Anomaly detection with ML-based pattern recognition
- Prometheus + Grafana metrics integration
- CLI interface for headless environments
- Alert system (Telegram / Slack notifications on anomalies)
MR SYCO — Cybersecurity student | Python developer | 3MTT Nigeria Cohort
MIT — free to use, modify, and distribute. See LICENSE for details.