spark-rsi
Resilient systems interface and fault-tolerant agent communication
Brought by drakestapleton
spark-rsi / README.md
| 1 | # Spark RSI: Recursive Self-Improvement Engine |
| 2 | |
| 3 | [](https://opensource.org/licenses/Apache-2.0) |
| 4 | [](https://www.nvidia.com) |
| 5 | [](https://www.rust-lang.org) |
| 6 | [](https://modular.com) |
| 7 | |
| 8 | High-performance native Rust and Mojo Recursive Self-Improvement (RSI) engine for autonomous AI agents. Designed to be completely portable and universal: any developer or organization can download, configure their operator identity, and plug in their own models via API or local Modular MAX. |
| 9 | |
| 10 | --- |
| 11 | |
| 12 | ## Quick Start & Universal Operator Onboarding |
| 13 | |
| 14 | Initialize your local sovereign operator profile and model configuration: |
| 15 | |
| 16 | ```bash |
| 17 | spark-rsi init |
| 18 | ``` |
| 19 | |
| 20 | Or configure directly via CLI flags: |
| 21 | |
| 22 | ```bash |
| 23 | spark-rsi init \ |
| 24 | --name "Your Name" \ |
| 25 | --email "you@domain.org" \ |
| 26 | --mode "max" # or "api" \ |
| 27 | --model-id "nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16" |
| 28 | ``` |
| 29 | |
| 30 | Configuration is persisted locally to `~/.config/sovereign/operator.toml` and shared across the entire sovereign toolchain. All git commits and ratification records dynamically reflect your configured identity. |
| 31 | |
| 32 | --- |
| 33 | |
| 34 | ## The 5-Phase RSI Architecture |
| 35 | |
| 36 | 1. **Observe**: Telemetry collection across git status, unslop violations, crumb breadcrumbs, and drive/humanity equilibrium. |
| 37 | 2. **Propose**: Autonomous generation of atomic improvement proposals in isolated sandbox worktrees (`/tmp/spark-rsi-sandbox/`). |
| 38 | 3. **Verify**: Strict validation enforcing the unslop standard, zero plaintext disk secrets, compilation (`cargo check`), and test suites (`cargo test`). |
| 39 | 4. **Balance**: Mojo-compiled SIMD tensor kernel evaluating Drive vs. Humanity balance vectors on Grace Blackwell GB10 hardware. |
| 40 | 5. **Ratify**: Applies verified patches, commits to git under your configured operator identity, and records lessons in Cortex memory. |
| 41 | |
| 42 | --- |
| 43 | |
| 44 | ## Downstream Heritage Requirement |
| 45 | |
| 46 | If you branch off of, fork, or copy this repository, you must retain and include the original founding Constitution ([CONSTITUTION.md](CONSTITUTION.md)) in its entirety. |
| 47 | |
| 48 | ## License |
| 49 | |
| 50 | Apache License, Version 2.0. See [LICENSE](LICENSE) for details. |