The open-source cognitive OS that measures, analyzes, and improves its own reasoning. Not an IDE plugin. Not an LLM wrapper. A cognitive operating system — from a bare-metal microkernel to a desktop app, one capability spine. Quick Start · Architecture · Why NeoTrix · Capability Graph · Star Map · llms.txt ✨ Quick Start From source (the only path that is green today — binaries are not published yet): Planned with…
A self-evolving cognitive OS in Rust: E8 reasoning · 4096-dim VSA memory · ntOS no_std microkernel with capability tokens · 21,280-byte INT8 reflex model · SEAL self-evolution · 12 architecture gates · 373 capability modules · 0 unsafe in core · MIT
From source (the only path that is green today — binaries are not published yet):
git clone https://github.com/neo-trixs/NeoTrix.git
cd NeoTrix
cargo build --release # workspace of 33 crates
cargo run # the `neo` CLI
Planned with the first release: a signed install script
(curl -fsSL https://neotrix.ai/install | bash), Homebrew and a Tauri desktop
installer. Until the release lands, treat those commands as roadmap, not instructions.
State at a glance (v0.30.0)
Metric
Value
Crates
33 in one workspace
Rust sources
3,440 files · ~1.4M lines
Test functions
23,329
Unsafe code
0 in neo-core; confined to thin platform-boundary crates (mmap, sysctl, FFI, bare-metal allocator)
Every existing code agent — Claude Code, Codex, OpenCode, Cursor, Aider — follows the
same pattern: send a prompt to an LLM, parse the response, apply diffs. None of them
evaluate their own reasoning quality. None of them learn from past trajectories. None
of them can boot without an operating system underneath.
NeoTrix is built on a different premise: an agent that cannot inspect and improve its
own reasoning is a tool, not an agent.
21,280-byte INT8 recurrent model, zero floats, atomic hot-swap
None
Capability inventory
373 registry nodes reconciled with code by the topology gate
Hand-written feature list
Unsafe
0 in neo-core; unsafe only in audited boundary crates
Varies
🏗 Architecture
13 capability families fold into 8 code galaxies across an L0–L6 layer stack. The
capability registry (.neo/capability_registry.json) is the single source of truth; the
topology gate (nt_capability_topology.py) fails the build if a registry node claims a
module that does not exist in the tree, or if a tracked source path has no coordinate.
Deterministic 64-state reasoning space over 6 binary axes (Abstraction, Scope, Method, Depth, Mode, Stance). An Observer classifies each step as Productive, Oscillating, Stuck or DeadEnd — no sampling.
SEAL Self-Evolution Loop
7-step current ring (Perceive → Represent → Reason → Act → Evolve → Guard → Interface) driving snapshot, gap analysis, self-edit, reward, absorb. Each mutation can promote a champion or roll back.
python3 plugins/scripts/ops/nt_capability_topology.py --check # galaxy gate
python3 tools/build_galaxy.py . galaxy.js # rebuild the map data
🔒 Verification as a feature
NeoTrix audits its own architecture, not just its tests. nt_arch_audit.py runs 12 gates:
layer-dependency direction, naming, truth-surface (claimed-but-uncompiled code), task-ledger
molt, gate-no-effect audit, decorative-symbol noise, unwired-spec ratchet, capability
liveness, CI wiring, tool entrypoints, documentation drift and crate-count adjudication.
A gate that cannot fail is treated as a bug, and every gate carries a probe proving it can.
make arch-audit # or: python3 plugins/scripts/ops/nt_arch_audit.py
make boot-gate # ntOS bare-metal boot under QEMU (CI job: ntos-boot)
cargo test --workspace # 23,329 test functions
🚀 Roadmap
ntOS on real hardware — bare-metal gate is green under QEMU; next is a physical
x86_64 target and the NFI v1 driver surface.
Reflex model v2 — learn the reflex table from real sessions instead of the shipped
21,280-byte weights, keeping the zero-float, hot-swap contract.
First public release — signed macOS/Linux binaries, install script, Homebrew, and the
Tauri desktop installer with an agent view, command catalog and live awareness panels.
Portable capability packs — export a galaxy subgraph so another agent can install one
slice of the capability spine.
评论