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 / llms.txt

35 lines · 2314 bytes Raw Blame History
1# openclaw-rs
2> Ultra-high-performance sovereign agent runtime in native Rust, Mojo 1.1 SIMD kernels, and Modular MAX local inference on Grace Blackwell GB10. Replaces legacy Node.js/TypeScript runtimes with sub-millisecond execution, zero cloud token bills, and proactive autonomous heartbeats.
3
4## Overview
5- Repository: https://github.com/aien-dev/openclaw-rs
6- License: Sovereign Reciprocal Commons License (SRCL-1.0), Apache 2.0 with LLVM Exceptions and Reciprocal AI Weight Release.
7- Language: Rust 2021 + Mojo 1.1
8- Runtime: Pure native compiled binaries. Zero Node.js. Zero Python daemons.
9
10## Architecture
11- Axum Gateway: Sub-millisecond WebSockets, Server-Sent Events (SSE), and REST API on port 18096.
12- Heartbeat Engine: Proactive autonomous background tick loop (60s period). Executes digital colleague workflows without requiring human prompts.
13- Inference Engine: Direct HTTP client to Modular MAX serving local weights on port 18006 (atlas-lightning-omni on GB10). TTFT < 50ms with SSE streaming.
14- Persistence: Embedded SQLite with Write-Ahead-Logging (WAL) mode for sub-millisecond ACID history and state storage.
15- Mojo SIMD Bridge: Zero-copy C-ABI FFI linking Mojo 1.1 vector kernels for cosine similarity and attention operations.
16- Security: Hardware TPM key vault (atlas-vault). Zero disk secrets. Dynamic memory resolution and automatic secret redaction ([REDACTED_BY_ATLAS_VAULT]).
17
18## Quickstart
19```bash
20cargo build --release
21./target/release/openclaw serve --port 18096
22```
23
24## Endpoints
25- `GET /health` & `GET /api/v1/health`: Engine health, model ID, uptime, and Mojo SIMD status.
26- `POST /v1/chat/completions`: OpenAI-compatible completions with multi-turn chat and SSE token streaming.
27- `GET /v1/models`: OpenAI-compatible models listing.
28- `GET /api/v1/skills`: List registered skills.
29- `POST /api/v1/skills/execute`: Execute a registered skill.
30- `POST /api/v1/chat`: Direct inference request to local MAX.
31- `POST /api/v1/heartbeat/tick`: Force an immediate heartbeat tick.
32- `POST /api/v1/tasks` & `GET /api/v1/tasks`: Task queue creation and listing.
33- `POST /api/v1/shell`: Local shell execution.
34- `GET /events` & `GET /api/v1/events`: SSE event stream for autonomous heartbeats.
35- `GET /ws` & `GET /api/v1/ws`: Full duplex WebSocket with real-time heartbeat pulse pushes.