# Repository Briefing: ruvnet/RuView
> Source: https://repoforai.com/repo/ruvnet/RuView (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/ruvnet/RuView
- **Official Docs / Website**: https://cognitum.one
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Rust
- **License**: MIT
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 23/25 · Releases 17/20 · License 20/20)
- **Latest Release**: ruview-harness-v0.9.2 (2026-10-12) — https://github.com/ruvnet/RuView/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: MCP, Docker, Self-Hosted
- **Momentum**: 106,013 ★ total (+69 24h / +752 7d) · 13,857 forks
- **Topics**: `claude`, `claude-code`, `esp32`, `firmware`, `home-assistant`, `home-automation`, `iot`, `mcp`, `monitoring`, `networking`, `pose-estimation`, `react`
- **When to Use**: Best for: Local occupancy and motion pilots, CSI research, and Home Assistant automations in spaces where occupants have consented and an operator can validate the installation. Skip if: You need router-only setup without CSI hardware, turnkey live 17-keypoint tracking, or medically validated vitals and dependable emergency alerts.

## Overview
```text
### Architecture & Core Mechanics
RuView separates RF capture, sensing inference, and application integration. In the documented mesh design, 4–6 ESP32 nodes capture WiFi Channel State Information (CSI) with time-division sampling on channels 1, 6, and 11. The pipeline combines 56 subcarriers per channel into 168 virtual subcarriers per link, fuses observations across links with attention, and uses a coherence gate to reject unsuitable measurements before feature extraction. The ESP32 can operate independently for some sensing functions; the server adds visualization and aggregation.

The Rust `v2/crates/` tree coexists with ESP32 firmware and the Python `wifi-densepose` stack. The Python manifest includes NumPy, SciPy and PyTorch for numerical and model work, plus FastAPI, Uvicorn and WebSockets for service and streaming code; those dependencies are not prerequisites for every deployment mode. HOMECORE provides local state and signed Wasm plugins, HA-DISCO publishes sensing data over MQTT, and the separate npm harness exposes machine-facing tooling via MCP over stdio or token-protected, read-only HTTP.

### Key Capabilities & Differentiators
The released CSI encoder produces 128-dimensional embeddings and ships with a presence head and per-node LoRA adapters. Its 82.3% figure is held-out temporal-triplet accuracy, not an occupied-versus-empty accuracy rate; the previous 100% presence figure was retracted. A separate 17-keypoint checkpoint scores 82.69% torso-PCK@20 on the MM-Fi `random_split` protocol, or 83.59% with a three-model ensemble and test-time augmentation. The checked-in `pose_v1` is a different model: it scored 3.0% PCK@20 on a 217-sample holdout, and its on-device runtime still returns a placeholder skeleton at confidence zero.

The sensing server's `--model` accepts native RVF and can convert supported safetensors or JSONL weights. The published `model.safetensors` has a NUL-padded header that the reference Python loader rejects; `csi-embed-v2.safetensors` is unaffected. Quantized `model-q*.bin` files need a compatible reader, and successful weight loading does not wire up a pose decoder. The harness can also connect to an ESPHome 60 GHz radar kit, but device access is not validation of the fused RF world model. Device-reported vitals remain unvalidated.

### Trade-offs & Limitations
RuView is a strong fit when camera-free sensing and local integration matter more than turnkey setup. Compared with a conventional room occupancy sensor, its CSI pipeline offers more data for motion and pose experiments but introduces dependencies on compatible hardware, placement, firmware, and calibration. Compared with a camera-based pose pipeline, it avoids collecting images in CSI-only operation but does not yet demonstrate equivalent live joint tracking. The webcam-assisted fusion demo and the MM-Fi benchmark should not be used as acceptance tests for a single-node CSI-only installation.

Use the deterministic replay as a pipeline regression test, not as field validation. Before driving automations, measure false activations and missed events at the installation site, and distinguish simulated, inferred, and unvalidated states in dashboards. Camera-free does not mean privacy-free: occupancy, activity, and vital-sign estimates still warrant consent, access restrictions, and retention limits. Do not rely on those vitals or fall-related alerts as the sole input to medical or safety-critical decisions.

### Hardware & Deployment Guide
For a hardware-free evaluation, run `ruvnet/wifi-densepose:latest` with `RUVIEW_API_TOKEN` and publish the service on `127.0.0.1:3000`. The container exits with code 64 if the token is missing, and this route uses simulated input. For live CSI, use supported hardware such as an ESP32-S3 or ESP32-C6, flash matching firmware, and provision the node with WiFi credentials and the destination IP. The ESP32-C6 example uses ESP-IDF with `idf.py set-target esp32c6`; the Python client path is available separately as `ruview[client]` for WebSocket and MQTT access.

Keep firmware, the sensing service, and Python/PyTorch training as separate sizing and versioning decisions; there is no universal GPU or VRAM requirement in the supplied specifications. The v0.9.6-beta.1 prerelease focuses on calibration, display labeling, telemetry validation, and dependency security, with no firmware binaries, new hardware validation, or new accuracy claim. The v3899 entry is a CI-validated source snapshot rather than a firmware bundle, so check the artifact for the component you intend to deploy.
```

## Key Capabilities
```text
- RF pipeline: The documented 4–6-node topology uses time-division sampling on WiFi channels 1/6/11, combining 56 subcarriers per channel into 168 virtual subcarriers per link.
- Model evidence: The CSI encoder reports 82.3% held-out temporal-triplet accuracy, while the separate 17-keypoint model reports 82.69% torso-PCK@20 on the MM-Fi random split.
- Runtime boundary: The first-cut on-device pose path returns a centered skeleton at confidence zero; loading an RVF checkpoint does not supply a matching decoder.
- Automation: HA-DISCO publishes state through MQTT with `--mqtt`, and HOMECORE provides local history, automations, and signed Wasm plugins.
- MCP controls: Stdio and token-protected HTTP are supported; device reads require a grant, and HTTP does not expose flashing or calibration.
- Deployment: The loopback Docker demo requires `RUVIEW_API_TOKEN` and uses simulated input; live advanced sensing needs a CSI-capable device.
```

## Quick Start / Clone
```bash
# Download the model bundle
pip install huggingface_hub
huggingface-cli download ruvnet/wifi-densepose-pretrained --local-dir models/wifi-densepose-pretrained
```
