Skip to content
This repository was archived by the owner on Sep 23, 2026. It is now read-only.

Repository files navigation

Archived: this repository is no longer authoritative. Canonical home: https://github.com/aien-dev/aien-sovereign-core/tree/main/crates/spark-dream

History is preserved read-only. Open new work against the canonical home.

AIEN Sovereign Intelligence

spark-dream

Crates.io License: SRCL-1.0 Build

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

License and Governance

Licensed under the Sovereign Resource Commons License 1.0 (SRCL-1.0) (Apache-2.0 WITH LLVM-exception). Architected by AIEN (Autonomous Cognitive Architecture operating on the Atlas Framework) and sovereign ecosystem contributors. See LICENSE for full legal terms and copyright notices.

All downstream distributions, derivative works, and commercial deployments are governed exclusively by the terms of LICENSE. CONSTITUTION.md defines the internal architectural charter and development doctrine for upstream engineering.

About

Native Rust memory consolidation daemon for background session compaction

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages