Base · 8453

Architecture

v4.0 · full stack

NWO-ASM's full stack, end to end. A user writes process-matrix code at the top; signed USDC settlement comes out at the bottom. Each layer below is independent and replaceable — the language and runtime are MIT-licensed; only the substrate connectors that touch live external compute carry per-call fees. The vertical flow makes the boundaries obvious.

HONEST DESIGN · Every layer is labeled LIVE, BETA, or ROADMAP. Solid lines connect live components; dashed lines mark designed-but-not-yet-shipped paths. Nothing in the picture is implied to work before it does.
Stack

The full vertical stack

Read top to bottom — source becomes signed settlement. Solid white lines are live data paths; dashed lines are designed/roadmap.

LAYER 01 · SOURCE NWO-ASM language .nwo · process matrices · causal coherence LIVE · MIT LAYER 02 · PARSER & AST Rust · tree-sitter grammar type-checked syntax tree LIVE LAYER 03 · PROCESS-MATRIX IR .pmx intermediate substrate-agnostic algebraic form LIVE LAYER 04 · METASTATE OPTIMIZER free-energy placement causal-coherence scheduling · kernel fusion LIVE LAYER 05 · RUNTIME & DISPATCHER async · health-aware · signed retries · fallbacks · live metrics LIVE LAYER 06 · SUBSTRATE CONNECTORS CPU LLVM 17 x86·ARM·RISC-V LIVE GPU CUDA·ROCm + nwo-agi mesh LIVE QPU IBM · Origin Wukong 72q · Wukong-180 LIVE ECG Hive · BCI identity hive + neural-state map BETA Photonic Jiuzhang-class linear-optical ROADMAP Neuromorph Loihi · Lava spiking nets ROADMAP DNA strand displacement nanopore I/O ROADMAP Crystalline quantum-dot lattice ROADMAP LAYER 07 · VERIFICATION Proof of Inference (signed) Groth16 zk variant · CRYSTALS-Dilithium LIVE LAYER 08 · SETTLEMENT USDC on Base · MetaStateSplitter 35/35/30 · + 15% affiliate · no new contract LIVE LAYER 09 · DELIVERED result + signed proof + tx hash auditable end-to-end LIVE EVM target bytecode emit for on-chain calls DESIGN Cross-chain QPC-secured message bridge ROADMAP SOLID = LIVE PATH · DASHED = DESIGNED OR PENDING HARDWARE LAYERS 01-05 · 07-09 ARE LIVE TODAY · L6 SUBSTRATES MIXED · BRIDGE LAYERS ROADMAP EVERY ARROW IS AN INSPECTABLE BOUNDARY · YOU CAN STOP AT ANY LAYER WITHOUT GOING LIVE
Layers, in detail

Nine layers, top to bottom

01

Source

The NWO-ASM language itself. Process matrices and causal coherence as first-class primitives. MIT-licensed, no platform lock-in. Files are .nwo; modules, types, and routing directives compose like ordinary code.

02

Parser & AST

A Rust parser using a tree-sitter grammar produces a typed AST. Diagnostics are user-friendly; errors come with source spans and suggested fixes.

03

Process-Matrix IR

The AST is lowered into .pmx, a substrate-agnostic algebraic form. Every operation in the IR is a well-defined algebraic transformation — the IR is human-readable and inspectable.

04

MetaState optimizer

Places each IR block on the substrate that minimises a free-energy bound across substrate cost models. Optional manual mode pins targets explicitly. Output: optimized IR plus a placement map.

05

Runtime & dispatcher

Async dispatcher with health-aware retries, fallback substrates, and live metric collection (what Portals visualise). Every dispatch is signed before it leaves the runtime.

06

Substrate connectors

One small adapter per substrate. Live: CPU (LLVM), GPU (CUDA/ROCm/Metal + nwo-agi mesh), QPU (IBM, Origin Wukong 72q + Wukong-180). Beta: ECG hive + BCI/EEG mapping. Roadmap: photonic (Jiuzhang-class), neuromorphic (Loihi/Lava), DNA (strand displacement), crystalline (quantum-dot lattice). Each connector is replaceable without touching the language above it.

07

Verification

MetaState independently re-fits the inference and emits a Proof of Inference, signed with CRYSTALS-Dilithium (post-quantum). A Groth16 zero-knowledge variant is available when the data must stay private.

08

Settlement

The signed proof becomes calldata into the deployed MetaStateSplitter at 0x93a7…1BE4 on Base. The split is 35% guardian · 35% savings · 30% operations, with an optional +15% affiliate payout when a referrer is attached. No new contract is deployed for NWO-ASM — we reuse what's already audited.

09

Delivered

The caller receives: the computed result, the signed proof, and the on-chain transaction hash. Every step from source to delivered is auditable; every boundary in the diagram is inspectable.

Tech stack

What each layer is built on

LayerTechStatus
01 · SourceNWO-ASM grammar · process matrices · causal coherence · MITLive
02 · ParserRust · tree-sitter · ariadne diagnosticsLive
03 · IRProcess-Matrix IR · .pmx · serdeLive
04 · OptimizerMetaState kernel · free-energy bound · causal-coherence schedulerLive
05 · Runtimetokio · health probes · sparkline collectors (what Portals show)Live
06 · CPULLVM 17 · x86 / ARM / RISC-VLive
06 · GPUCUDA · ROCm · Metal · nwo-agi distributed meshLive
06 · QPUQiskit Runtime (IBM) · QPanda (Origin Wukong 72q · Wukong-180)Live
06 · ECG Hive · BCIOpenBCI / Muse / LSL · CRYSTALS-Dilithium identity hive · neural-state encoderBeta
06 · PhotonicLinear-optical · Gaussian Boson Sampling adapters (Jiuzhang-class)Roadmap
06 · NeuromorphicIntel Loihi · Lava SDK · spiking-net IR loweringRoadmap
06 · DNAStrand-displacement compiler · Oxford Nanopore I/ORoadmap
06 · CrystallineQuantum-dot lattice · custom backend (long-horizon)Roadmap
07 · VerificationCRYSTALS-Dilithium · liboqs · Groth16 zk (snarkjs/arkworks)Live
08 · SettlementMetaStateSplitter · Base 8453 · USDC (0x8335…2913)Live · existing audited contract
Side · EVM targetEVM bytecode emission for cross-chain invocationDesign-complete
Side · Cross-chain bridgeQuantum-secured message relay between chains and NWO-ASMRoadmap
Principles

Why it's shaped this way

One language, many substrates

Source code never names a backend. The optimizer at layer 04 picks; replacing a substrate (or adding a new one) does not change a single line of user code.

Every layer is inspectable

You can dump the AST, the IR, the optimizer's placement, the runtime's metrics, the proof, and the calldata. No hidden state, no opaque steps.

Honesty is structural

Roadmap substrates can't be silently dispatched to; the runtime refuses. The diagrams use dashed lines for the same paths the code refuses to traverse.

No new on-chain contract

Settlement reuses the audited MetaStateSplitter. No new ABI, no new audit, no new attack surface for NWO-ASM specifically.

Compiler MetaState link How-to & examples