interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / docs / STATE_OF_AIEN.md

60 lines · 5520 bytes Raw Blame History Rendered
1# State of AIEN: Systems Maturity Audit
2
3Date: 2026-09-19
4Platform: NVIDIA DGX Spark (Grace Blackwell GB10, 121 GB LPDDR5X Unified Memory)
5Standard: Brutally Factual Systems Audit. Zero Marketing Language.
6
7## Maturity Classification Scale
8
91. Concept: Architectural design documented; no functioning implementation.
102. Prototype: Proof-of-concept implementation; incomplete error handling or mock dependencies.
113. Working Locally: Fully implemented and validated on development hardware with unit tests.
124. Benchmarked: Empirically measured under reproducible load with published data.
135. Integrated: Multi-crate or multi-service automated interaction verified end-to-end.
146. Cross-platform Verified: Tested across multiple architectures (aarch64 and x86_64).
157. Production-ready: Hardened for continuous multi-user deployment with zero unhandled panics.
16
17## Component Maturity Matrix
18
19| Component | Status | Maturity Level | Verification Evidence | Known Limitations |
20| :--- | :--- | :--- | :--- | :--- |
21| **aegis-runtime** | Active | **Integrated** | Sub-millisecond heartbeat, 4.79 MB RSS, Axum HTTP routes active | Single-node gateway; cluster gossip specified in `docs/MULTI_STATION_ARCHITECTURE.md`. |
22| **cortex-rs** | Active | **Benchmarked** | 21,262 req/s, 0.45 ms p50 latency, 10.67 MB RSS, SQLite WAL persistence tests | Schema migrations currently manual. |
23| **spark-cockpit-rs** | Active | **Benchmarked** | 4,421 req/s, 1.74 ms p50 latency, 10.05 MB RSS | Terminal UI requires ANSI 256-color support. |
24| **cortex-encoder-rs** | Active | **Working Locally** | 37,214 health req/s, ONNX BGE-M3 runtime loads on CUDA | Heavy cold-start initialization latency (~1.2s). |
25| **atlas-vault** | Active | **Working Locally** | TPM-bound secret resolution, systemd-creds integration | Requires sudo credentials or TPM access during test runs. |
26| **aien-kv-cache** | Active | **Benchmarked** | 1.44M blocks/sec allocation, 0.69 µs alloc latency, 8.88 ns CoW append, physical unified pool mmap | Radix tree eviction across memory pressure under heavy fragmentation needs long-duration soak test. |
27| **aien-scheduler** | Active | **Benchmarked** | Sub-microsecond batch build overhead (2.2 µs at B=1 to 49.1 µs at B=256), chunked prefill validated | Priority queues currently hold 5 static priority tiers. |
28| **spark-max-cabi** | Removed | **Removed 2026-10-15** | Mojo C-ABI library for the Modular MAX engine | Removed from the tree with Modular MAX and Mojo on 2026-10-15. |
29| **spark-max-rs** | Removed | **Removed 2026-10-15** | Rust bindings to the Mojo C-ABI | Removed from the tree with Modular MAX and Mojo on 2026-10-15. |
30| **aien-inference-abi** | Active | **Cross-platform Verified** | Trait contracts, BlackwellInferenceBackend, MojoInferenceBackend, NativeCpuInferenceBackend, MockInferenceBackend (and transitional MaxServingBackend); tested on Apple Silicon M2, Linux x86_64, and Grace Blackwell | Live streaming SSE parsing is raw text; structured function calling parsing is pending. |
31| **Continuous Batching Scheduler** | Active | **Benchmarked** | Swept C=1 to 256 with 8-11 µs step latency, 12.3k steps/sec dispatch throughput, live power telemetry (11.5W-12.0W), 1,000 child zero-copy forks | Multi-stream continuous prefill pipeline verified against live MAX endpoints. |
32
33## Empirical Baseline Measurements
34
35Withdrawn pending regeneration under the publication rule in the top-level
36README (every headline number must resolve to a reproducible command and
37artifact). The table below is retained for provenance of what was previously
38stated and is not authoritative.
39
40<!-- AIEN:BENCHMARKS:START -->
41<!-- Sourced automatically from benchmarks/data/benchmarks_latest.json (Measurement Suite v0.2.0) -->
42| Workload / Service | Architecture | Measurement ID | Resident Memory (RSS) | p50 Latency | Throughput |
43| :--- | :--- | :--- | :---: | :---: | :---: |
44| Python Microservice Baseline | Python 3.12 + FastAPI + Uvicorn | `BENCH-FASTAPI-RSS-001` | 44.76 MB | 1.28 ms | 7252 req/s |
45| Sovereign Gateway & Heartbeat | Native Rust (Grace Blackwell) | `BENCH-OPENCLAW-RSS-001` | 4.56 MB (-89.8%) | N/A | N/A |
46| Canonical Memory Engine | Native Rust + SQLite WAL | `BENCH-CORTEX-RSS-001` | 18.66 MB (-58.3%) | 0.50 ms | 19367 req/s |
47| Real-time Telemetry Cockpit | Native Rust + Axum | `BENCH-COCKPIT-RSS-001` | 12.90 MB (-71.2%) | 1.63 ms | 5840 req/s |
48| Neural Embedding Microservice | Rust + ONNX Runtime (BGE-M3) | `BENCH-ENCODER-RSS-001` | 777.43 MB | 0.26 ms | 34685 req/s |
49
50*Hardware Reference: NVIDIA DGX Spark (NVIDIA Grace Blackwell (GB10, aarch64), 121 GB unified memory). All metrics measured under concurrency C=10 over 500 requests per endpoint.*
51<!-- AIEN:BENCHMARKS:END -->
52
53Canonical dataset and commit anchors: [aien-spark/benchmarks](https://github.com/aien-spark/benchmarks).
54
55## Deficit Inventory
56
571. **Versioned Release Packaging**: Resolved. Tagged `v0.1.0` release workflow (`release.yml`) with automated SHA-256 checksums and multi-OS binary packaging (`sovereign-*.tar.gz`).
582. **API Stability Policy**: Resolved. Formal stability tiers, SemVer guarantees, and deprecation policies documented in `docs/API_STABILITY.md`.
593. **Cluster Multi-Node**: Addressed. Multi-station mesh topology, Radicle anchor synchronization, and WireGuard transport documented in `docs/MULTI_STATION_ARCHITECTURE.md`.
604. **Weight Formats**: Native Mojo tensor loaders support unquantized GGUF, FP16, and BF16; NVFP4 weights require MAX graph compilation or ModelOpt runtime.