Skip to content
View AxonOS-BCI's full-sized avatar

Block or report AxonOS-BCI

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
AxonOS-BCI/README.md

This is the founder, demo, and community surface for AxonOS. The canonical engineering source of truth is the AxonOS-org organisation. Every quantitative performance and validation claim is governed by one file — axonos-standard/CLAIMS.md — which records, for each figure, its evidence level, the artefact it is re-derived from, and the finding that would falsify it.


AxonOS is a hard real-time operating system for brain–computer interfaces — the layer between the silicon and the application, where neither Linux nor a stock RTOS can hold the jitter and latency a closed neural loop demands. Written in Rust, #![no_std], for ARM Cortex-M.

The figures below are analytical bounds, proven with Kani and derived from datasheet cycle counts — not measurements. On-hardware validation is pre-registered and publication-pending in axonos-validation; no measured number is claimed until its raw trace is published. They are encoded the same way they are enforced — in code.

#![no_std]
#![forbid(unsafe_code)]

//! AxonOS — a deterministic, hard real-time OS for brain–computer interfaces.
//! The layer between silicon and intent.

/// Deadlines are biological, not arbitrary.
pub enum Schedule {
    EarliestDeadlineFirst,
}

/// Consent is enforced at Layer 2 (Connection) — below the coupling engine —
/// so no higher cognitive layer can override a withdrawal. `Withdrawn` is terminal.
pub enum Consent {
    Granted,
    Suspended,
    Withdrawn,
}

/// The real-time contract, held on every cycle of the dual-core pipeline.
pub struct Kernel;

impl Kernel {
    // Current reference bring-up; the firmware crate boots here.
    pub const TARGET_CURRENT: &'static str = "thumbv7em-none-eabihf"; // Cortex-M4F · STM32F407
    // Documented next target for the secure Cognitive Hypervisor.
    pub const TARGET_NEXT:    &'static str = "thumbv8m.main-none-eabihf"; // Cortex-M33 + TrustZone-M · STM32H573
    pub const SCHEDULE:       Schedule     = Schedule::EarliestDeadlineFirst;
    pub const WCRT_NS:        u32          = 972_000; // L1 analytical bound (Liu–Layland EDF), inside a 4 ms deadline
    pub const JITTER_NS:      u32          = 2_100;   // σ, derived; on-hardware L2 trace publication-pending
    pub const HEAP_ON_PATH:   bool         = false;   // zero-copy DMA into a static slab arena
}

/// The kernel exposes exactly one typed, capability-gated event stream.
pub trait IntentStream {
    fn poll(&mut self) -> Option<Observation>;
    fn consent(&self) -> Consent;
}

What the kernel holds

Current target Cortex-M4F · STM32F407 · thumbv7em-none-eabihf (reference firmware boots here)
Next target Cortex-M33 + TrustZone-M (ARMv8-M) · STM32H573 · thumbv8m.main-none-eabihf
Scheduling Earliest-Deadline-First, biological deadlines
WCRT ≤ 972 µs end-to-end, inside a 4 ms deadline — L1 analytical bound (Liu–Layland EDF)
Jitter 2.1 µs σ · 6.5 µs P99.9 — derived; on-hardware trace publication-pending
Front end ADS1299 · 8-channel · 24-bit
Verification #![forbid(unsafe_code)] outside two documented, Kani-verified unsafe operations · 30 Kani BMC harnesses
Discipline #![no_std] · no heap on the critical path · zero-copy DMA

Evidence levels (L1 formally proven · L2 measured on reference hardware · L3 independently validated) and the falsifiability of each figure are defined in axonos-standard/VALIDATION.md and catalogued in CLAIMS.md. The peer-readable derivation is the Zenodo preprint — analytical, falsifiable, no measurement claims.

One stream, every language

The kernel emits a single 32-byte intent record. Every binding decodes it byte-for-byte identically — the wire format is the contract, cross-checked across Rust, Python, C, JavaScript, and Java in axonos-conformance.

use axonos_sdk::{Capability, IntentKind, IntentStream, Manifest};

let manifest = Manifest::builder()
    .app_id("org.axonos.cursor")?
    .capability(Capability::Navigation)   // kernel caps delivery at 50 Hz
    .max_rate_hz(50)
    .build()?;

let mut stream = IntentStream::connect(&manifest)?; // ABI handshake, then data flows
while let Some(obs) = stream.poll() {
    if let IntentKind::Direction(dir) = obs.kind() {
        cursor.step(dir, obs.confidence_raw());       // u16 Q0.16 — exact, never a float
    }
}

Repositories

The engineering substrate — kernel, consent, protocol, conformance, SDKs, standard — lives under AxonOS-org. This account hosts the public-facing demos and community tooling.

Repository Language What it is
neural-boundary-game Rust / WASM Canonical interactive demo. Deterministic Rust/WASM model of the AxonOS sovereignty architecture — consent, least-privilege scopes, sealed privacy vault, StimGuard — playable in-browser, byte-for-byte replayable. The demo embedded on axonos.org.
axonos-boundary-run-v64 JavaScript Latest pure-JS browser game — The Sovereign Signal. Zero-telemetry cognitive-boundary simulator with a deterministic, independently verifiable SHA-256 replay proof, re-checked in CI in both JavaScript and Python.
axonos-community-radar Python A living map of the open BCI / neurotech / real-time-Rust ecosystem, refreshed from GitHub on a schedule. Zero runtime dependencies.

Earlier game iterations — axonos-boundary-run-v9, axonos-boundary-run-v52, neural-boundary-game-play — are kept as historical references and are being archived in favour of the two demos above. Engineering is documented end to end in the AxonOS notes.


The AxonOS Project  ·  axonos.org  ·  connect@axonos.org  ·  security@axonos.org

Pinned Loading

  1. AxonOS-org/axonos-standard AxonOS-org/axonos-standard Public

    Canonical technical standard and architecture manual for AxonOS: deterministic BCI software, neural permissions, consent, validation, and governance.

    Python 2

  2. AxonOS-org/axonos-kernel AxonOS-org/axonos-kernel Public

    Hard real-time Rust microkernel for brain-computer interfaces. #![no_std] on Cortex-M, EDF scheduling with Kani-verified WCRT bounds, zero-copy intent path, capability-based privacy by construction…

    Rust 3

  3. AxonOS-org/axonos-consent AxonOS-org/axonos-consent Public

    Kernel-level consent state machine for brain–computer interfaces — no_std, zero-alloc, #![forbid(unsafe_code)], formally bounded (Kani), with optional guardian co-authorisation.

    Rust 4

  4. AxonOS-org/axonos-sdk AxonOS-org/axonos-sdk Public

    Rust SDK for building applications on AxonOS — a real-time operating system for brain-computer interfaces. Provides intent APIs, capability-based permissions, and deterministic execution.

    Rust 3

  5. neural-boundary-game neural-boundary-game Public

    Neural Boundary Game — deterministic, replay-verified Rust core with a WASM web client and CLI. An AxonOS project.

    Rust

  6. axonos-boundary-run-v52 axonos-boundary-run-v52 Public

    Playable, zero-telemetry cognitive-privacy game for AxonOS boundary semantics — with a deterministic, independently verifiable replay proof. Created by Denis Yermakou.

    JavaScript