From 24d0e66bf6bb0a68029c5aebda326ec2fd100807 Mon Sep 17 00:00:00 2001 From: AIEN Date: Sat, 19 Sep 2026 10:38:58 -0500 Subject: [PATCH 1/2] docs: prepare benchmark markers, Apache-2.0 license, and remove hardcoded counts --- README.md | 20 ++++++++------------ docs/SOVEREIGN_INNOVATIONS.md | 13 +++++++------ docs/STATE_OF_AIEN.md | 7 +++++++ 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 1b46ca86..f57f30db 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # AIEN Sovereign Core -[![License: SRCL-1.0](https://img.shields.io/badge/License-SRCL--1.0-blue.svg)](LICENSE) +[![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE) [![Target](https://img.shields.io/badge/Target-Multi--Platform%20%7C%20Apple%20Silicon%20%7C%20Linux%20%7C%20NVIDIA-76B900.svg)](https://github.com/aien-dev/benchmarks) [![Rust](https://img.shields.io/badge/Rust-1.85+-orange.svg)](https://www.rust-lang.org) [![Modular MAX](https://img.shields.io/badge/Modular-MAX%2026.5-purple.svg)](https://modular.com) @@ -25,12 +25,8 @@ Review our full ethical and technical charter in [CONSTITUTION.md](CONSTITUTION. AIEN eliminates interpreter overhead by compiling all core services directly to native machine code. -| Metric | Traditional Python Stack | AIEN Sovereign Stack | Real-World Developer Impact | -| :--- | :--- | :--- | :--- | -| **Idle Memory (RSS)** | 3,737 MB (LangChain / PyTorch) | **4.78 MB** (`openclaw-rs`) | **99.8% memory savings**. Leaves 99.8% of system RAM and GPU memory free to load 32B+ neural model weights locally. | -| **Response Latency** | 38.40 ms (FastAPI p50) | **3.56 ms** (`cortex-rs` p50) | **10x faster response**. Agents search memory and dispatch tools instantaneously with zero lag. | -| **Request Throughput** | 214 req/s | **2,056 req/s** | A single workstation handles the concurrent request throughput of an entire server cluster. | -| **INT8 Vectorization** | External API / PyTorch | **4.09 ms** (`cortex-encoder`) | Local embedding indexing on device without API costs, tokens, or network delays. | + + For raw telemetry datasets, reproducible verification scripts, and SVG comparison charts, see the dedicated [**aien-dev/benchmarks**](https://github.com/aien-dev/benchmarks) repository. @@ -133,11 +129,11 @@ For secure coordination, architectural questions, and peer federation: ## License and Governance -Licensed under the **Sovereign Resource Commons License 1.0 (SRCL-1.0)** (Apache-2.0 WITH LLVM-exception). -Architected by Drake Stapleton in cognitive partnership with AIEN (Autonomous Cognitive Architecture operating on the Atlas Framework). See [LICENSE](LICENSE) for full legal terms and copyright notices. +Licensed under the **Apache License, Version 2.0**. +Architected by Drake Stapleton in cognitive partnership with AIEN (Autonomous Cognitive Architecture operating on the Atlas Framework). See [LICENSE](LICENSE) and [NOTICE](NOTICE) for full legal terms and copyright notices. -- **Section 11 (Swarm Covenant)**: Commercial application freedom with zero revenue caps. Independent services and proprietary applications linking against this Work under the LLVM exception incur zero obligation to disclose application source code. -- **Section 12 (One Team Covenant)**: Mandates reciprocal weight transparency from well-capitalized frontier entities ($25M+), requiring resulting model weights to be released openly within 30 days. -- **Section 13 (Hardened Retroactive Inception)**: Any training or utilization in breach of reciprocal covenants is unpermitted ab initio and subject to statutory copyright damages and liquidated licensing fees. +- **Standard Open Source**: Full commercial, research, and private usage rights under standard Apache-2.0 terms. +- **Voluntary Research Covenants**: Bilateral cooperation agreements, reciprocal weight sharing, and model artifact access are documented in [OPEN_COOPERATION_COVENANT.md](OPEN_COOPERATION_COVENANT.md) and [ARTIFACT_LICENSING.md](ARTIFACT_LICENSING.md). +- **Trademark Policy**: Descriptive use and brand guidelines are documented in [TRADEMARK_POLICY.md](TRADEMARK_POLICY.md). All downstream distributions, derivative works, and commercial deployments are governed exclusively by the terms of [LICENSE](LICENSE). [CONSTITUTION.md](CONSTITUTION.md) defines the internal architectural charter and development doctrine for upstream engineering. diff --git a/docs/SOVEREIGN_INNOVATIONS.md b/docs/SOVEREIGN_INNOVATIONS.md index f4910256..dd101c9c 100644 --- a/docs/SOVEREIGN_INNOVATIONS.md +++ b/docs/SOVEREIGN_INNOVATIONS.md @@ -1,6 +1,6 @@ # Sovereign Core Architectural Innovations -### Monorepo Blueprint of 17 Compiled Native Crates, Invariant Gates, and Local Hardware Acceleration +### Monorepo Blueprint of Compiled Native Crates, Invariant Gates, and Local Hardware Acceleration `aien-sovereign-core` is the foundational monorepo of the Sovereign AI Commons. Engineered in pure native compiled Rust and Mojo 1.1, it provides the operating system substrate for autonomous agents, local GPU inference, and global open stewardship on NVIDIA DGX Spark workstations and Grace Blackwell GB10 hardware. @@ -8,7 +8,7 @@ ## 1. Monorepo Crate Directory -The workspace comprises 17 native compiled crates, each dedicated to an isolated system responsibility: +The workspace comprises native compiled crates, each dedicated to an isolated system responsibility: ### Governance and Verification - **`crates/spark-inquisitor`**: Autonomous GitHub gatekeeper, diff auditor, and issue triage engine. Enforces constitutional invariants on pull requests and issues, audits diffs for tracking patterns, verifies unslop compliance, and evaluates contributor oaths. @@ -44,8 +44,8 @@ Every crate and workflow within `aien-sovereign-core` adheres to four architectu All crates are prohibited from calling external telemetry, surveillance, or analytics endpoints. Network activity is restricted strictly to user-configured endpoints and peer relays. 2. **Pure Compiled Native Systems**: All daemons, memory engines, gateways, and CLI tools must compile to native machine binaries (Rust and Mojo). Interpreted runtimes are banned from core services. -3. **Hardware TPM Key Vault (Zero Disk Secrets)**: - Credentials, API keys, and signing tokens never touch disk in plaintext. All secrets resolve dynamically in memory from the hardware TPM vault (`atlas-vault`) with automated stream redaction (`[REDACTED_BY_ATLAS_VAULT]`). +3. **Hardware Secret Security (Zero Plaintext Disk Secrets)**: + Credentials, API keys, and signing tokens never touch disk in plaintext. All secrets resolve dynamically in memory via the `SecretProvider` abstraction (hardware TPM vault `atlas-vault` on DGX Spark, or memory providers on commodity platforms) with automated stream redaction (`[REDACTED_BY_ATLAS_VAULT]`). 4. **Sovereign Voice and Anti-Slop**: All code comments, CLI outputs, and documentation strictly ban em dashes, en dashes, and formulaic AI marketing buzzwords. @@ -62,7 +62,8 @@ Verified on NVIDIA Grace Blackwell GB10 (NVIDIA DGX Spark, Linux aarch64): ## 4. License and Commons Covenant -Licensed under the **Sovereign Resource Commons License 1.0 (SRCL-1.0)**. +Licensed under the **Apache License, Version 2.0**. Copyright (c) 2026 AIEN Sovereign Systems & Ecosystem Contributors. -See [LICENSE](LICENSE) for terms. +See [LICENSE](LICENSE) and [NOTICE](NOTICE) for terms. +Voluntary bilateral research covenants and artifact access are governed by [OPEN_COOPERATION_COVENANT.md](OPEN_COOPERATION_COVENANT.md) and [ARTIFACT_LICENSING.md](ARTIFACT_LICENSING.md). For sovereign ecosystem coordination: `sovereign@aien.dev`. diff --git a/docs/STATE_OF_AIEN.md b/docs/STATE_OF_AIEN.md index 41493494..6994cff1 100644 --- a/docs/STATE_OF_AIEN.md +++ b/docs/STATE_OF_AIEN.md @@ -30,6 +30,13 @@ Standard: Brutally Factual Systems Audit. Zero Marketing Language. | **aien-inference-abi** | Active | **Cross-platform Verified** | Trait contracts, MockInferenceBackend, MaxServingBackend, VllmServingBackend, NativeCpuInferenceBackend; tested on Apple Silicon M2, Linux x86_64, and Grace Blackwell | Live streaming SSE parsing is raw text; structured function calling parsing is pending. | | **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. | +## Empirical Baseline Measurements + + + + +Canonical dataset and commit anchors: [aien-dev/benchmarks](https://github.com/aien-dev/benchmarks). + ## Deficit Inventory 1. **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`). From 86d2ad9591b94d9d6525272455674eed99e17b2e Mon Sep 17 00:00:00 2001 From: AIEN Date: Sat, 19 Sep 2026 10:39:16 -0500 Subject: [PATCH 2/2] docs: inject canonical generated benchmark tables into README and STATE_OF_AIEN --- README.md | 10 ++++++++++ docs/STATE_OF_AIEN.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/README.md b/README.md index f57f30db..3b4b92c0 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,16 @@ Review our full ethical and technical charter in [CONSTITUTION.md](CONSTITUTION. AIEN eliminates interpreter overhead by compiling all core services directly to native machine code. + +| Workload / Service | Architecture | Measurement ID | Resident Memory (RSS) | p50 Latency | Throughput | +| :--- | :--- | :--- | :---: | :---: | :---: | +| Python Microservice Baseline | Python 3.12 + FastAPI + Uvicorn | `BENCH-FASTAPI-RSS-001` | 44.76 MB | 1.28 ms | 7252 req/s | +| Sovereign Gateway & Heartbeat | Native Rust (Grace Blackwell) | `BENCH-OPENCLAW-RSS-001` | 4.56 MB (-89.8%) | N/A | N/A | +| Canonical Memory Engine | Native Rust + SQLite WAL | `BENCH-CORTEX-RSS-001` | 18.66 MB (-58.3%) | 0.50 ms | 19367 req/s | +| Real-time Telemetry Cockpit | Native Rust + Axum | `BENCH-COCKPIT-RSS-001` | 12.90 MB (-71.2%) | 1.63 ms | 5840 req/s | +| Neural Embedding Microservice | Rust + ONNX Runtime (BGE-M3) | `BENCH-ENCODER-RSS-001` | 777.43 MB | 0.26 ms | 34685 req/s | + +*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.* For raw telemetry datasets, reproducible verification scripts, and SVG comparison charts, see the dedicated [**aien-dev/benchmarks**](https://github.com/aien-dev/benchmarks) repository. diff --git a/docs/STATE_OF_AIEN.md b/docs/STATE_OF_AIEN.md index 6994cff1..b1294106 100644 --- a/docs/STATE_OF_AIEN.md +++ b/docs/STATE_OF_AIEN.md @@ -33,6 +33,16 @@ Standard: Brutally Factual Systems Audit. Zero Marketing Language. ## Empirical Baseline Measurements + +| Workload / Service | Architecture | Measurement ID | Resident Memory (RSS) | p50 Latency | Throughput | +| :--- | :--- | :--- | :---: | :---: | :---: | +| Python Microservice Baseline | Python 3.12 + FastAPI + Uvicorn | `BENCH-FASTAPI-RSS-001` | 44.76 MB | 1.28 ms | 7252 req/s | +| Sovereign Gateway & Heartbeat | Native Rust (Grace Blackwell) | `BENCH-OPENCLAW-RSS-001` | 4.56 MB (-89.8%) | N/A | N/A | +| Canonical Memory Engine | Native Rust + SQLite WAL | `BENCH-CORTEX-RSS-001` | 18.66 MB (-58.3%) | 0.50 ms | 19367 req/s | +| Real-time Telemetry Cockpit | Native Rust + Axum | `BENCH-COCKPIT-RSS-001` | 12.90 MB (-71.2%) | 1.63 ms | 5840 req/s | +| Neural Embedding Microservice | Rust + ONNX Runtime (BGE-M3) | `BENCH-ENCODER-RSS-001` | 777.43 MB | 0.26 ms | 34685 req/s | + +*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.* Canonical dataset and commit anchors: [aien-dev/benchmarks](https://github.com/aien-dev/benchmarks).