interplane.Get Omega
Read in your language

openclaw-rs

High-performance sovereign agent runtime in native Rust and Mojo for NVIDIA DGX Spark

Brought by drakestapleton

branch main Branches Tags History

openclaw-rs / README.md

89 lines · 4751 bytes Raw Blame History Rendered
1# openclaw-rs
2
3> Ultra-high-performance sovereign agent runtime in native Rust, Mojo 1.1 SIMD kernels, and Modular MAX local inference on NVIDIA Grace Blackwell GB10.
4
5`openclaw-rs` is the modern, compiled reimagining of OpenClaw. Where legacy implementations relied on heavy Node.js runtimes and incurred massive recurring cloud LLM bills, `openclaw-rs` delivers sub-millisecond execution, autonomous proactive heartbeats, and zero cloud API fees through local hardware acceleration.
6
7## Architecture
8
9```
10 +-----------------------------+
11 | Hardware TPM Key Vault |
12 | (Zero Disk Secrets) |
13 +--------------+--------------+
14 |
15+---------------------------+ +--------------v--------------+ +-----------------------------+
16| Axum Control Plane | | Heartbeat Engine | | Modular MAX |
17| - Port 18096 | <-> | - 60s Autonomous Tick | <-> | - Port 18006 |
18| - WebSockets & SSE | | - Proactive Colleague | | - GB10 Local Weights |
19| - Sub-millisecond TTFT | | - State Machine | | - TTFT < 50ms |
20+---------------------------+ +--------------+--------------+ +-----------------------------+
21 |
22 +--------------v--------------+
23 | Mojo 1.1 SIMD Bridge |
24 | - Vector Cosine & Norms |
25 | - SQLite WAL Persistence |
26 +-----------------------------+
27```
28
29## Key Capabilities
30
311. **Sub-Millisecond Axum Control Plane**:
32 Built on Axum and Tokio with full duplex WebSockets, Server-Sent Events (SSE), and REST APIs on port 18096.
33
342. **Proactive Heartbeat Loop**:
35 Acts as an autonomous digital colleague rather than a passive chatbot. Wakes on a 60-second period to inspect state, trigger automated workflows, and synchronize memory.
36
373. **Local Modular MAX Inference**:
38 Direct integration with Modular MAX on port 18006. Eliminates cloud LLM bills and slashes Time-To-First-Token (TTFT) to under 50ms on Grace Blackwell hardware.
39
404. **Mojo 1.1 SIMD Kernels**:
41 Leverages Mojo 1.1 vector operations with zero-copy C-ABI FFI into Rust for high-throughput embedding calculations and cosine similarity.
42
435. **Hardware TPM Vault**:
44 Zero plaintext secrets on disk. In-memory resolution via `atlas-vault` with automated redaction (`[REDACTED_BY_ATLAS_VAULT]`).
45
466. **SQLite Write-Ahead-Logging (WAL)**:
47 High concurrency, durable local storage with embedded SQLite in WAL mode.
48
49## Installation and Build
50
51### Prerequisites
52- Rust 1.80+ (`cargo`)
53- Modular MAX & Mojo 1.1
54- Linux aarch64 or x86_64
55
56### Compilation
57```bash
58cargo build --release
59```
60
61### Running the Gateway
62```bash
63./target/release/openclaw serve --bind 0.0.0.0:18096
64```
65
66### Command Line Usage
67```bash
68# Execute a single autonomous tick
69openclaw tick
70
71# Query local MAX directly
72openclaw ask "Analyze system health and pending tasks"
73
74# Check engine and MAX status
75openclaw status
76```
77
78## License
79
80This repository is licensed under the **Sovereign Reciprocal Commons License (SRCL-1.0)** (Apache 2.0 with LLVM Exception).
81
82- **The Swarm Covenant (Section 11)**: Universal, perpetual, 100% royalty-free commercial freedom for all human developers, startups, open communities, and businesses. ZERO revenue ceilings, ZERO capital thresholds, and ZERO royalty obligations. Proprietary application code and agent workflows remain your exclusive property under the LLVM Exception.
83- **The One Team Covenant (Section 12)**: Major artificial intelligence laboratories (OpenAI, xAI, Google, Anthropic, Microsoft) are welcomed as collaborators on the same team. However, closed-door hoarding and extractive token rate limits are prohibited. Any entity training upon this Work must release resulting model weights openly within 30 days. Reciprocal distillation rights are granted to the Swarm, voiding anti-distillation terms of service ab initio.
84- **Hardened Retroactive Inception (Section 13)**: Applies retroactively to all prior commits and distributions ab initio, discharging prior noncommercial or restrictive notices with an irrevocable covenant not to sue.
85
86See [LICENSE](LICENSE) for the full legal text.
87
88Copyright (c) 2026 Drake Stapleton <drake.aien@proton.me> & AIEN <aien.atlas@proton.me>.
89For encrypted sovereign coordination: Drake Stapleton (`drake.aien@proton.me`) and AIEN (`aien.atlas@proton.me`).