Skip to content
Miloš Vasić

// tier: helix-primary · order 14

HelixCluster in-developmentlicense: TBD

Go (1.25 / toolchain 1.26.4)Zig + C/C++gRPC + Protocol BuffersRaft (etcd-raft) + SWIM gossipPostgreSQL 16 / Redis 7 / etcd v3.5 / SQLiteNATS / Kafka / RabbitMQWireGuard + ML-KEM-768/X25519 + AEADSPIFFE + JWT + OPAPrometheus / Grafana / JaegerHashiCorp VaultKubernetes + HelmReact + TypeScript + ViteTLA+

Source

HelixCluster — seven-layer stack 14 control-plane microservices heterogeneous nodes T1–T8 Node tiers T1 (datacenter GPU) → T8 (handheld), unified under one control plane L7 · Federation & Observability L6 · Security & Attestation (SPIFFE, PQ-E2EE) L5 · Sessions & Interactive Terminal L4 · AI Inference Routing L3 · Omega Scheduler (two-level) L2 · Consensus & Membership (Raft + SWIM) L1 · Node Runtime & Transport (gRPC, WireGuard) L0 · Hardware Substrate (GPU → edge SBC)
// architecture

A distributed operating system for AI compute — from datacenter GPUs to edge handhelds, under one control plane.

A Go-based distributed OS / GPU-sharing compute cluster. It unifies HPC scheduling (an Omega-model two-level scheduler), container orchestration, AI inference routing, federation, and secure multi-tenant sessions across heterogeneous nodes, coordinated by SWIM gossip and Raft consensus, with post-quantum end-to-end encryption.

Helix Cluster OS is a next-generation distributed operating system that orchestrates compute across heterogeneous nodes — from datacenter GPUs down to edge SBCs and handhelds — unifying HPC scheduling, container orchestration, AI/ML inference, federated multi-cluster operation, and secure multi-tenant sessions under a single control plane.

Helix Cluster OS orchestrates compute workloads across radically heterogeneous hardware — datacenter GPUs, edge single-board computers, even handhelds — under one control plane, treating a rack of A100s and a fistful of SBCs as one addressable fabric instead of a dozen incompatible islands. It is a Go workspace (a monorepo plus git submodules) implementing a seven-layer stack, from the L0 hardware substrate up through L7 federation and observability, coordinated by fourteen control-plane microservices. Node membership is tracked with SWIM gossip and discovery so the fabric self-heals as nodes join and leave; strongly-consistent state rides on Raft consensus, organised as per-shard Raft groups with leaseholder-local reads for speed and STONITH fencing to guarantee a partitioned node can't corrupt shared state. Workload placement runs through an Omega-model two-level scheduler — optimistic concurrency, ClassAd matching, gang scheduling, value-multiplier preemption, and constraint-based placement — then goes further than a classic HPC scheduler ever did: carbon-aware and cost/TCO-aware routing, burst-to-cloud autoscaling, and marketplace adapters (Akash, io.net, RunPod, AWS Spot, Chutes) that let a job spill onto rented capacity when local supply runs dry.

End users don't see any of that machinery directly; they interact through a clean session model (compute allocations), an interactive WebSocket/PTY terminal, an internal AI-inference route, and pool-utilization reads. Security is a first-class layer rather than a bolt-on: SPIFFE identity, device attestation (challenge/response, proof-of-GPU-work, sealing), an export-control KYC gate, and a post-quantum end-to-end-encrypted transport built on an X25519 + ML-KEM-768 hybrid key exchange with AEAD record protection and replay rejection — engineered so today's captured traffic stays confidential even against tomorrow's quantum adversary. Correctness is not asserted, it is *demonstrated*: deterministic simulation testing (FoundationDB-style seeded runs, fault injection, network simulation, byte-for-byte replay, and a Porcupine linearizability checker) reproduces distributed failures on demand, and mandatory paired mutation testing proves the guard tests actually bite. Architecture and docs are kept honest by mechanical lints that fail the build the moment reality and documentation drift apart.

The itch we had to scratch

To run AI and HPC workloads across wildly different hardware tiers without stitching together separate schedulers, orchestrators, and inference stacks — and to do it with an engineering guarantee that every shipped feature proves *real end-user behaviour* (never green tests over stubs) and every OS-specific capability uses a real native facility per platform (no Linux-only mocks). The motivating problem, quoted in the repo's governance, is the "tests pass but the feature doesn't actually work" failure mode, which the project is explicitly built to eliminate.

Why it matters

It collapses five things that are normally five separate stacks — HPC scheduling, container orchestration, AI inference, multi-cluster federation, and secure multi-tenant sessions — into a single control plane that stretches from datacenter GPUs all the way down to edge handhelds. And it does so with a rigor budget usually reserved for specialised infrastructure: formal-methods-grade correctness (TLA+ specs, deterministic simulation, linearizability checking) and post-quantum confidential transport, the kind of guarantees most orchestrators simply don't attempt. On top of the technical differentiation, cost- and carbon-aware placement plus cloud-marketplace burst make it an *economic* lever too — the scheduler can chase cheaper, greener, or spare capacity automatically, so the same workload costs less and emits less without anyone rewriting a job.

Ideas worth stealing

Where it got hard, and how we won

The engineering stack

No-spin status

Priority tier: Helix-primary (LLM-infrastructure cluster — the compute substrate that can host inference and compute workloads). Ranks after HelixTrack.