# somatic core current implementation guide

applicability: **somatic core 1.6.0** · editorial review 23 november 2026.

[immutable release specification](/api/runtimes/somatic-core/spec.md?version=1.6.0) · [release manifest](/api/runtimes/somatic-core/releases/1.6.0/runtime.json)

this reviewed guide applies to the release identified above. it clarifies the 1.2.1 architecture notes and 1.5.0 skills section shipped with that release. the linked, version-specific release specification is preserved verbatim; these editorial clarifications do not replace signed artifacts or change the algorithm.

## implementation

somatic core uses a fixed-capacity multiscale count store and a causal attention learner over a finite context window. evidence can persist beyond that window, subject to decay, eviction, rescaling and finite precision. with learning enabled, the network's weights can continue updating.

- **statistical memory:** contexts of 1–3 tokens index successor counts. six decay constants default to about 11, 76, 521, 3,571, 24,476 and 167,761 tokens, with a seventh all-time rung that is rescaled at its cap. pools, successor slots and pair counts have fixed capacities. eviction can remove evidence abruptly; exponential decay does not make all forgetting smooth.
- **exact recent copying:** a separate ring defaults to 65,536 tokens. a repeated context can propose what followed its earlier occurrence. this ring is finite; the count store does not retain the full sequence beyond it.
- **neural learner:** causal attention over a 1,024-token window by default. the count store's back-off distributions and totals are projected into every attention block. the network learns generalisation; the store supplies specific context–successor evidence.
- **prediction:** an online gate mixes the statistical and learned predictions. bounded gain and numerical accounting matter; an old event is not guaranteed to remain recoverable.

## learning and evaluation

a training tick is scored before that tick's gradient update. the learner uses adamw, gradient clipping and bounded-state mechanisms; mixture and gate parameters have their own update rules. this per-tick ordering does not establish that every published bpb number is globally chronological or held out.

each experiment must identify its evaluation protocol and parameter-update policy. the [evidence records](/api/evidence.json) distinguish single-stream prequential scoring, multi-lane training scores, frozen held-out controls and synthetic held-out tests. preparatory counting, repeated reads and training exposure are separate accounting items.

the 1 GB comparison used the next 50 MB for both models, with soma learning and the offline transformer frozen: 178M versus 161M parameters, one seed each, 1.165 versus 1.178 bpb, and a reported approximately 14.4 versus 2-hour comparison with different timing scopes (the soma record includes the scored next 50 MB). a smaller four-pass control favoured the transformer. the 1b run used eight distant lanes sharing one learner, plus a prefix-counting pass; its final 40M-token 0.925 bpb is a training-score window. it has no matched 1b transformer control. [methods and limitations](/research).

## state and numerical bounds

fixed-size state means bounded working state **for a given configuration**. it does not mean unlimited retention, constant wall time across sizes, or free updates. the store's capacities, decay and rescaling bound its retained evidence; the ring and attention window have finite lengths. weights, vectors, counts, optimiser counters and clocks have implementation-specific bounding or rebasing rules described in the release text. selecting a larger configuration increases capacity and compute cost.

## sessions and sharing

current engines keep one chat per account per model (Nov 24): one recent context and one statistical store, the same from every shell and device, with shared model weights. a file is read in a fresh store of its own, in any free lane, and that store is dropped when the read ends; only the weights keep what it taught, and the account's chat receives a server line (starting `#`, which no typed line can) saying the file was read. the chat's store holds only the conversation. checkpoint and chat-store files travel according to the engine's storage protocol. older checkpoint sections describe older save layouts, not the complete current app layout.

learning is on by default for owner sessions; `/learn off` prevents network weight updates. read-only guests cannot teach without permission. separate chat contexts do not stop permitted learning from changing weights used by other people. `delete chat` drops an account's chat, store and history; it does not undo network updates already applied or autosaved. [privacy and persistence](/privacy).

## turns and skills

the 1.5.0 skill mechanism uses the existing turn and state markers to request a page, search result or sandboxed python result. 1.5.1–1.5.3 add the published sandbox, media and trace-reading refinements recorded in their release notes. `.traces.jsonl` is read as recorded turns with control markers. engine defaults and permissions govern whether skills and reading interruptions are enabled. support for these operations is not evidence of reliable autonomous tool use.

## lanes (1.6.0)

1.6.0 changes how a model is served and trained, not what it computes. a gpu can run several lanes: each active seat's chat in a lane, with its own store and recent-token context, all lanes advancing on one clock. learning ticks, store reads and updates, generation, file reads and skills are batched across lanes; the shared weights take one update per round from the lanes that learned. a single lane reproduces the single-stream runtime exactly in the release's tests. idle lanes are masked: they change no weights and no store. a store ages with its own tokens, not with the model's time. seats queue for lanes when all are in use. the number of lanes depends on gpu memory and model size (measured for soma-1b on an 80 gb h100: 24). reading interruptions (a model taking its turn while it reads) are one chat at a time in this release. training-side throughput settings (batched lanes, bf16 attention, a fused sliding-window kernel, tf32) are optional configuration and matched the previous settings' learning curve in the published 12m-token comparison; they are not a claim about longer runs.

## compatibility and exact mechanics

use the current release manifest's `checkpoint.opens` and species rules; do not infer compatibility from version ordering or the historical 1.2.1 compatibility list. historical settings are not defaults for every new model. app-created shapes can override runtime defaults, so a checkpoint's saved configuration is authoritative for that model.

the immutable release specification, manifest, locked source and file checksums linked above provide the detailed arithmetic and original release record. [research lineage](/lineage) explains why earlier models differ.
