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 / MULTI_STATION_ARCHITECTURE.md

110 lines · 6456 bytes Raw Blame History Source

AIEN Multi-Station Federation and Sovereign Mesh Architecture

This specification outlines the network topology, cryptographic identity, and memory replication protocols connecting multiple sovereign computing stations across the AIEN ecosystem without centralized cloud dependencies.


1. Architectural Motivation

AIEN operates as a sovereign computing architecture. Individual nodes execute work independently on dedicated hardware. To scale beyond a single workstation without surrendering sovereignty to multi-tenant cloud providers or external API coordinators, AIEN implements a peer-to-peer mesh federation.

Core requirements:

  1. Zero External Cloud Dependencies: No third-party relays, authorization servers, or metered API gateways.
  2. Hardware-Bound Cryptographic Identity: Every station authenticates via hardware TPM-generated keys.
  3. Deterministic Memory Convergence: Knowledge graph updates converge across nodes using append-only change receipts.
  4. Heterogeneous Hardware Execution: Workloads route dynamically between heavy GPU accelerators and local CPU unified memory.

2. Station Taxonomy

Nodes in an AIEN mesh belong to one of three operational roles:

+-----------------------------------------------------------------------+
|                 Tier-Alpha: Reference Station (DGX Spark)             |
|  - Grace Blackwell GB10 (121 GB Unified LPDDR5X)                      |
|  - High-concurrency NVFP4 Serving (Qwen 2.5 7B, Nemotron 30B)         |
|  - Canonical Cortex Store (atlas-memory) & Dream State Engine         |
+-----------------------------------^-----------------------------------+
                                    |
            WireGuard Mesh Overlay  |  Radicle P2P Git Anchors
            ChaCha20-Poly1305       |  Signed Delta Receipts
                                    |
        +---------------------------+---------------------------+
        |                                                       |
+-------v-------------------------------+       +---------------v-----------------------+
|  Tier-Beta: Operator Workstations     |       |  Tier-Gamma: Sovereign Edge Sentinels |
|  - Apple Silicon MacBooks (M1-M4)     |       |  - Compact x86_64 / ARM64 Servers     |
|  - Native CPU Fallback Inference      |       |  - spark-inquisitor Diff Auditing     |
|  - aien CLI & Subagent Orchestration  |       |  - AEGIS Perimeter Containment       |
+---------------------------------------+       +---------------------------------------+

Tier-Alpha: Reference Computing Stations (spark)

Tier-Beta: Operator Workstations (workstation)

Tier-Gamma: Sovereign Edge Sentinels (sentinel)


3. Mesh Transport & Cryptographic Identity

WireGuard Peer-to-Peer Overlay

Hardware TPM Key Derivation

Radicle Git Anchor Synchronization


4. Memory Federation Protocol

Cortex memory replication maintains epistemic consistency between the Reference Station and satellite workstations:

1. Canonical Storage

The Reference Station maintains the canonical SQLite WAL database for space atlas-memory.

2. Delta Event Streaming

When an operator workstation writes an entity, claim, or discovery receipt:

  1. The workstation commits the record locally with a monotonic logical timestamp.
  2. An encrypted delta payload (POST /api/cortex/sync) transmits to the Reference Station over WireGuard.
  3. The Reference Station validates the signature, writes the record, and dispatches the text to cortex-encoder-rs to compute high-precision 768-dimensional dense vector embeddings.

3. Conflict Resolution


5. Failure Modes and Partition Handling

Failure ScenarioSystem BehaviorRecovery Action
Network Partition (Air-Gap)Tier-Beta workstations switch directly to local SQLite storage and NativeCpuInferenceBackend.Queued write receipts sync to Reference Station upon mesh reconnection.
Reference Station OfflineSatellite stations execute inference locally on host CPU memory; Cortex reads serve from local replicas.Supervisor daemon restarts reference services; stations resume delta sync.
Unauthorized Station DetectionAEGIS perimeter detection flags non-whitelisted WireGuard handshake attempts.Offending public key permanently blocked at kernel firewall table.