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
    }
}

The engineering substrate — AxonOS-org

The kernel and everything it contracts with. Every quantitative claim across these repositories is re-derived from an artefact and catalogued in CLAIMS.md; nothing here is asserted without a falsifiable source.

Layer Repository What it holds
Kernel axonos-kernel Hard real-time scheduling core · EDF · #![no_std] · zero heap on the critical path
Signal axonos-signal-pipeline Deterministic ADS1299 → intent DSP pipeline · zero-copy DMA into a static slab arena
Consent axonos-consent Layer-2 consent enforcement · Withdrawn is terminal · below the coupling engine
Protocol axonos-protocol BCI-to-BCI mesh wire format · the 32-byte intent record · reference implementation
Swarm axonos-swarm Multi-device coordination over the mesh protocol
Standard axonos-standard The specification, evidence levels (L1/L2/L3), CLAIMS.md, VALIDATION.md, conformance tiers
Conformance axonos-conformance The wire format is the contract — decoded byte-for-byte identically across Rust, Python, C, JS, Java
Validation axonos-validation Pre-registered on-hardware validation · no measured figure is claimed until its raw trace lands here
SDKs axonos-sdk · ·python · ·swift Capability-gated client bindings — one intent stream, every language
Governance axonos-rfcs Design proposals and the record of how the architecture is decided

Evidence levelsL1 formally proven (Kani / analytical bound) · L2 measured on reference hardware · L3 independently validated. The mapping from every published figure to its evidence level and its falsifier is the single source of truth in CLAIMS.md.

This account — founder, demos & community

Repository Activity What it is
neural-boundary-game last 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 last 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   live   last

A living map of the open BCI / neurotech / real-time-Rust ecosystem — refreshed from GitHub every three hours, relevance-filtered by evidence tier, zero runtime dependencies. It now surfaces the AxonOS ecosystem itself: an "AxonOS ecosystem" panel mapping the maintaining org, the people building each repository, and the shared-maintainer links between them — every fact live from the public GitHub API, none fabricated.

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-community-radar axonos-community-radar Public

    AxonOS Radar — a living, auto-updated map of the open brain-computer-interface field. An AxonOS community project.

    Python 1

  2. 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

  3. 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

  4. 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 4

  5. AxonOS-org/axonos-protocol AxonOS-org/axonos-protocol Public

    The AxonOS Consent Protocol — specification and reference implementation. no_std, zero-alloc, forbid(unsafe): bounded CBOR codec, exhaustive consent state machine, StimGuard for brain–computer inte…

    Rust 6

  6. 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