LOOM: Universal Bit-Perfect Deterministic AI Engine

"The SQLite of AI" β A Polyglot Neural Engine with Bit-Exact Reproducibility
Loom is a Deterministic Neural Virtual Machine (DNVM) engineered for absolute numerical consistency and extreme efficiency. It guarantees bitwise-identical results across all platforms, backends, and language bindings, bypassing memory bandwidth bottlenecks through polymorphic dispatch and volumetric 3D modeling.

π The Polyglot Solution
Loom is designed as a universal runtime that prioritizes portability and sovereignty:
- True "Copy-Paste" Portability: Models are language-agnostic. Move weights and logic between Go, Python, C#, and WASM without translation layers.
- Write Once, Run Everywhere: A standardized format that performs identically on Browser (WASM/WebGPU), Mobile (iOS/Android), and Desktop (Linux/Windows/macOS).
- Universal Import: Direct ingestion from major frameworksβzero vendor lock-in.
- Active Edge Training: Full backpropagation enabled on-device. No "frozen brains"; Loom learns from user interaction at the edge.
- Sovereign & Private: Zero cloud dependencies. User data and model execution remain 100% local.
π The Bedrock Philosophy
Loom is a "Bedrock Edition" neural engine. Unlike standard frameworks that build on top of high-level abstractions, Loom is designed at the bit-level to bypass the physical memory limitations of consumer hardware.
- Cross-Platform Determinism: 0.0000000000 difference between CPU and GPU, x86 and ARM, native and browser.
- Universal Precision: Native support for 21 numerical types (FP64 to 1-bit Binary), allowing Loom to "morph" precision to match specific silicon preferences.
- Bit-Perfect Identity: Verified across hundreds of permutations with 0.000000% mathematical divergence.
The project has transitioned to the Multi-numerical POLYmorphic Volumetric Tiled-tensor Dispatcher (M-POLY-VTD) core.
- Systolic Neural Mesh: A living mesh architecture with clock-cycle accurate updates and temporal feedback loops that simulate biological neural firing.
- DNA Engine: A hierarchical spatial correlation system that extracts topological "signatures" of models, enabling high-fidelity comparison and "Logic Shift" detection in 3D space.
- Neural Target Propagation (TargetProp): A robust alternative to backpropagation that uses localized, gap-based Hebbian learning to bridge the difference beTargetProp actual and idealized activations.
- Bit-Packed Persistence: An idempotent serialization tunnel that achieves up to 98.4% compression, allowing extreme model sizes to fit in consumer RAM/VRAM.
π Project Structure
poly/: The current-generation engine core (M-POLY-VTD). This is where active development happens.
legacy/: Historical codebase and previous iterations of Loom.
π οΈ Getting Started
For technical deep-dives into M-POLY-VTD, refer to the documentation and benchmarks within the poly/ core.
Loom provides bit-exact reproducibility across:
- Go (Native)
- TypeScript/Node.js (@openfluke/welvet)
- Browser (WASM + WebGPU)
- Python (
pip install welvet)
- C#/.NET (Welvet) - (In Development)
π Versioning & Roadmap
Loom uses a mathematical versioning system derived from a strictly verified checklist of 130 industry-scale features.
Current Version: 0.74.0 β Complete
- Completion Ratio: 74.6% (97 / 130 features verified β Polyglot Bridge Complete)
- Status: 0.74.0 "Polyglot Bridge" is fully shipped. The full polyglot runtime is now live across Go, TypeScript/Node.js, Browser (WASM/WebGPU), Python (
welvet), C#, Java, and Dart. FP4 acceleration is native on both CPU and GPU.
-
[!NOTE]
-
GPU Backward Training: Full end-to-end GPU training is live. Dense, RMSNorm, CNN 1D/2D/3D all run forward + backward + weight updates in a single GPU command buffer submission via the BeginFrame/FlushFrame pattern. Measured speedups on real workloads: 17xβ65x vs CPU.
- Milestone achieved:
- v0.74.0 "Polyglot Bridge" β
β TypeScript/WASM verified, Python
welvet published to PyPI, 0.000000% divergence across all bindings.
- Next Target β v0.8.0 "Edge-First": Wiring SwiGLU/MHA/Embedding into
DispatchBackwardLayer; specialized Edge-First orchestration (Thermal-Awareness, UMA, Command Buffer Graphing) for mobile and wearable deployment.
- Next Steps: SwiGLU/MHA GPU backward wiring; Edge-First hardware scheduling.
For a detailed breakdown of the roadmap and version calculation, see poly/README.md.
License
Apache License 2.0 - see LICENSE file for details.
Loom: Universal precision. Volumetric freedom. Bedrock performance.
Made with β€οΈ by Openfluke