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

- **GitHub URL**: https://github.com/Intent-Lab/VisionClaw
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: TypeScript
- **License**: See repository
- **Engineering Health**: B (59/100 · Maintenance 26/35 · Adoption 21/25 · Releases 6/20 · License 6/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Self-Hosted, API
- **Momentum**: 2,648 ★ total (+0 24h / +11 7d) · 541 forks
- **When to Use**: Best for: Mobile or wearables teams piloting hands-free visual assistance, first with a phone camera and then with Ray-Ban capture and a limited set of delegated actions. Skip if: You need offline inference, continuous video input to the model, simultaneous browser sharing and Gemini conversation, or a turnkey public service.

## Overview
```text
### Architecture & Core Mechanics
VisionClaw has native Swift and Kotlin clients under `samples/CameraAccess/` and `samples/CameraAccessAndroid/`. In the direct path, Meta Wearables DAT or the phone camera supplies images, `AudioManager` handles audio, and `GeminiLiveService` exchanges media with Gemini Live over WebSocket. `GeminiSessionViewModel` manages the session and tool wiring. `ToolCallRouter` and `OpenClawBridge` forward a single natural-language `execute(task)` request over HTTP and return the result to Gemini for a spoken response.

The access-code flow has a separate server-side boundary: `gateway/` validates access and issues room tickets, but a running `agent/` worker is needed for room voice. Both must use credentials for the same LiveKit Cloud project. Browser POV sharing is another separate path: a Node.js WebSocket signaling service under `samples/CameraAccess/server/` relays SDP and ICE for WebRTC, not for Gemini inference.

### Key Capabilities & Differentiators
The direct Gemini session pairs native audio with sampled visual context. The app sends mono PCM Int16 at 16 kHz in 100 ms chunks and plays 24 kHz PCM responses. Glasses video enters at 24 fps and is reduced to roughly one JPEG per second at 50% quality for Gemini; phone capture is listed at 30 fps before throttling. iPhone phone mode uses the `.voiceChat` audio session and gates the mic during assistant playback. Android uses `VOICE_COMMUNICATION` for echo cancellation.

Without OpenClaw, the direct session handles voice and visual conversation. With OpenClaw, it can delegate tasks such as list updates, search, and messaging; what actually works depends on the skills and accounts configured in the gateway. The separate browser-sharing mode supports two-way media, lists 24 fps video with a 2.5 Mbps ceiling, and gives iOS a 60-second background grace period for reconnection.

### Trade-offs & Limitations
Compared with a minimal Gemini Live client, VisionClaw adds phone and glasses capture paths, a task bridge, and a separate browser-sharing mode. The cost is more build and service integration. Compared with a video-call-first stack, sending about one image per second uses fewer image updates but can miss fast motion and brief events. Browser sharing provides continuous video, but it cannot run alongside Gemini Live because both contend for the audio device.

The single free-form `execute` tool keeps the mobile interface small but delegates task interpretation and permissions to OpenClaw. Before connecting messaging or other consequential accounts, verify how authorization and user confirmation are enforced. The documented LAN HTTP setup also makes network isolation and token handling deployment concerns. A `LICENSE` and `NOTICE` exist, but the license is unspecified in the available metadata; verify the actual terms before redistribution.

### Hardware & Deployment Guide
Build the iOS sample with Xcode 15+ for iOS 17+, or the Android sample with Android Studio Ladybug or newer for Android 14+ (API 34+). Android SDK resolution uses GitHub Packages and requires a classic token with `read:packages`. Configure a Gemini API key for the direct session via `Secrets.swift`, `Secrets.kt`, or app settings. Phone mode is the hardware-free starting point; glasses pairing also requires Developer Mode in the Meta AI app.

The default access-code gateway is a private pilot, not a public signup route. For the self-hosted access-code flow, configure `GATEWAY_TOKENS`, point the app at your gateway, and run the matching LiveKit worker; the gateway alone can leave the app waiting for an agent. For optional actions, configure the separate OpenClaw gateway with token authentication and enable `/v1/chat/completions`. Self-hosting these components does not make the documented Gemini or LiveKit Cloud paths offline. The repository has no listed release to pin, so record the tested commit and service configuration.
```

## Key Capabilities
```text
- Capture: Meta Wearables DAT for Ray-Ban glasses, with a phone-camera mode on iOS and Android
- Gemini transport: WebSocket audio at 16 kHz in and 24 kHz out, plus JPEG frames sampled at about 1 fps
- Action bridge: One `execute(task)` tool forwards requests over HTTP to an optional OpenClaw gateway
- Room voice: The self-hosted `gateway/` issues tickets, while `agent/` joins through the same LiveKit Cloud project
- Browser sharing: Node.js signaling relays SDP and ICE; STUN and TURN support connectivity beyond the LAN
- Audio constraint: WebRTC sharing and Gemini Live cannot run together because they contend for the audio device
```

## Quick Start / Clone
```bash
curl http://localhost:18789/health
```
