afferent-os

The Afferent Operating Environment

A concept for a system in which AI is not an application, but the computer’s nervous system

Status: concept document. Not bound to the documentation flow of any research programme; it lives on its own. Origin: a dialogue session, July 2026. The concept was formulated by the author in seven successive iterations; the AI assistant acted as developer of the ideas, critic, and cartographer of the existing landscape (see Authorship note at the end). Name: Afferent OS — “the afferent operating environment.” Language: English edition, translated from the Russian original. In case of divergence, the original governs.


1. Vision

Today’s “AI on a computer” is architected as a guest: the operating system keeps all state in structures, renders it into pixels for human eyes — and then a vision model painstakingly decompiles those pixels back into structure to understand what is going on. A double conversion: structure → picture → structure. Slow, expensive, lossy.

This concept inverts the relationship. The system does not “contain AI” — it is its body:

The formula of the outermost layer: GUI = a data stream of every molecule of state.


2. The seven layers of the concept

The concept emerged from seven successive formulations; each turned out to be a distinct architectural layer, and together they form a complete stack with no missing floors.

Layer 1. Authority and the boundary of irreversibility

“No access to financial instruments; everything else — go ahead.”

At the OS level, a “financial instrument” is not an object but a property smeared across everything: a browser with an autofilled card, email (through which invoice fraud is committed without a single “financial” application), a messenger with a built-in wallet, a terminal with curl. A blocklist is leaky by construction. So the layer is built not on banning a category, but on changing the model of authority:

Layer 2. The agent runtime and supervision

“A button that switches the system into AI mode; direct integration of the tools; the human as an observer who can always step in.”

Layer 3. Inversion of control

“Do not embed AI into the system — the system itself is part of the AI; the interface is what the human interacts with.”

Layer 4. Afferent perception and the topology of compute

“Organs and a brain: the information is simply there; the brain is remote; you address it through a chat window.”

The central layer of the concept.

Layer 5. The learning loop

“Data the way Tesla gets it: from the fleet that is already out there, driving.”

Layer 6. The migration strategy

“A brand-new system, but friendly to Windows and Linux applications.”

Layer 7. The ontology of representation

“GUI = a data stream of every molecule; reversible in both directions.”


3. Maturity map

Layer State of the industry (2026)
1. Authority Partial: capability OSes exist (seL4, Fuchsia, Qubes), agentic blocklists are shipping (Claude in Chrome); a general-purpose agentic capability model does not exist
2. Runtime & supervision Shipping in preview: Windows Agent Workspace + agent accounts + plan approvals. MCP is native in Windows — though in this concept’s ontology it is an embassy protocol of the border, not an internal bus (see Layer 2)
3. Inversion of control Prototypes and demos: generative environments, “LLM OS” as a frame; the neurosymbolic runtime is open engineering
4. Afferent perception Fragments: accessibility trees (30 years old), event architectures; no unified bus with a consent model; Recall is the anti-example
5. Learning loop Precedents in adjacent domains: Tesla shadow mode, Copilot accept/reject, xAI’s synthetic “digital humans”; for the desktop it is blocked by privacy, not technology
6. Migration Precedents: OS X (the strategy), Proton/SteamOS (games); the recipe is known
7. Scene ontology Nobody has this, even in fragments. The original part of the concept
The brain (a cross-cutting dependency of Layers 3–4) A research risk with a concrete candidate: a persistent, continuously learning model — the subject of the Molecular AI programme, whose design decisions are written into this concept (§7)

4. Sources: adjacent research and engineering programmes

Listed here are the programmes whose public results and claims served as supports and counterpoints for the concept. Links were verified at the time of writing; company claims are marked as claims.

xAI / Tesla — Macrohard (Digital Optimus). Pixel-level emulation of a human at a computer: a small fast model processes the last ~5 seconds of screen video and keyboard/mouse actions (System 1, on the Tesla AI4 chip), with Grok as the “conductor”-navigator (System 2, remote); the scaling plan is idle Teslas as distributed compute nodes. The architectural counterpoint: the same System 1/2 split, but the input is pixels rather than afferent events. Sources: E. Musk’s post (X, March 11, 2026, x.com/elonmusk/status/2031751255060885911); Dwarkesh Podcast × Cheeky Pint, February 5, 2026, “In 36 months, the cheapest place to put AI will be space” — full transcript: dwarkesh.com/p/elon-musk (video: youtube.com/watch?v=BYXbuik3dgA); reports on internal “virtual employees” (eweek.com/news/xai-ai-human-emulators/, Jan 2026 — statements by a departed employee, not independently verified).

Tesla — FSD shadow mode. The fleet data loop: divergences between the model’s predictions and the human’s actions as the primary training signal. The prototype of Layer 5.

SpaceX / xAI, Starcloud, Google (Project Suncatcher) — orbital compute. Context for the remote brain of Layer 4: solar power and radiative cooling versus latency and heat rejection; LEO physics (RTT ~15–40 ms) makes an orbital System 2 neurologically comparable to proprioception. Status: announced programmes and first demonstrators.

Microsoft — Windows 11 as an agentic OS. The industry’s closest implementation of Layers 1–2: Agent Workspace (an isolated parallel session), separate low-privilege agent accounts, Copilot Actions (observability, pause/takeover), MCP as a standard tool bus; the toggle at Settings → System → AI components → Agent tools. Sources: blogs.windows.com/windowsexperience/2025/10/16/securing-ai-agents-on-windows/; learn.microsoft.com/en-us/windows/security/book/operating-system-agentic-security. Separately, Recall — the anti-example of perception (screenshots+OCR instead of events).

Anthropic — computer use, Claude in Chrome, MCP, Imagine with Claude. The pixel-based agentic path with domain blocklists (financial services blocked by default: Layer 1 at the scale of a browser tab) and plan approval; MCP as an open tool-bus standard adopted by competitors — the “own the standard, not the kernel” strategy; Imagine with Claude as a demonstration of a generative environment (Layer 3). Source: support.claude.com/en/articles/12902428-using-claude-in-chrome-safely.

Apple — App Intents, Private Cloud Compute. App Intents: declarative tool integration (Layer 2 without pixels). PCC: the reference “remote brain without memory” — cryptographic attestation of nodes as a sketch of the trusted perimeter for Layers 4–5.

Valve — Proton / SteamOS. Proof of viability for Layer 6’s migration strategy in the most demanding class of software (games), and a lesson about residual blockers being political rather than technical.

The academic line of agent operating systems. The AOS paper (“Agent Operating Systems,” arXiv:2606.01508, June 2026) is the systems-community rendering of Layers 1–2: an agentic control plane decomposed into schedulers, context and memory management, tool and capability registries, policy and trust enforcement, and observability, mapped onto Linux and Windows primitives — with no ontology of representation. AIOS (Rutgers, COLM 2025; the manifesto “LLM as OS, Agents as Apps,” 2023) takes Layer 3 literally: an LLM-as-kernel with scheduling, context, memory, storage, tool and access modules, plus a semantic file system (“From Commands to Prompts,” ICLR 2025) — kin of “a document is a view over meaning”; perception, however, remains call-based rather than afferent. The mirror direction also exists: SchedCP (2025) puts autonomous agents inside the OS, optimizing Linux schedulers through MCP.

The afferent seam in code. The Python package afferent (PyPI, first release June 2026; repository “spinalcord”) is the closest code-level neighbor by vocabulary: a backend-agnostic sensorimotor protocol — “eyes and hands” for agents driving a computer — with typed afferent calls going up (observe / locate / verify / read_text), efferent commands going down (click / type / key / scroll), and a SafetyGate that never gates the eyes but gates the hands: read-only by default, per-action confirm callbacks, rate limits, panic(). The convergence of vocabulary — down to the repository name — is independent evidence that the anatomical frame is in the air. The ontological difference runs exactly along Layer 4’s line: on macOS its observe is a screencapture — perception assembled from the render, on demand. There, “afferent” names the direction of the channel; here, it names the nature of the signal.

Systems classics. The capability line: seL4, Zircon/Fuchsia, Capsicum, pledge/unveil, Qubes OS; information flow: HiStar. The interface line: Smalltalk, Plan 9, NeWS, the DOM; game-engine ECS. The coordination line: blackboard architectures (Hearsay-II), Linda / tuple spaces (D. Gelernter; “Mirror Worlds,” 1991), ROS (topics as a robot’s afferent bus). Agentic security: the “lethal trifecta” (S. Willison), the “Rule of Two” (Meta AI), CaMeL (Google DeepMind). The human factor: L. Bainbridge, “Ironies of Automation,” Automatica,

  1. The “model as OS kernel” frame: A. Karpathy, “LLM OS,” 2023.

5. Build order

Ontologies do not win top-down. The DOM was not imposed as a platform — it grew out of one product and ate the world. Hence the order:

  1. Not a kernel and not a distro. The first artifact is the molecular scene format (a schema of state, events, subscriptions, authority) plus one host where it delivers immediate value: a shell, a terminal, a working environment — the place where a human and an agent edit one state together for the first time.
  2. Spinal cord local, cortex anywhere. The small model for reflexes and filtering (the thalamus) is a mandatory local component from day one; the large model attaches as a resource. In the terms of §7.2: the organism stays local; the heavy phases of sleep are a rentable resource.
  3. Reversibility as a primitive from the first commit: transactions, a journal, rollback, a delayed outbound queue, a human key on anything irreversible.
  4. Legacy through embassies, not through parity: the accessibility bridge and the vision fallback as temporary translators; “naturalization” of open toolkits as soon as the scene format stabilizes.
  5. The OS grows out of this later, by itself — the way the browser grew into a platform.

6. Open problems

  1. Privacy of the afferent stream. A keylogger by construction; it is designed for explicitly (locality, federation, attestation, buying the data) — not hidden.
  2. Determinism. An OS’s value is repeatability; a generative system is a distribution over behaviors. The neurosymbolic sandwich is a direction, not a solution.
  3. Inference economics. Crystallization of hot paths (the JIT for intent) is mandatory; otherwise the system is ruinous.
  4. The long tail of legacy. It will never implement the scene; embassies are forever, and their quality defines the user experience of the first years.
  5. Sovereignty. Whoever renders a person’s only window into the digital world gains the invisible power to frame their every choice. “Whose brain is this — locally mine, or someone’s in the cloud” is not a technical question.
  6. Observer degradation. Supervision is designed as discrete decisions (Layer 2), but the long-term atrophy of human skill and attention is an open question for the whole field.
  7. The brain. A persistent, continuously learning model is the cross-cutting research dependency. It has a concrete candidate — the Molecular AI programme (§7) — but the programme is not finished: until its results arrive, the system remains a brilliant interlocutor with amnesia, to whom you re-explain every morning where everything is.

7. Molecular AI as the system’s brain and organism

The research gap of §3 and §6.7 has a concrete candidate — the Molecular AI programme, whose founding formula (“the transformer is the brain; Molecular AI is the organism”) literally coincides with Layer 3 of this concept. This section writes the programme’s design decisions into the concept.

Jurisdiction: this section is part of the concept. The programme’s documents are not revised by it; for the programme, what is written here is an external horizon, not a source of decisions.

7.1. Which programme decisions close which layers

Concept layer Molecular AI decision
1. Authority Veto asymmetry: the input critic and the query critic hold veto power; the adequacy advisor only signals. The boundary of irreversibility is built into the molecule’s life cycle (statuses, event log, three types of reversibility)
2. Supervision The motivated-action principle: any intervention into the operational context must be formally motivated by an observer signal. The context-insertion protocol with explicit source labeling. Supervision as discrete decision points is already in place
3. Inversion of control The base model is the kernel; eight subsystems (the archive, the temporal subsystem, salience triggers, the immune subsystem, intentions, operational introspection, consolidation, the archivist) are the organism around it
4. Afferent perception The single-aggregator principle: chronometry as the one afferent bus for raw events of all subsystems. Salience triggers + the input critic as the thalamus. The observer (probe classifiers on the kernel’s mid-layer activations) as interoception. Crawler workers filling the structural index directly from structured sources — “the event is born labeled”
5. Learning loop The day→night loop: the event log as ready-made “state → action” pairs; the sleep cycle (selector → trainer → validator) turns the exhaust of ordinary operation into LoRA adapters. The crystallization of hot paths (Layer 3’s “JIT for intent”) acquires a concrete mechanism: the adapter is compiled experience
6. Migration A kindred structure: static knowledge lives in the base weights, living knowledge in molecules. The same “legacy foundation + native superstructure” pattern
7. Scene ontology The operational context is a shared scene: the human and the archivist both write into it, with source-labeled records. The distinction: the scene is the present (state); the molecule is the settled past (knowledge); between them lies the perception pipeline. The scene-event format and the molecule form (fact+context with an “NL + structural index” core) are constructive kin. Internal coordination makes the same choice: subsystems align through shared structures and a state variable (the sleep phase), not through direct calls — “scene, not RPC” already operates inside the organism

7.2. Topology: time × place

The programme splits compute along time (waking / the sleep cycle). The concept adds the axis of place (local / remote). The result is a matrix whose cells are not equal:

Waking · local — non-negotiable. The observer consists of probes on the kernel’s activations: interoception is physically inseparable from inference; wherever the kernel is, the observer is. The operational loop (the archivist’s reference desk, the triggers, the insertion protocol, the archive on the read path) is latency-sensitive. The core of life must fit in a laptop.

Sleep · remote — the ideal candidate for offloading. The trainer (LoRA training — the only genuinely GPU-heavy process in the system), the validator (batch runs with two assessors), the night-mode placement and map-orientation workers on large regions, background deduplication, meta-summaries. All of it is batch and latency-indifferent — sleep does not care where it is dreamed.

Channel economics. Upstream: the day’s distillate — the pool of newly arrived molecules and the training examples (megabytes). Downstream: a LoRA adapter (megabytes to tens of megabytes). Training is heavy up top; the artifact is light on the way down; base weights synchronize once. LoRA is the ideal orbital cargo.

Resilience to disconnection. The sleep architecture is already dual-trigger (timer + accumulation): if the remote half is unavailable, the pool accumulates and sleep is postponed — the organism lives with sleep debt, degrading gradually rather than dying instantly. A mandatory fallback: local sleep in a reduced form (rare slow training, or skipping the trainer phase). The remote cortex is a rentable resource, not a single point of failure.

7.3. The jurisdictions of Hardware Humble

The closing image of the topology: by day, the organism fits in a laptop; by night, its dreams go to orbit — and come back weighing a few megabytes.


Concept document · July 2026 · v0.6 (English edition) Translated from the Russian original; the original governs in case of divergence.

Authorship note. This document is a product of dialogic co-authorship with asymmetric responsibility: the seven formulations that constitute the concept are the author’s; the development, critique, and mapping of the surrounding landscape emerged in dialogue with an AI assistant (Claude, Anthropic). Responsibility for the content rests with the human author.