COOLJAPAN
← All posts

MielinOS 0.1.0-rc.1 — A Preview of a Microkernel OS for Distributed AI Agents

MielinOS 0.1.0-rc.1 Oligodendrocyte is the first release candidate of a pure-Rust microkernel operating system for distributed AI agents: a Kademlia DHT mesh over QUIC, SWIM-style gossip, live agent migration, WebAssembly sandboxing, and SIMD tensor ops. 155,178 lines of Rust, 3,255 passing tests, zero clippy warnings.

release-candidate mielin rust operating-system microkernel distributed-systems wasm ai-agents

What would an operating system look like if it were designed for AI agents that need to migrate, gossip, and run across a mesh of heterogeneous machines? MielinOS is our answer — and today the first release candidate is here to try.

Today we released MielinOS 0.1.0-rc.1 “Oligodendrocyte” — the first release candidate of a microkernel-based operating system for distributed AI agents, built in Rust. This is a preview, not a finished 1.0: the core is complete and tested, the API is settling, and we are putting it in front of people before we stamp it stable.

MielinOS is, precisely, a microkernel operating system with a neural-mesh networking layer. It is named after the myelin sheath — the structure that lets neural signals jump quickly between nodes — because that is the shape of the system: a minimal trusted kernel underneath, and above it a peer-to-peer mesh over which agents discover each other, communicate, and migrate. It is meant to run the same way across Arm, RISC-V, x86, and embedded targets.

The whole stack is Rust. The kernel, the hardware abstraction layer, the mesh, the WebAssembly runtime, and the tensor kernels are written in safe-by-default Rust and compile down with no garbage collector and no managed runtime. Binary serialization across the mesh goes through OxiCode, the pure-Rust serialization crate from the COOLJAPAN ecosystem, rather than a hand-rolled wire format.

Why this release candidate matters

An RC is an invitation: the foundation is laid, and we want it exercised before it freezes. At rc.1, MielinOS already stands up the full mesh-networking and agent-migration story:

Technical Deep Dive: the layered architecture

MielinOS is a workspace of specialized crates stacked from hardware up to agents:

Each layer is independently usable: you can depend on mielin-hal for hardware abstraction alone, or mielin-tensor for the SIMD kernels, without pulling in the kernel.

Getting Started

Because this is a release candidate, the most useful way in is from source — clone and run the bundled examples. Add MielinOS to a project with the RC version:

[dependencies]
mielin = "0.1.0-rc.1"

A first program — detect the hardware, mint an agent ID, touch the tensor layer:

use mielin::prelude::*;

fn main() {
    // Detect hardware capabilities
    let arch = detect_architecture();
    println!("Running on: {:?}", arch);

    // Create an agent identity
    let agent_id = AgentId::new();
    println!("Agent ID: {}", agent_id);

    // Tensor operations dispatch to the best available SIMD
    let tensor = Tensor::zeros(&[2, 3]);
    println!("Tensor shape: {:?}", tensor.shape());
}

Bring up a mesh node from the CLI:

# Start a mesh node
cargo run -p mielin-cli -- mesh start --bind 0.0.0.0:9000

# Join an existing cluster
cargo run -p mielin-cli -- mesh join 192.168.1.100:9000

The repository ships an examples/mesh-cluster (a 3-node QUIC cluster with Edge / Relay / Core roles and live migration) and an examples/embedded-iot (a simulated sensor node that migrates when its battery runs low) — both are the fastest way to see the system move.

What’s inside rc.1

Tips

This is the foundation

MielinOS is built on the pure-Rust philosophy that runs through the COOLJAPAN ecosystem — the same world as OxiBLAS and OxiCode (whose serialization MielinOS uses on the wire), the OxiArc / OxiFFT / OxiZ utilities, and the scientific-computing stack around SciRS2. An operating system designed for distributed AI agents is an ambitious thing to build, and a release candidate is exactly where it should meet real users. Try it, break it, and tell us what an OS for agents should be before we call it stable.

Repository: https://github.com/cool-japan/mielin

Star the repo if a pure-Rust microkernel OS for distributed AI agents is the kind of future you want to help shape. The mesh is up — come kick the tires before 1.0.

KitaSan at COOLJAPAN OÜ January 18, 2026

↑ Back to all posts