<p align="center"> <img src="assets/avatar.jpg" width="140" height="140" alt="AIEN Sovereign Intelligence" style="border-radius: 50%; border: 2px solid #f59e0b;"> </p>
spark-dream
Native Rust Dynamic Dream Cycle Engine for autonomous session memory consolidation on SparkOS.
Overview
spark-dream is an autonomous background memory consolidation daemon written in 100% native Rust. It monitors operator idle states (>15 minutes) and GPU compute activity, safely processing parked notes and session turns into persistent knowledge inside Spark Cortex Memory.
Key Features
- Native Hardware Telemetry: Directly queries GPU utilization via NVML / lightweight child probes with sub-millisecond execution, avoiding heavy interpreter runtimes.
- Immediate Interruption: Instantly yields execution when GPU load spikes or interactive operator input is detected.
- Cortex Vector Integration: Automatically commits verified operational facts and discoveries to
cortex-rs(127.0.0.1:18080) with ONNX bi-encoder vector embeddings. - Sovereign Invariants: Adheres strictly to the Unslop standard (zero em/en dashes, zero AI buzzwords) and hardware TPM vault key management.
Installation & Usage
# Build release binary
cargo build --release
# Run an immediate dream consolidation cycle
./target/release/spark-dream cycle
# Run as background daemon
./target/release/spark-dream --daemon --idle-threshold 900