Introduction
This book builds a machine-learning library from small understandable pieces. Every completed chapter runs the actual Psionic library, with checks and independently specified results.
Chapter 1 starts with learning a single number. You need basic programming and enough arithmetic to multiply and average two numbers. It explains the small amount of calculus as it goes. For the language, use the Coax book.
Coax listings, equations and short illustrative blocks use jai Markdown fences for syntax highlighting. Command blocks use shell.
A chapter whose status is Unimplemented: design draft is written ahead of its code. Its first line under the title is a quoted **Status: unimplemented — design draft.** marker; it explains the method, the design, what it will build and its acceptance checks, and has no source-linked listings or examples. Sketches in it are illustrative only. The physics engine and the spacecraft chapters, first drafted here this way, are now Parts IV and V of the Aethyr book.
Chapter status
The chapter registry records every chapter's number, title, status, profile, dependencies and three separate facts:
Implemented source (
source): the code the chapter shows or runs.Qualified targets (
qualified_targets): the targets, such ascpu,cuda,metalorwasm, with recorded evidence for the chapter's profile. Source that might compile for a target doesn't qualify it.Adoption (
adopted_by): code outside the book that uses the chapter's code today. An empty list means no adoption is recorded.
A chapter's status is one of implemented, partly implemented, design draft or planned. A design draft starts with the quoted design-draft marker above, and a partly implemented chapter with **Status: partly implemented.**. python3 psionic/tests/book.py fails when a status marker, a contents label, the status column below or the registry disagree.
Promoting a draft to a teaching chapter
A design draft or planned chapter becomes a teaching chapter only when it has all four of the following:
A worked calculation or trace. A small input whose result the chapter works out by hand, step by step, before the program runs.
Runnable source. The code and an example in
psionic/examples/, listed in examples.json, with an exact transcript that the book's checks compare in debug and release.A deliberately broken case and its diagnostic. An input or an edit that the code refuses, with the exact error or refusal shown and its exit status checked.
An independent check. A result computed another way, such as a separate oracle, a reference implementation or a hand-derived value, that the checks compare with the code's result.
When all four exist, update the chapter's status in the same commit in four places: the chapter's status marker, its entry in chapters.json, its label in the contents and its row in the table below. The registry check fails when they disagree. Coax chapter 29's affine section is an example: a hand calculation, examples/ch29_frames.coax, a refused program with E0834, and a #test that compares the result with plain arithmetic.
To find a route through the three books (write current Coax, build a playable realm, run an original model or train a small model), see Paths through the books.
Commands run from the OpenAgents repository root. psionic/check.sh checks the whole current book and library. Build once with coax/build.sh if you want to run examples directly without the check command.
Runnable: CPU
Train prediction = weight * x, check every loss, predict a held-out value, and refuse malformed work.
Runnable: CPU
Admit rank-zero through rank-four shapes, count bytes safely, locate values and stage a copy into caller storage.
Runnable: bounded CPU f32 views
Signed strides, slicing, transposes, read-only broadcasting, empty tensors and saved-value mutation checks.
Runnable: CPU-f32-wide-v1
Add, reduce, multiply matrices, gather rows, apply masked softmax and normalize rows with independent numerical checks.
Runnable: CPU-f32-wide-views-v1
27 operators, shape/dtype inference, support manifest and analytical value VJPs over strided views.
Runnable: bounded CPU, CUDA and Metal
Owned placement, f32/f16/bf16 casts and promotion, immutable shared views, explicit waits, seeded uniform tensors and add/ReLU/dropout.
Runnable: original-weights-v1
Inspect and bind original single/sharded BF16/F32 artifacts, decode finite windows and use imported values in shared kernels.
Runnable: interchange
Bounded named F32/BF16 Safetensors writing/inspection, a versioned C ABI and zero-copy leased CPU f32 DLPack; a NumPy model continues training in Coax and reloads independently for inference. ONNX graph exchange is 220 and 221; arbitrary optimizer conversion remains separate.
Runnable: qwen35-text-v1
Render typed decisions, normalize/tokenize original Qwen data and validate complete shared-prefix/suffix layouts.
Runnable: bounded CPU
Execute a dense causal decoder block with grouped-query attention, rotary positions and a key/value cache.
Runnable: bounded CPU
Compose Qwen-style causal linear and full-attention layers with their separate states.
Runnable: bounded CPU
Compute bidirectional full-attention blocks and fork all live hybrid prefix state.
Runnable: bounded CPU
Compute temperature-scaled option probabilities, vocabulary slot mass and typed decision statistics.
Runnable: original weights, CPU
Authenticate Elephant and execute a typed text decision through its complete hybrid stack.
Runnable: original weights, CPU
Plan Mammoth's storage, authenticate both shards and execute the same typed text decision through all 64 layers.
Runnable: CPU; original weights for the held-out run
Load the bundle's calibration (none: temperature 1.0), print the published answer JSON and measure accuracy, Brier score, calibration error and abstention on a frozen held-out set.
Runnable: CPU
Freeze comparison policies by digest, bind results to the exact build, make the exit status the verdict, and find chapter 14's evidence unknown, not qualified.
Runnable: live-decision
Measured monotonic phases, observed cold/warm file pages, peak process RSS and reproducible logical-token rates and P50/P95/P99 samples.
Runnable: live-decision
One authenticated session and reusable bounded execution arenas, descriptor-bound verified files and typed capacity refusals; device requests avoid redundant CPU state.
Runnable: loopback, toy and original Elephant, CPU
Answer NIP-DEC decision bodies over HTTP with typed refusals, deadlines, cancellation, busy refusals and the served model identity.
Runnable: toy engine and native answers
Accept application/x-protobuf requests by transcoding them to the NIP-DEC body chapter 20 admits, and answer in protobuf on Accept: application/x-protobuf.
Runnable: live-decision
Golden warm-up before readiness, versioned health, bounded Coax restart supervision, private usage records and an owned loopback deployment.
Runnable: live-decision
Exact per-request CPU prefix snapshots, isolated suffixes and device host-arena elimination; paired parity and measured changes. CPU worker pools remain chapter 35.
Runnable: local Coax relay, toy engine and Elephant on an L4; TEST-ONLY signing
NIP-42, the NIP-65 list and the 30200 beacon, NIP-44 jobs verified, queued, cancelled or refused, answered by the engine with its identity, and draining then offline on stop.
Runnable: opt-in loopback HTTP-to-Pylon adapter; throwaway buyer keys
Fresh exact-identity free services, encrypted correlated attempts, checked answers, bounded failover and same-identity local fallback. Not publicly deployed.
Runnable: opt-in free mesh; configured toy CPU replay
Signed accepted remote receipts, memory-only sampled replay, pinned checker labels and independent public pool recomputation. No payment or execution attestation.
Runnable: authenticated bounded free public edge
Exact provider/model pins, private fleets and real learned-model calls.
Runnable: local ticket and cancellation effects
Bounded consumer tickets, monotonic deadlines, cancellation, late-response fencing and exactly-once game admission with a deterministic fallback. Delivery plan.
Partly implemented: opt-in guard shadow slice, qualified locally and live
Authored quiet, greeting and weather options, current-state revalidation and end-to-end gates. Usefulness and ambient behavior are pending.
Runnable: bounded measurements and real Elephant evaluation; no gain over quiet
Local telemetry, frozen labels and actual cookie-authenticated evidence.
Partly implemented: explicit-help candidate; separate live smoke evaluation
Fixed authored routes, strong local reference and current-ticket ownership; page integration remains gated.
Runnable: instant local help and opt-in remote shadow in the actual game
Current-world projection, same-frame HUD handoff and cancellation under changing gameplay.
Unimplemented: design draft
A fixed workload, CPU references, measured host roofline and a per-model residency plan that refuses requests that do not fit.
Unimplemented: design draft
Psionic and a packaged llama.cpp build on the same file and prompt shapes, with cuBLAS as an opt-in comparator, reported as mean and standard deviation over at least five warm runs.
Unimplemented: design draft
Fixed partitions and tree-ordered merges so CPU output is byte-identical at 1, 2, 4 and 8 workers.
Runnable: batched suffix forks on CUDA (RTX 4080)
A request's five suffixes in one pass over the weights, bit-identical to sequential forks, with prefix state reused across requests by model identity and exact token prefix.
Runnable: coax cuda on an RTX 4080 and group kernels on Apple GPUs
Buffers, integer indexes, bounded loops, work items and bindings: generated source compiles, device execution matches the CPU oracle, and negative admission refuses.
Runnable: tensor-ir-f32-v1, CPU/CUDA/Metal
Typed straight-line graphs, shape/alias inference, root liveness, reusable workspace, reference/plan/device execution and exact cache invalidation.
Runnable: tensor-template
Bounded symbolic shapes and declared branches/loops, guarded specialization, four-entry LRU plans, aggregate payload admission and one shared backend compilation across batch sizes.
Runnable: operator-registry
Public unary f32 schemas, CPU/reference callbacks, generated GPU lowering, input VJPs, batching and leased registry identities integrated into compiled IR models; squared-ReLU trains without new core operator cases.
Unimplemented: design draft
Online-softmax attention over key/value tiles with chunked prefill, under its own named profile, keeping decision masks, sinks and windows.
Unimplemented: design draft
Chunked Gated DeltaNet prefill in WY form, equal within a named profile to chapter 11's token-by-token recurrence, with chunk-boundary snapshots.
Unimplemented: design draft
Fused device operations admitted only for non-overlapping buffers, and decode or prefill steps recorded once and replayed as device graphs.
Runnable: Elephant on CUDA (RTX 4080); Mammoth in chapter 46
Coax-generated kernels, device buffers and launches, whole-prompt prefill, streamed layers and the complete decision checked against the CPU reference, about 201 ms per decision.
Runnable: every Elephant matrix can stream
Elephant beside a resident gpt-oss-20b on one 16 GB card, with a plan checker that shows a streamed plan launches what the resident plan launches.
Runnable: Mammoth on CUDA (RTX 4080), streamed
Mammoth's decision in about 1.6 s with 12.5 GiB resident and 37.8 GB streamed, within 0.0005 of chapter 15's CPU result.
Runnable: Elephant on Metal (Apple M5 Max)
The chapter 44 kernels through coax metal-compute, the decision within 4.6e-6 of the CPU and about 0.4 s warm. Mammoth on Metal is planned.
Unimplemented: design draft
8-bit activation blocks with exact 32-bit integer accumulation, as a row kernel for decode and a tiled int8 kernel for prompts.
Runnable: gguf-v3-le-v1, CPU
Bounded metadata, quantized tensor descriptors, alignment and atomic publication; original upstream headers and malformed fixtures.
Unimplemented: design draft
Q8_0, K-quants and an optional quantized KV cache, each a separate profile measured against the original weights with a declared quality loss.
Unimplemented: design draft
Decoders for 2- to 6-bit K-quants and IQ4, IQ3 and IQ2 formats, each with independent decode vectors and a quality card.
Runnable: bounded CPU
WordPiece, SentencePiece-style Unigram and bounded Jinja, checked against original BERT/T5 tables and TinyLlama templates.
Unimplemented: design draft
A named counter-based RNG, temperature, top-k and top-p with tie rules, stop conditions and grammar-constrained decoding.
Runnable: bs-attnpool-d64-v1, CPU
Search the Coax, Psionic and Aethyr books with BM25, exhaustive vector search over Psionic's own learned embeddings, and a fused retriever. Every result names its passage, revision and status, and a stale index is refused or rebuilt. On 36 held-out queries, MRR@10 is 0.505 for BM25, 0.477 for vector search and 0.518 fused.
Unimplemented: design draft
An HNSW index built from scratch, with recall against exhaustive search at fixed budgets.
Unimplemented: design draft
Lexical and dense results merged and reranked, with index recall, relevance and answer quality reported separately.
Unimplemented: design draft
A Coax documentation assistant that cites exact passages and stops returning corrected or deleted documents.
Unimplemented: design draft
Llama-3.1-Minitron-4B-Width-Base continuation with full versus cached logits and deterministic and seeded output.
Unimplemented: design draft
Chapter 54's search on openagents.com through Wasm, with a downloadable query encoder shown compatible with stored document embeddings.
Runnable: bounded CPU format decoder
Decode original gpt-oss packed groups exactly, with independent bit oracles and atomic refusals.
Runnable: bounded CPU router and tiny affine experts
Select and normalize top-k routes, dispatch by resident expert ID and publish a checked weighted mixture.
Runnable: gpt-oss-attention-cpu-wide-v1
Compute per-head sink attention with a bounded ring, split-half YaRN, biased projection and clamped expert activation.
Runnable: gpt-oss-harmony-text-v1
Encode original byte ranks, frame typed messages with reasoning effort and parse strict complete replies with exact turn/handoff stops.
Runnable: original CPU model and seeded generation
Complete authenticated 24-layer model, dense references, replay and sampling.
Runnable: original 20b CUDA residency
Packed original weights, complete resident memory plan and focused owned checks.
Runnable: original 20b CUDA greedy generation
Every layer, cache, router and full head stay on device; complete Harmony final display.
Runnable: batched CUDA prefill
Coefficient reuse across tokens, grouped experts, causal chunk attention and atomic cache shadows.
Unimplemented: design draft
Cooperative tiles, barriers, lane exchange, capability admission and packed BF16/FP16 matrix primitives in the Coax compute contract.
Unimplemented: design draft
Original MXFP4 expert products on matrix hardware under a separately named profile with error bounds frozen before comparison.
Runnable: exact CUDA decode replay
Coax compares admitted descriptors; ordered graph nodes reuse bindings and patch changing arguments.
Unimplemented: design draft
A fixed 1,024-in/128-out gpt-oss-20b workload on the RTX 4080 with gates of 25 tokens/s decode and 2 s prefill, then bounded continuous batching.
Runnable: original 20b on an Apple M5 Max
The same Coax kernels and launch programs through Metal; every weight resident; CPU-identical greedy tokens; served by serve-gptoss.sh --metal.
Runnable: original CPU model and residency
The same engine, 36 layers and 128 experts, original shards and measured memory.
Unimplemented: design draft
gpt-oss-120b on a device with enough resident memory, such as the 128 GiB Mac through chapter 72's Metal engine.
Runnable: serial CPU speculative profile
Standard acceptance/correction, block bonus, whole-cache rollback, prompt n-grams and original greedy parity.
Unimplemented: design draft
Batched device verification of draft blocks with speculative-only rollback, enabled only after a measured net latency gain.
Runnable: finite JSON-schema enum and granted tools
Mask before sampling, typed commentary handoffs, tool-role results and final-only display.
Unimplemented: design draft
Schema-constrained tool calls, grant checks and cancellation on the resident device engine with no hidden CPU fallback.
Runnable: resident original 20b CUDA, bounded Responses profile
Coax HTTP/JSON, typed reasoning/function replay, incremental SSE, cancellation and SDK checks.
Runnable: gpt-oss-20b and Elephant on one RTX 4080
Start order and memory budget for both servers on one 16 GB card, verified starts, and a client that chains them. Concurrent use is unmeasured.
Unimplemented: design draft
Ministral-3-3B with the Tekken tokenizer, Mistral's chat format and a dense grouped-query decoder, checked against token and logit references.
Unimplemented: design draft
Exact decode of FP8 E4M3 block-scaled originals, including UE8M0 scales, kept separate from derived profiles.
Unimplemented: design draft
Devstral-Small-2-24B with schema-constrained function calls, measured on a fixed coding-task set.
Unimplemented: design draft
Multi-head latent attention in expanded and absorbed forms, with the compressed cache accounted exactly.
Unimplemented: design draft
Mistral-Small-4-119B with latent attention and 128 routed plus one shared expert, measured for residency on one machine.
Unimplemented: design draft
Large 4's lightning indexer, cross-layer KV sharing, NoPE layers, soft-capping and long YaRN on tiny fixtures and selected real layers.
Unimplemented: design draft
Large 4's embedded draft head as a speculator under chapter 75's acceptance rule, with greedy parity and measured acceptance.
Runnable: original BF16 CPU reference
Qwen2 execution, original tokenizer BOS and stripped-history recipe, greedy generation, separate reasoning/final intervals.
Runnable: original V4.1 text tokenizer and bounded recipe/stream
Typed boundaries, original three-stage split and byte BPE, Unicode 16 without normalization, incremental UTF-8/DSML and explicit finish.
Runnable: complete original BF16 CPU reference
Complete dense/MoE stack, compressed/expanded latent caches, atomic token commit, independent original generation and offline replay.
Runnable: CPU wide routing equations
Selection-only correction, V3 grouped sigmoid and V4.1 square-root-softplus, deterministic ties and complete margin comparisons.
Runnable: projected CPU wide attention and sharing
Both compressors, atomic chunks, window and compressed caches, pinned layer ownership, reused candidate blocks and sink attention against independent prefixes.
Runnable: CPU wide hyper-connection equations
Four streams, pre/post and fixed Sinkhorn mixing, previous-mix state across sub-block/stage boundaries and final collapse.
Runnable: original tokenizer/map and bounded row I/O
Exact normalized vocabulary, primes and multipliers, streaming n-gram history and BF16 rows through mmap/pread at original shard sizes and offsets.
Runnable: CPU wide expert equations and original MoE component
Exact FP4/FP8 formats and activation grids, clamped SwiGLU, pre-down route weighting and original 384/6 plus shared qualification.
Runnable: exact CPU cache transactions
Recorded-profile heat and hysteresis, stable step leases, atomic swaps, private next-layer prefetch and file/host/resident expert parity; device integration remains open.
Runnable: CPU chunks and original MoE batch
Stable expert groups, shared block-scaled products, measured-cost chunk choice and causal layer-major parity; CUDA products have exact CPU parity, including original projection shapes.
Runnable: exact CPU BF16 source grids
FP8 window, per-16 FP4 compressed KV and per-32 FP4 index keys, atomic packing, bit-exact BF16 reconstruction and separate chunk work limits.
Unimplemented: design draft
Record the whole V4.1 decode step as one device command sequence with device-side expert ids and sampling, and keep the host one step ahead.
Unimplemented: design draft
Run the complete 510.3 GB V4.1 Flash model on one large machine with cached experts and Engram from disk, qualified under chapter 17's rules.
Unimplemented: design draft
Rebuild Project Maya's one-card V4.1 Flash setup in Coax with a separate unqualified 2.6-bit consumer-q profile, then measure or refuse a 16 GB card.
Unimplemented: design draft
Verify V4.1's own draft layers at fixed and then variable length, reported as committed tokens per second against target-only decode.
Runnable: cpu-f64-sgd-v1, simulated data
Predict whether a request meets its deadline with a constant, a handwritten rule, a line, logistic regression and one hidden layer: hand gradients, minibatch SGD, scaling, session splits, written costs, and a case where the larger model loses.
Runnable: cpu-f64-tape-v1
A model as a list of operations, a forward pass that saves every value and a reverse pass that accumulates adjoints; checked against 60-digit central differences and by retraining chapter 103's models.
Unimplemented: design draft
Break a working classifier six ways on purpose and show a diagnostic that points at each fault.
Runnable: autodiff-f32-v1, bounded CPU
Reverse mode over chapter 38's tensor IR: per-operator VJPs through views, shared values, unused inputs, detached nodes, forward-only tapes and custom derivatives, with saved values kept only as long as a backward rule reads them; a network built on chapter 40's registered squared ReLU trains with gradients checked against central differences.
Runnable: bounded CPU graph-function transforms
Compose first/second partials, directional/reverse products and shared/mapped batching with explicit scratch and atomic outputs.
Unimplemented: design draft
Compare uncertainty, diversity and mixed acquisition with random selection at equal label budgets, reporting a negative result if there is one.
Runnable: owned F64 RK4 and learned oscillator surrogate
Train on whole parameter/initial-state/forcing groups, compare one-step errors and independent 128-step rollouts, and retain the affine model’s better one-step result.
Unimplemented: design draft
A headless grid world where a DAgger policy and a learned-model planner are compared on held-out maps, including model exploitation.
Runnable: exact RK4 inverse physics
Recover stiffness/damping through the solver, measure noise and sparse observations, and retain the equilibrium ambiguity.
Runnable: bounded CPU
Train a complete 256-byte bigram model on fixed CC0 synthetic documents, evaluate disjoint held-out splits and sample with a named counter RNG.
Runnable: cpu-f64-causal-decoder-v1
A tiny complete causal decoder (GQA, RoPE, squared-ReLU FFN, RMSNorm): full-sequence and KV-cache decode agree bit for bit, an independent Python definition matches its logits, every hand-derived gradient matches a central difference, and a trained model continues held-out alternating-copy prompts that the head alone cannot.
Unimplemented: design draft
Differentiate the tensor IR itself, plan saved activations and recomputation, fuse backward operations and compile the optimizer update.
Unimplemented: design draft
Train the complete tiny decoder end to end and keep it as a permanent training regression.
Unimplemented: design draft
Train the tiny decoder under a fixed memory cap with accumulation, checkpointing and a per-operation precision policy.
Unimplemented: design draft
A public Module and Parameter API that a newcomer uses to build an MLP, a CNN, a residual network and a transformer.
Unimplemented: design draft
One trainer interface that trains an image classifier and a tiny language model with no model-specific changes.
Unimplemented: design draft
Ablate and patch activations in a tiny decoder to remove and restore a known shortcut, with controls and held-out counterfactuals.
Unimplemented: design draft
Provenance, splits by task, session or time, leakage detection and exact resume of model, optimizer, RNG and data state.
Unimplemented: design draft
Datasets, samplers, workers, prefetching and resumable iterators, with the GPU time lost to loading measured.
Runnable: psionic-resume-v1, bounded CPU
Documents with fixed splits packed by a seeded per-epoch shuffle, a versioned checkpoint record with model/tokenizer/data/optimizer identities and a pointer, atomic publication, and a run interrupted at any step that resumes bit for bit.
Runnable: bounded CPU
Deterministic Coax byte-BPE training, pinned nanochat two-digit splitting, independent merges and persisted chapter-9 PST5 round trips.
Runnable: cpu-adamw-v1, cpu-muon-v1
AdamW with bias correction, decoupled decay and parameter groups over a binary64 master copy; declared binary64 or binary32 compute, all-or-nothing admission, a skip policy for non-finite gradients and exact resume. Then nanochat's MuonAdamW on one rank: setup_optimizer's grouping, Nesterov momentum, MuonEq, Polar Express, Muon+, NorMuon and cautious decay, matched to an independent oracle.
Runnable: CPU binary64, nanochat 92d63d4e
nanochat's gpt.py exactly: RoPE, QK norm and scale, ReLU-squared MLP, untied head, sliding windows, value embeddings and gates, residual and x0 scalars, smear and backout, with cached decoding equal to the full pass. A torch.save checkpoint exported to safetensors without running its pickle, admitted in Coax against pinned source, config and tokenizer identities.
Unimplemented: design draft
The pinned nanochat tokenizer, conversation rules and cached generation around chapter 125's forward pass.
Unimplemented: design draft
Checked gradients for every enabled nanochat feature with complete parameter coverage.
Unimplemented: design draft
A tiny nanochat pretraining run in Coax with exact resume, bits per byte and a two-way compute-budget comparison.
Unimplemented: design draft
Train an MLP, a CNN, a tiny transformer and a 10-50M decoder on the RTX 4080 with all state on the device and no PyTorch.
Unimplemented: design draft
Profile one training step by operator, transfer and idle time, then fix and measure one bottleneck.
Unimplemented: design draft
Compile the whole training step and match eager training on gradients, updates and metrics.
Unimplemented: design draft
Train on one real homogeneous multi-device topology with sharded resume and measured scaling.
Unimplemented: design draft
A device mesh with replicated, sharded and partially reduced layouts, checked against a single-device reference.
Unimplemented: design draft
Data-parallel training with gradient buckets, overlapped all-reduce and failed-rank restart.
Unimplemented: design draft
Fully sharded parameters, gradients and optimizer state, with checkpoints restored into a different shard layout.
Unimplemented: design draft
Supervised fine-tuning with assistant and tool loss masks on bounded Nemotron-Agentic-v1 and OpenCodeReasoning subsets.
Unimplemented: design draft
Continued pretraining on a separately specified domain workload with retention checks and frozen promotion criteria.
Unimplemented: design draft
A reward model trained on HelpSteer3 pairs, with held-out accuracy, measured limitations and an optional DPO experiment.
Unimplemented: design draft
nanochat's pinned on-policy mean-centered reward recipe over chapter 242's environments.
Unimplemented: design draft
LoRA post-training of Elephant and Mammoth, promoted only through both decision and probability gates.
Unimplemented: design draft
Distill Mammoth's slot distributions into Elephant as a new model profile with its own evidence.
Unimplemented: design draft
Plans exact image admission, resize and normalization profiles, convolution and patch projection, each checked on tiny fixtures.
Unimplemented: design draft
Plans the pinned Qwen3.5 vision encoder, projector, image token layout and multimodal positions for image-bearing Elephant and Mammoth decisions.
Unimplemented: design draft
Plans C-RADIOv3-B feature extraction, visual-asset retrieval and a small trained head over frozen features, with the source license kept as reference only.
Unimplemented: design draft
Plans the older Cosmos-0.1-Tokenizer-CI8x8 image codec as a teaching target, with latents and reconstructions compared value by value.
Unimplemented: design draft
Plans a tiny diffusion and flow-matching model with named objectives, schedules, conditioning and reproducible seeded sampling.
Unimplemented: design draft
Plans rotation representations, skeleton hierarchy, root, unit and timing conventions, and retargeting fixtures for motion.
Unimplemented: design draft
Plans a tiny motion codebook decoder and masked-token generation with known token-to-pose and continuity checks.
Unimplemented: design draft
Plans one pinned MotionBricks SOMA path: root trajectory, masked motion-token transformer and VQ-VAE decoder against full reference trajectories.
Unimplemented: design draft
Plans an explicit skeleton interface and bounded generation that hands MotionBricks motion to a Verse character in a reproducible scene.
Unimplemented: design draft
Plans audio admission, windowing, a DFT reference, FFT and inverse, and exact log-mel features shared with the physics chapters.
Unimplemented: design draft
Plans a FastConformer encoder with subsampling and length and mask propagation, compared with fixed intermediate tensors.
Unimplemented: design draft
Plans parakeet-tdt-0.6b-v3 transcription with token-and-duration decoding, bounded utterances and WER and CER per language slice.
Unimplemented: design draft
Plans chunked streaming transcription with carried state, partial and final hypotheses, per-chunk latency and voice-engine end of turn and barge-in.
Unimplemented: design draft
Plans one pinned text-to-speech checkpoint, selected after a terms survey, with normalization, vocoder, streamed playback and an ASR intelligibility check.
Unimplemented: design draft
Plans 2D FFT references, mode truncation and a Fourier neural operator layer with finite-difference gradient checks.
Unimplemented: design draft
Plans the PhysicsNeMo Darcy FNO recipe on self-generated solver data, with held-out fields compared against the solver.
Unimplemented: design draft
Plans signed distances, point clouds, neighborhood queries and point convolutions, each checked against a geometric oracle.
Unimplemented: design draft
Plans coordinate networks, differentiable ray compositing and a small radiance field trained on rendered views of a synthetic Verse scene.
Unimplemented: design draft
Plans domino_drivaerml execution on a bounded hashed DrivAerML subset, with surface and volume outputs and physical error measures.
Unimplemented: design draft
Plans the optional FourCastNet3 branch: spherical operators, 72 variables on a 721x1440 grid, latitude-weighted multi-step error and ERA5 terms.
Unimplemented: design draft
Plans a tiny state-space layer whose token-step, chunked and whole-sequence forms agree, with independent state reset.
Unimplemented: design draft
Plans complete NVIDIA-Nemotron-3-Nano-4B-BF16 execution: the Mamba-2 and attention hybrid with all recurrent and cache state.
Unimplemented: design draft
Plans NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 in floating point: the hybrid plus MoE, with full expert residency planned before NVFP4.
Unimplemented: design draft
Plans time-ordered multimodal observation records, a tiny conditioned next-frame task and the codec and scheduler contracts for world models.
Unimplemented: design draft
Plans one bounded conditioned Cosmos3-Edge generation path with exact codecs, numerical references and a separate task evaluation.
Runnable: position/pose IK, linearized posture projection, rest-to-rest timing, PD gains, short owned Euler loop and nonlinear control measurements
Source-limited position/pose solves, linearized posture projection, typed rest-to-rest timing, sampled PD gains/response, Panda PD/gravity and short owned-dynamics runs. Four new nonlinear cases pass numerical parity; nominal final error and brake recovery miss their goals, and the pulse band is temporary. Broader tracking acceptance, moving-state retargeting, finite nullspace/IK integration, collision/RRT and compiler bounds remain work.
Runnable: owned CPU gantry and pinned NVIDIA data excerpt
Train a two-axis policy from whole demonstrations, compare next-action error and held-out rollouts, and read 170 exact F32 values from a bounded original SingleArm selection.
Runnable: original LIBERO weights, Metal, prepared 140-token observation
Complete vision/language/conditioning/four-step flow path, same-input component checks and original decoded action endpoints. The separate global hidden-trace diagnostic remains outside its bound; simulator control is chapter 170.
Runnable: genuine LIBERO/Panda, original GR00T, Metal, MuJoCo 3.3.1
Coax prepares cameras/state, runs the resident network, supervises eight-action chunks and computes Panda torques; recorded controls replay exactly. Own physics, compiler bounded-control enforcement and differentiable simulation remain future work.
Unimplemented: design draft
PPO with GAE over batched quadrupeds on randomized terrain, a terrain curriculum and teacher–student distillation; reproducible runs.
Runnable: bench-us-v1, loopback
A seeded open-loop load generator with jittered arrivals and recorded length histograms, shadow replay, nearest-rank P50/P90/P95/P99 of time to first token, inter-token latency, end to end, inference and the rest, and a one-variable comparison against a baseline and its repeat; first figures from a loaded host, labeled as such.
Unimplemented: design draft
A versioned capability manifest, schemas in proto/, bounded requests and cancellation for the shared System One server.
Unimplemented: design draft
Streamed tokens and audio, session reuse, cancellation into the scheduler, background jobs and a Responses edge translated into System One.
Unimplemented: design draft
Token-level continuous batching under a state-memory budget, chunked prefill, preemption and priority classes, with batch invariance as the gate.
Unimplemented: design draft
Fixed-size KV and recurrent-state pages, a content-hashed prefix cache that spills from device to host to disk, and exact identities.
Unimplemented: design draft
Cache- and adapter-aware routing, a bounded priority queue and a replica autoscaler, checked in a discrete-event simulation first.
Unimplemented: design draft
Cold start split into machine, process, weight and kernel phases, with content-addressed weights and kernel caches keyed by device, compiler and source.
Unimplemented: design draft
Canary rollouts with traffic ramps, golden-request and latency gates, automatic revert and draining of in-flight requests.
Unimplemented: design draft
Service metrics, content-free audit logs, per-request usage records bound to execution evidence and a pricing policy in an authority file.
Unimplemented: design draft
Health checks, cordoning, idempotent retries, active-active and active-passive failover, data-residency routing and weight protection.
Unimplemented: design draft
Conditional prefill/decode disaggregation with versioned state-snapshot transfer, a local-prefill threshold and an adaptive xPyD ratio.
Unimplemented: design draft
Tensor parallelism for latency and expert parallelism for MoE throughput inside one fast domain, compared with the single-device reference.
Unimplemented: design draft
A compound voice pipeline with each stage scaled separately, a written latency budget per stage and a measured cost per network hop.
Unimplemented: design draft
Elephant as the voice engine's decisions: decider behind the existing never-awaited gate; a slow model can only fail to steer.
Unimplemented: design draft
A typed stage-boundary contract bound to artifact, layer range and protocol version; two Ministral 3 stages must match the whole model.
Unimplemented: design draft
Stage packages that fetch only their own tensors and shared assets, verified chunk by chunk, with fetch, memory and readiness measured.
Unimplemented: design draft
Encrypted peer connections with recorded direct or relayed paths, invitation-only private meshes, beacon discovery and a separate owner control plane.
Unimplemented: design draft
A pure Coax placement planner: whole, then whole on a peer, then split, with a stated latency or throughput objective and charged link costs.
Unimplemented: design draft
Downstream-first stage loading, generation fencing, route withdrawal on partial failure and declared drain, fail or restore per sequence.
Unimplemented: design draft
Expert parallelism across machines and expert streaming from local disk for MoE models larger than memory, compared with chapter 85.
Unimplemented: design draft
Mesh-wide cache-aware routing by queue delay plus restore cost, with bounded salted advertisements, fallback on missing hits and recorded savings.
Unimplemented: design draft
Negotiated activation codecs with a mandatory raw fallback, exact frame round trips and measured encode, decode and copy cost.
Unimplemented: design draft
Trust levels computed from evidence: any peer, a hardened machine, an attested enclave; requests routed by sensitivity and failing closed.
Unimplemented: design draft
Sampled re-execution of peer work on a trusted node, exact under one profile and within tolerance across profiles, with signed per-stage receipts.
Unimplemented: design draft
A Psionic server behind Mesh-LLM's plugin endpoint, serving OpenAI-compatible and /systemone contracts, with payments through our own wallet.
Unimplemented: design draft
DeepSeek V4.1 Flash in contiguous layer stages with BF16 boundaries carrying residual streams, shared state and Engram history, matched to chapter 100.
Unimplemented: design draft
Mistral Large 3 (675B, 681.5 GB) placed across machines with latent attention and expert routing, matched to a whole-model reference on selected layers.
Unimplemented: design draft
Mistral Large 4 (1,060.6 GB of FP8 originals) across machines with sparse attention, shared layers and the draft head; serving others needs a licence.
Unimplemented: design draft
One agent loop over Psionic's API with exact turn and step boundaries, a deadline per turn and cancellation that stops the model and the tools together.
Unimplemented: design draft
An append-only, versioned session log from which every model request is rebuilt byte for byte and replayed.
Unimplemented: design draft
Prompt assembly in a fixed order so each turn only appends, with metadata kept outside the model input, measured against chapter 176's prefix cache.
Unimplemented: design draft
A registry of tools with schemas in proto/, a guarded before/run/after pipeline, structured errors and arguments constrained during generation.
Unimplemented: design draft
Processes confined to declared roots and resources, an approval policy for anything outside them, per-tool timeouts and a guard against repeated failing calls.
Unimplemented: design draft
A replayable prompt-injection lab with planted hostile passages and tool results, zero unauthorized effects at the gate and separately reported leakage and task completion.
Unimplemented: design draft
One marked summary replaces older history when the context fills, bracketed in the log, with rule-based pruning and measured prefill cost.
Unimplemented: design draft
A model-written program run once in a bounded sandbox against bound host functions, returning one structured result; limits refuse rather than truncate.
Unimplemented: design draft
Forks at a turn boundary that reuse cached prefix state, scoped subagents, background jobs that outlive a turn and goals checked across turns.
Unimplemented: design draft
Ordered profiles of plugins whose registrations are owned and revoked on unload, with visible states and third-party plugins in bounded Wasm signed as Nostr events.
Unimplemented: design draft
An MCP client, ACP for editors, function tools over the Open Responses API and System One decisions available to the loop as a tool.
Unimplemented: design draft
Benchmarks for the harness and end-to-end task suites, each change measured alone against the simplest loop and reported through chapters 239–241.
Unimplemented: design draft
One candidate, several candidates with selection, and generate-run-repair compared under one budget on testable Coax tasks, with held-out checks for scoring.
Unimplemented: design draft
No session content leaves the machine without a per-session, revocable opt-in, and attribution metadata is explicit and inspectable.
Unimplemented: design draft
A source-linked memory store where every fact names its source and project scope, and corrected or deleted facts never return in their old form.
Runnable: cpu-f64-calibrate-v1, synthetic probabilities
Fit per-question temperature, binned and isotonic maps on one split, keep one only if it lowers calibration error and log loss on a frozen gate split, report it once on a test split, and refuse it for any other model version or question set.
Runnable: cpu-f64-threshold-v1, synthetic probabilities
Derive act, escalate and ask bands for an Elephant and Mammoth cascade from two written cost tables, freeze them after validation, and score them once on a confirmation set with intervals against always Elephant, always Mammoth and a fixed rule.
Runnable: cpu-f64-drift-v1, simulated drift
Log every decision with no content, join late or lost outcomes, flag windows whose calibration error calibrated draws rarely reach, refit maps on a schedule through chapter 215's gate, and estimate other thresholds from the log, refusing one the log never explored.
Runnable: selfcheck-v1, Elephant on the RTX 4080
A shipped reference set of decision requests with one identity's answers in billionths; before it advertises a slot the Pylon asks its own engine each one and needs the same choice and every value within 0.0005; an identity gate that refuses an undeclared change of weights; a read-only doctor that names the first failing step.
Runnable: cpu-f64-distance-v1, simulated backends
A centred-log distance between two machines' answers to fresh items with no answer key; honest pairs and cheap substitutes measured against a reference, limits set from honest rounds alone that pass every honest round and no more than 5 in 100 of any substitute's, and a live round whose checked subset is drawn from the answers' digest.
Runnable: onnx-17-v1, bounded CPU
A Coax reader for opset 17 and seven operators that names anonymous weights from the nodes that use them, refuses anything outside its set with a reason and a node, and runs a static-embedding model and a tiny image classifier within 1e-6 of onnx's reference.
Runnable: onnx-17-write-v1, bounded CPU
Chains of Gemm, Relu and Softmax written byte for byte as onnx writes them and read back by 161 before they leave; chapter 103's logistic model and latency line exported with their scaling folded in, within 1.5e-6 of the binary64 models, and its tanh MLP refused.
Unimplemented: design draft
A ModernBERT-family encoder with fixed decision heads answers a typed question, with identical argmaxes, a stated logit distance and P50/P99 at 512 tokens on CPU and GPU.
Unimplemented: design draft
An encoder student trained on Elephant's answer distributions, with fitted temperatures, promoted only above stated agreement, calibration and cheap-answer precision.
Runnable: shadow-sim-v1, simulated traffic
A candidate answering beside the active model with both answers logged and joined to outcomes; promoted only when disagreement and extra error, each plus two standard errors, are within stated limits; immutable candidates named by SHA-256, and activation as one compare-and-swap on an approved digest and report that leaves the active model unchanged on any refusal.
Runnable: cpu-f64-route-v1, simulated tasks and models
Route tasks among three models by learned success minus price, then judge a new router from an old one's logs with naive, direct, inverse-propensity and doubly robust estimates, and refuse when the logs never tried a model it calls.
Runnable: bounded CPU reference interpreter
Admit and run a small integer stack machine whose four-token-per-step trace and SHA-256 digest identify the run; a refused run publishes nothing.
Runnable: bounded CPU, integer scores
Parabolic keys and hard-max reads return exactly the latest write or refuse; the machine with attention as its only memory reproduces the interpreter's digest.
Runnable: bounded CPU, binary64 and binary32
A gated ReLU layer computes integer products, steps, equality and selection exactly within ±2²⁶ in binary64; binary32 only while products stay under 2²⁴.
Runnable: bounded CPU, binary64
A gate language, its integer evaluator, a scheduler that reuses residual slots, and emitted weights whose forward pass reproduces the evaluator exactly.
Runnable: bounded CPU
Run every program through the evaluator, a plan interpreter and the weights; catch four planted compiler bugs and place each in the schedule or the emitter.
Runnable: iw-v1, bounded CPU binary64
A small register machine's interpreter compiled once into a universal block that runs any program, against one program folded in by a general partial evaluator (the first Futamura projection); every run agrees three ways with the native interpreter, with sizes and measured steps per second for all three.
Runnable: hull-v1, bounded CPU
Chapter 227's parabolic keys are all vertices of one hull, so a binary search over its edges replaces the scan over every store: equal results at every read, the interpreter's digest, and comparison counts for both; no wall-clock figures without weights.
Runnable: bounded CPU, binary64/binary32/bfloat16 rounding
Prove softmax reads stay exact for any trace length once β ≥ ln(4V), and measure where binary32 and bfloat16 rounding breaks them.
Runnable: replay-v1, bounded CPU
A claim is a program, trace and output digest plus a step count; full replay, or a window after folding the claimed rows, names the first divergent step and field; every verdict is exact, failed or unverifiable, with tamper cases for each digest.
Runnable: students-v1, bounded CPU binary64
Linear, gated and table students trained by full-batch gradient descent on traces admitted by chapter 247, judged only by rolling out from their own rows and replaying with chapter 234: the gated student, trained to convergence, is exact at eight times the training length on its training families, and every student fails on a held-out family.
Runnable: core-v1, bounded CPU
Chapter 229's compiled block for the machine's arithmetic and branch, admitted by chapter 237, behind 12 fixed interface sources; a controller learns only which source each token comes from, prints the sources training never told apart, and is judged by chapter 234's replay: exact on held-out programs up to eight times the training length, refused at the core's range.
Runnable: module-v1, bounded CPU binary64
Chapter 229's blocks pinned by a digest of their shape and weight bits; two link into one block through a glue layer and a range-checked seam, and must replay the chain and the composed graph exactly; labels say how a user can check a module: exact, tests, statistical or none.
Unimplemented: design draft
A run that pays worker and validator in Bitcoin only for exactly replayed traces, after a self-test, with receipts before settlement and owner caps.
Runnable: sha256-suite-v1, chapter 16's held-out suite
Pin the items with their partitions, the questions and the gate as three SHA-256 digests, keep results in an append-only receipt chain where a locked partition is read once, and compare two results only over the same items, gate and partition, so rewording a question is measured rather than hidden.
Runnable: cpu-f64-noise-v1, synthetic suite and Elephant's chapter 12 run
Measure the noise floor from blocks of seeds and the spread of a gain by drawing whole tasks again, show that drawing items understates it, and refuse a partition already within the floor of its ceiling, which refuses accuracy on Elephant's 12-of-12 held-out suite.
Runnable: cpu-f64-verdict-v1, chapters 16, 215, 216 and 240 reporting
Decision, probability and evaluation gates whose verdicts are passed, failed or unverifiable with a reason: gains only beyond the noise floor on partitions with headroom, log loss and confident errors ranked above calibration error and accuracy (which fails chapter 215's binned map for question 1), and time limits that block chapter 216's background record.
Runnable: cpu-int-env-v1, a simulated agent
A task, a checker, a budget and a reference solution as one digested record, admitted only when the checker fails on empty work, passes the reference and fails a near miss; rollouts whose digest chains every attempt and verdict, accepted only when a replay reproduces them.
Runnable: cpu-f64-settings-v1, a simulated stall detector
Fit a weight, a threshold and a cut point from recorded answers with no model calls: midpoint candidates, a coordinate search priced by written costs and an optional grouped cross-validation rule; the fitted detector passes chapter 241's gate on a held-out set read once, and cross-validation against fit-set gains alone comes out unverifiable.
Runnable: cpu-f64-search-v1, a simulated world
Grow 32 policies (model, retries, context, checking) from the simplest by named operators, each a digested manifest; successive halving over three tiers keeps the best and any task's lone best, finds the same winner as measuring every policy in full for a quarter of the spend, and the winner passes chapter 241's gate on held-out tasks read once.
Unimplemented: design draft
GEPA in Coax with fixed candidate fields, a Psionic reflector that never grades, refused malformed reflections, a drift check and a canary, measured against settings fitting.
Unimplemented: design draft
Elephant or Mammoth as a pinned judge or router, measured against real outcomes, never sharing the student's or reflector's identity, and never a source of labels.
Runnable: rows-v1, bounded CPU
Decision outcomes admitted only with labels from a check or a diff, never an agent's summary; traces only with an exact chapter 234 replay; splits by time, and an exposure ledger shared across artifacts that gives every group one role, so a group one artifact holds out is never trained on by another.
Runnable: cpu-f64-loop-v1, a simulated world
Cost per accepted result per cycle on a digested fixed set; every component removed in turn under the same seeds and kept only beyond twice the paired standard error; a complexity ledger of settings and spend; a share of one budget per component; a barren loop reported flat, and the break-even volume of one that improves.
Runnable: DEVICE-F32-CHUNKED-v1 norm, recorded on an NVIDIA L4; CPU checks anywhere
A bounded tuner and then an agent search chapter 37's compute subset for Elephant's offset RMS norm under a declared contract, with held-out cases, bounds traps and bit-for-bit device checks outside the agent's reach: the tuner is 1.73 times faster than chapter 44's kernels, the agent's winner 2.85 times faster than the tuner, and every evaluation, failures included, is kept in a ledger.
Unimplemented: design draft
An externally consumable Psionic package and model audit command, tested by rebuilding three PyTorch tutorials with public APIs and zero engine modifications.
Chapters 103–104 start learning from data on chapter 4's operations, 106 differentiates any of chapter 38's tensor programs, 215 fits its own calibration, 216 derives thresholds from written costs, 217 watches them drift, 249 checks a Pylon against shipped answers before it serves, 219 sets how far apart two honest answers may be, 220 reads a bounded ONNX graph and 221 writes one, 224 shadows a new model before promoting it, 239 pins a suite as three digests, 240 measures how far a metric moves by itself, 241 turns that into verdicts, 242 admits environments only with working checkers, 243 fits settings on recorded answers, 244 searches policies cheapest first, 247 turns outcomes into training rows, 248 asks whether the loop is improving, 249 lets an agent optimize a kernel under an evaluator it cannot touch, 225 uses chapter 103 to learn which model to call, chapters 60–77 start an independent gpt-oss branch, and 226–234 and 237 open Part XXIII, with 235 asking whether gradient descent can learn exact execution and 236 keeping a compiled core exact behind a learned interface (programs compiled into weights); unlisted chapters in 18–59 remain planned.
The contents list completed chapters; the chapter plan sets the proposed full reading order: early Elephant/Mammoth and useful retrieval, gpt-oss, Mistral and DeepSeek, then training/nanochat, vision, motion, speech, physics, world models and robot policies (in worlds simulated by Aethyr), production hosting, inference across a mesh and measurement. Its prerequisite map lets independent branches start earlier than their position in the contents. The roadmap lists future work. Planned language and ML features are not runnable claims. Exact transcripts describe the current CPU arithmetic/printing profile; per-value tolerances state the numerical contract independently of formatting.
Last updated