NEXUS is an OS observability, diagnostics, and guardrail stack written in Rust. It observes real system facts, reasons about them, and can perform policy-checked, user-confirmed actions — all with an honest attitude toward its own limits. It is not an OS replacement; it is a platform that lives on top of your OS.
Core principle: no fake features. Every value you see comes from a real
system source. Anything NEXUS cannot genuinely do is reported as
PLATFORM-LIMITED / NOT IMPLEMENTED rather than fabricated.
All roadmap phases through Phase 10 are implemented on macOS (Linux targets
are wired through the same SystemPlatform abstraction):
| Phase | Focus | Status |
|---|---|---|
| 0 | Foundation (workspace, OS abstraction, docs, test strategy) | ✅ |
| 1 | System Observer (CPU, memory, disk, uptime, processes, health) | ✅ |
| 2 | Process Intelligence (tree, inspect, resource attribution, anomalies) | ✅ |
| 3 | Storage Intelligence (large files, cache classify, reclaim) | ✅ |
| 4 | Network Intelligence (interfaces, live bandwidth) | ✅ |
| 5 | Security Engine (risk scoring, evidence alerts) + audit | ✅ |
| 6 | Diagnostics Engine (correlation / reasoning) | ✅ |
| 7 | Action Engine (risk, permission, confirmation, execute, verify, audit) | ✅ |
| 8 | AI (local-first, deterministic, honest not-LLM advisory) | ✅ |
| 9 | Sandbox (genuine OS-level sandboxing via seatbelt) | ✅ |
| 10 | Desktop Experience (Simple/Developer modes + terminal dashboard) | ✅ |
apps/nexus-cli— the command-line interfaceapps/nexus-desktop— a live terminal dashboardcrates/nexus-core— shared snapshot/health typescrates/nexus-platform— OS abstraction (SystemPlatform)crates/nexus-resource— snapshot collectioncrates/nexus-process— process intelligence + anomaliescrates/nexus-storage— storage analysis + classificationcrates/nexus-network— interface counters + live bandwidthcrates/nexus-diagnostics— correlated diagnosiscrates/nexus-security— evidence-based risk assessmentcrates/nexus-policy— risk classification + permission policycrates/nexus-audit— JSONL audit journalcrates/nexus-actions— controlled, verified action executioncrates/nexus-ai— deterministic advisory provider layercrates/nexus-sandbox— OS-level sandboxing (seatbelt)crates/nexus-config— Simple/Developer mode + persisted settingscrates/nexus-api— programmatic facade composing every engine
Prerequisites: Rust (stable toolchain) on macOS. Linux targets are wired
through the same SystemPlatform abstraction but the sandbox engine is
seatbelt-based and therefore macOS-only.
cargo build --releaseThis compiles the whole workspace. The two applications land in
target/release/:
nexus-cli— command-line interfacenexus-desktop— live terminal dashboard
./target/release/nexus-cli health # OS health score + issues
./target/release/nexus-cli status # JSON snapshot (CPU/mem/disk/processes)
./target/release/nexus-cli processes # top processes by CPU./target/release/nexus-desktopThe dashboard opens a full-screen live-refresh terminal view. It redraws each tick with genuinely live data: CPU, memory, disk, process list, network bandwidth, and security/attention notes. Press Ctrl-C to exit.
Useful dashboard flags:
./target/release/nexus-desktop once # render a single frame, then stop
./target/release/nexus-desktop --simple # force Simple mode for this run
./target/release/nexus-desktop --developer # force Developer mode for this runTip: run the dashboard from a real, full-screen terminal so the live redraw looks clean.
./target/release/nexus-cli sandbox demo # proves a seatbelt write is blockednexus status JSON snapshot (CPU/mem/disk/processes)
nexus health health score + issues (also: health json)
nexus processes top processes (list | inspect <pid> | tree | json | csv)
nexus storage storage analysis (default: your home directory) --top N --json
nexus network interface counters + live bandwidth (network json / live)
nexus diagnostics correlated diagnosis of the current snapshot (diagnostics json)
nexus security evidence-based process risk assessment (security json)
nexus advice advisory recommendations with evidence (advice json)
nexus audit the persisted action journal (audit json)
nexus act plan / execute a policy-checked action
nexus sandbox OS-level sandboxing status + live demo
nexus mode show/change UI mode (simple | developer)
nexus config show persisted configuration
nexus-desktop live dashboard (honors Simple/Developer mode)
nexus-desktop once render a single frame
nexus-desktop health print health, then exit
nexus-desktop --simple force Simple mode for a run
nexus-desktop --developer force Developer mode for a run
cargo run -p nexus-cli -- health
cargo run -p nexus-cli -- security
cargo run -p nexus-cli -- processes csv # export process list as CSV
cargo run -p nexus-cli -- sandbox demo # proves a write is blocked
cargo run -p nexus-desktop # run the live dashboard
cargo run -p nexus-desktop -- health # print health, then exitcargo test # run the whole workspace test-suite
cargo test -p nexus-sandbox # includes a genuine enforcement assertionSeveral tests exercise live data (process counts, health scores, bandwidth). The sandbox test actually enforces a seatbelt profile and confirms a write is blocked — only on hosts that provide the mechanism.
- Deterministic
nexus-aistates plainly that it is not an LLM. nexus-sandboxrefuses to run (rather than fake success) when the host has no sandbox mechanism.- The audit journal records only actions NEXUS genuinely performed.
- Network connection/port mapping is
PLATFORM-LIMITEDrather than guessed.