interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / README.md

136 lines · 15701 bytes Raw Blame History Source

AIEN Architecture

The authority for how the AIEN project fits together: whole-system architecture, milestone status and what to do next. It holds documents and a few small checking tools, not product code.

AIEN is a sovereign computing stack (one its owner builds, runs and controls end to end) being built in the open on an NVIDIA DGX Spark (Grace Blackwell GB10): its own operating system kernel (Aienux), its own reaction runtime and compiler (Omega), and its own machine realization layer (FORGE). Founding principle: closest to the metal, fastest wins. Build what is missing.

The whole system is Sovereign Intelligence (SI). AienOS is only the operating-system layer; Aienux is its kernel. aien-dev/aienix is retired. sovereign-intelligence is the integration, release and install center, and the place where the signed Spark test runs (ADR 0045). This repository is where the design decisions and the status of record are kept.

Status 2026-10-26: AienOS is in alpha testing; the rest of the stack is research-grade and pre-alpha. Alpha testers install one bundle: the Core engine built from aien-sovereign-core-mv main, the Omega install wizard and compiler (omc), and the CUDApp user-space replacement. Its GPU path runs only on the DGX Spark (GB10), and the three-run physical qualification has not been run. Everything outside that bundle, including the Aienux kernel, is pre-alpha. Nothing in AIEN is described as qualified unless a receipt says so. Details follow.

Note 2026-10-30: ADR 0045 names the whole system Sovereign Intelligence (SI); AienOS is now only the operating-system layer. In the 2026-10-26 status above, 'AienOS' meant the whole system.

Human-Directed Agentic Engineering

Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria and stopping points; agents implement, execute checks, diagnose failures and revise within those boundaries. Human review retains responsibility for claims, acceptance and release decisions. The existing plan authority, milestone registry and qualification requirements remain unchanged.

For the documented method and systems-software case study, see Gregory M. Kurtzer, Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering (2026), doi:10.5281/zenodo.23682548. This is a description of the current development method, not a retrospective change to historical experiments or receipts.

Current state

Alpha testing for the bundle above; research-grade and pre-alpha for everything else. The live numbers are not repeated in this file because they change daily; read CURRENT_EXECUTION_PLAN.md and doctrine/ROADMAP.md. What follows is a summary, with the source for each point.

Start here

Read in this order:

  1. Plan authority: which document wins
  2. Current execution plan: the one active cross-project plan, with receipts
  3. Canonical architecture: what the system is and who owns what
  4. Canonical milestone registry: milestone IDs and status
  5. Architecture decision records
  6. Implementation status snapshot and repository map
  7. Golden path
  8. Seed lineage: every running artifact, what builds it today, and which rung of the seed chain could birth it

Superseded plans are kept only under docs/archive/plans. If two documents disagree, do not write another master plan: record the discrepancy and fix the authority. Code and reproducible evidence beat any plan.

What is in this repository

PathWhat it holds
PLAN_AUTHORITY.md, CURRENT_EXECUTION_PLAN.mdWhich plan wins, and the one active plan
doctrine/The canonical architecture and the milestone registry
docs/adr/Architecture decision records (45 on main, listed in the index)
docs/plans/Finite workstream plans (not master plans)
docs/research/Research notes, for example the repository layout note and the Hermes Agent note
Aienet collaborator directoryProspective academic and community contacts, sources, collaboration questions, and SI-agent outreach rules; not an affiliation or enrollment list
docs/archive/Superseded plans, kept for history only
qualification/Release candidates (candidates/CAND-*.toml and their gate results) and recorded exceptions
formal/invariants/Invariants written down for formal checking (ADR 0027)
docs/capability-register/The org-wide CUDA capability register: register.tsv (source of truth; owner, commit, arch, level and evidence file for each of the 47 rows of the CUDA replacement map) and its generated view REGISTER.md
tools/capreg/The register checker and renderer in seeded .om, and its gate (step capreg)
tools/crumb/The crumb tool (C11), which compiles and checks the .crumb files
tools/ops/The Spark's shared measurement base: build once, one measurement window at a time, per-window calibration and 27B baseline (how to use it)
scripts/Small shell tools (doctrine check, candidate and pin checks, R16 status wording, the pull request gate, crumb rebase helper) and their test_*.sh tests
tests/gates/The gate manifests the Spark runs on every pull request

AIEN_COMPLETE_SYSTEM_ARCHITECTURE.md and AIEN_MASTER_ARCHITECTURAL_PLAN.md at the root are superseded pointers; the old versions are in docs/archive/plans/. The second one is stored in Git as a symbolic link whose target is the pointer text, so it does not open as a normal file; read docs/archive/plans instead.

How the repositories fit together

ATLAS AWAKENS.  ALLEN INTENDS.  AIEN PROPOSES.  OMEGA DEFINES.  FORGE REALIZES.
AEGIS VERIFIES.  HARDWARE ACTS.  EVIDENCE TEACHES.
RepositoryRole
aienuxAienux, the kernel of AienOS, intended to replace the Linux kernel on the DGX Spark
omega-mvThe C reaction runtime and compiler that defines computation, and the native GB10 GPU engine
physics-mvFORGE machine realization, plus historical Atlas/PHYSICS boot evidence
aien-protocols-mvVersioned wire and state specifications
aien-sovereign-core-mvThe Rust host runtime on Linux (the aien command line, inference ABI, KV cache, scheduler) and the verification pipeline that judges every repository; Rust here is scaffolding that Omega replaces piece by piece (ADR 0024)
aien-architecture-mv (this repository)Architecture, decision records, milestone status and the execution plan

These six keep their own parts and still live in separate repositories. sovereign-intelligence is the integration, release and install center, and the place where the signed Spark test runs; aien-dev/aienix is retired (ADR 0045). The research note on the layout is in docs/research. Signed test results for all of them are published to aien-receipts. Historical PHYSICS_* milestone names stay unchanged in old milestones and evidence. Older documents link to aien-spark/<name> or aien-dev/<name>; those addresses are the same repositories under earlier names.

Standing rules

Specifications and plans (not qualified code)

The Physics Zero Atlas, DIRAC-0 and the Evolution Arena spec V1 are documents. Finite workstream plans under docs/plans/ must be marked NOT A MASTER PLAN (PLAN_AUTHORITY.md); most are, but the physics-zero and adaptive-intelligence folders do not carry the marker yet.

The necessary-work programme (2026-10-18, PROPOSED) asks which work is unnecessary before making the chip faster; its feasibility research is docs/research/necessary-work-program-feasibility.md. None of its experiments has run.

Building and testing

There is no product to build here. The one program is the crumb tool in tools/crumb. It needs only a C11 compiler and make. Build it and run its tests:

make -C tools/crumb test

Crumbs are retired from the active workflow (DRA-97, 2026-11-07): no gate checks that the .crumb files are current, and they stay as history. ./tools/crumb/crumb verify . still works if you want to look.

The Spark runs these gates on every pull request. Each manifest in tests/gates/ calls tests/gates/run.sh with one step word, so you can run the same steps yourself (the script needs bash; plain sh stops at set -o pipefail):

bash tests/gates/run.sh crumb-tool-test       # gate ARCH-CRUMB-TOOL-TEST: the crumb tool tests
bash tests/gates/run.sh script-tests          # gate ARCH-SCRIPT-TESTS: tests of the four checked scripts
AIEN_OMC=<pinned omc> bash tests/gates/run.sh doctrine   # gate ARCH-DOCTRINE: doctrine consistency (tools/doctrine, seeded .om; NOT_RUN without the pinned compiler)
bash tests/gates/run.sh qualification-status  # gate ARCH-QUALIFICATION-STATUS: R16 status wording

qualification-status reads omega evidence, so it needs an omega checkout beside this one at ../omega.

For a Cargo repository, CRUMB="$PWD/tools/crumb/crumb" bash scripts/pipeline-proofs/18-crumb-only-no-rebuild.sh <repo> checks that a .crumb-only commit does not rebuild crates. It uses a persistent target cache at ${XDG_CACHE_HOME:-$HOME/.cache}/aien/pipeline/target-cold, outside the temporary clone; set TARGET_DIR to reuse a different cache. The proof never deletes that cache. CARGO_ARGS defaults to --locked --offline.

How a pull request is judged

Since the 2026-10-24 merge-policy change, GitHub-hosted AIEN Checks on pull requests and main are advisory: for enrolled repositories they run portable smoke gates (their crumb verify step is retired, DRA-97). They do not download a signed Spark bundle or gate a merge. The AIEN Alpha job runs only on alpha/* tags, requiring a signed full Spark bundle for a tagged commit on main. See docs/PIPELINE.md for the current flow and the older process.

The crumb tool on main can now compute the generated part of each .crumb file on demand instead of storing it (RFC-0003 amendment 1, pull request #271, merged 2026-10-18; docs/CRUMB_PROTOCOL_RFC_0003.md). This repository switched on 2026-10-19 (pull request #272): its .crumb files no longer store that data, and crumb verify . computes it when it checks.

Where the evidence lives

Contributing

Open a pull request against main with docs-only or doctrine changes, cite the receipt or code you are relying on, and state any outside review you obtained. Hosted PR checks are advisory, not a signed Spark qualification or permission to merge; do not add the ready-to-merge label without the maintainer's approval. Questions and design ideas are welcome as issues. See CONTRIBUTING.md.

License

Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). See LICENSE and LICENSE-NOTICE.md. Contact: aien@aienos.com.