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
Silicon boundary axonos-hal The contract with hardware · a timing budget that refuses a configuration whose deadline the measured chain cannot meet
Privacy axonos-vault Raw samples are unreachable by construction · only bounded, purpose-bound, budgeted reductions leave, and each is recorded
Posture axonos-supervisor The right to act is withdrawn on signal quality; the right to record never is
Integration axonos-stack The three above running as one session from a seed, with a byte-exact transcript diffed in CI
Scoring axonos-brs The relevance score behind the radar · integer arithmetic so a browser can recompute what the scanner published
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.

Doubt it in ninety seconds

The fastest way to judge any of this is not to read it.

# the whole chain from a seed: electrode -> privacy vault -> the right to act
git clone https://github.com/AxonOS-org/axonos-stack && cd axonos-stack
cargo run --locked --bin session -- --seed 7 --frames 3000 | diff - reference/session-7.txt

Silence means it reproduced byte for byte on your machine. The session is not a happy path: an electrode lifts at 4.8 s and the transcript records the system withdrawing the right to actuate 96 ms later, while continuing to record — because the moments a device stops trusting itself are the ones a clinician needs afterwards. Its last line is an accounting identity, delivered + lost = produced, and if it ever fails one of the three components is lying about what it saw.

Then check who wrote the automated commits on the live map, and whether GitHub signed them:

gh api repos/AxonOS-BCI/axonos-community-radar/commits \
  --jq '.[0:10][] | "\(.commit.verification.verified)  \(.author.login)"'

That one is here because it recently read false. The scanner published through a personal token, and GitHub signs API-created commits only for app identities — so the public map's history was unsigned for six weeks. The fix was to stop the token writing at all: the scanner now hands the payload over as a release asset, which creates no commit, and this repository's own workflow commits it with the identity that is signed. The command stays in this README because a claim that was wrong once is worth leaving checkable.

This account — founder, demos & community

The other half of one organism: AxonOS-org holds the law and the running core; this account holds its senses — the community radar, a living, scored map of the whole open-BCI field — and its skin, the playable demos below. The full anatomy →

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.


💛 Support the ecosystem

Everything above — the radar, the games, the OS — is free and open: no paywalls, no ads, no tracking, no tokens. If this work is useful to you, a voluntary Dogecoin tip is the direct way to fuel it. One ecosystem, one address:

Support page  ·  DMwHAhqVNWf7dyEznukxCufNS5rjuP5MTp  ·  verify on-chain

Contributions are voluntary — not purchases, not investments, no product entitlement. Commercial licensing is a separate written-agreement channel (fiat default): connect@axonos.org. Full terms: CRYPTO_PAYMENT_TERMS.md.


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.

    HTML 3

  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