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
aien-sovereign-core-mv / docs / PROVENANCE.md
| 1 | # AIEN Architectural Provenance and Fork Disclosure |
| 2 | |
| 3 | This document catalogs code provenance across the AIEN project ecosystem, distinguishing upstream community forks from original AIEN technological contributions. Systems engineers and outside auditors can trace every component to its source. |
| 4 | |
| 5 | ## Upstream Forks and External Lineage |
| 6 | |
| 7 | The following repositories under the aien-dev organization are forks of external open-source projects: |
| 8 | |
| 9 | AIEN no longer uses Modular MAX or Mojo (removed from the project on 2026-10-15). The Mojo-related forks below stay in the organization as records only. |
| 10 | |
| 11 | 1. MojoLlama |
| 12 | - Upstream Source: a730/MojoLlama (authored by Audrey) |
| 13 | - Scope: Pure Mojo implementation of LLaMA transformer architecture and weight loading. |
| 14 | - AIEN Relationship: Reference implementation for Mojo tensor kernels and forward passes. AIEN does not claim authorship of the underlying model implementation. AIEN adaptations focus on C-ABI bindings, unified memory cache structures, and integration with the native Rust scheduler. |
| 15 | |
| 16 | 2. modular |
| 17 | - Upstream Source: modularml/modular |
| 18 | - Scope: Official Modular toolchain examples, runtime configurations, and documentation. |
| 19 | - AIEN Relationship: Upstream tracking fork for MAX and Mojo compiler updates. |
| 20 | |
| 21 | 3. NuMojo |
| 22 | - Upstream Source: North-West-Wind/NuMojo |
| 23 | - Scope: Numerical computing and multidimensional array library for Mojo. |
| 24 | - AIEN Relationship: Community numerical primitives used for tensor array utility evaluation. |
| 25 | |
| 26 | 4. awesome-mojo |
| 27 | - Upstream Source: Curated community ecosystem directory. |
| 28 | - AIEN Relationship: Reference tracking fork. |
| 29 | |
| 30 | ## Original AIEN Technological Contributions |
| 31 | |
| 32 | The following systems are original architectures authored and maintained within the AIEN project: |
| 33 | |
| 34 | 1. aien-sovereign-core |
| 35 | - aien-inference-abi: Asynchronous native Rust inference trait decoupled from runtime engines, supporting continuous batching, chunked prefill, and dynamic scheduling. |
| 36 | - aien-kv-cache: Sub-microsecond paged KV block-table allocator featuring radix-tree prefix deduplication, zero-copy subagent sequence branching, Copy-on-Write page copying, and physical unified memory pool (libc::mmap, libc::mlock) on NVIDIA Grace Blackwell. |
| 37 | - aien-scheduler: Token-budgeted continuous batching scheduler with chunked prefill segmentation and watermark-based memory pressure preemption. |
| 38 | - cortex-rs: Canonical memory store with SQLite WAL persistence, entity-relationship graphs, and sub-microsecond prefix indexing. |
| 39 | - aegis-runtime: Compiled Rust sovereign control gateway, heartbeat daemon, and event multiplexer. |
| 40 | - spark-cockpit-rs: Real-time high-frequency hardware monitor, thermal sensor aggregator, and terminal UI. |
| 41 | - cortex-encoder-rs: Native ONNX Runtime microservice for BGE-M3 text embeddings. |
| 42 | - atlas-vault: Hardware TPM-bound secret resolution layer, enforcing zero plaintext credentials on disk. |
| 43 | |
| 44 | 2. benchmarks |
| 45 | - Native Rust automated benchmark suite measuring process RSS, HTTP throughput, database latency, and neural inference metrics on NVIDIA Grace Blackwell GB10 hardware. |
| 46 | |
| 47 | ## Attribution Protocol |
| 48 | |
| 49 | When citing performance or architectural innovations: |
| 50 | - Attribute LLaMA pure Mojo execution kernels to a730/MojoLlama. |
| 51 | - Attribute Modular MAX compiler and graph execution to Modular Inc. |
| 52 | - Attribute continuous batching, paged unified KV block allocation, subagent zero-copy branching, TPM vaulting, and native Rust daemon infrastructure to AIEN. |