Files
WeHub Mirror abf0e694a2
Hetzner Agent E2E / Provision + deploy + healthcheck (push) Has been cancelled
Hetzner Agent E2E / Teardown (push) Has been cancelled
Scenario PR E2E / Classify changed paths (push) Has been cancelled
Scenario PR E2E / Zero-Key unit + UI coverage (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser core (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser view lifecycle (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser all-pages (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser feature interactions (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser cloud keyless (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser ratcheted (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser auto-discovered specs (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser dashboard device matrix (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser Pixel-7 real-touch lane (push) Has been cancelled
Scenario PR E2E / Zero-Key app browser WebKit lane (push) Has been cancelled
Scenario PR E2E / Zero-Key accounts UI e2e (real API + pool + disk) (push) Has been cancelled
Scenario PR E2E / Zero-Key full-walkthrough (mock lane) (push) Has been cancelled
Scenario PR E2E / Zero-Key app diagnostics (push) Has been cancelled
Scenario PR E2E / Zero-Key scenario runner E2E (push) Has been cancelled
Scenario PR E2E / Zero-Key Deterministic E2E (push) Has been cancelled
Docker CI Smoke / Classify changed paths (push) Has been cancelled
Docker CI Smoke / Build production Docker image (+ smoke boot) (push) Has been cancelled
Build libelizainference (Android, FFI) / prepare-matrix (push) Has been cancelled
Chat shell gestures / Chat shell gesture + parity e2e (push) Has been cancelled
Cloud Gateway Discord / Test (push) Has been cancelled
Cloud Gateway Webhook / Test (push) Has been cancelled
Cloud Tests / lint-and-types (push) Has been cancelled
Cloud Tests / unit-tests (push) Has been cancelled
Build Agent Image / build-and-push (push) Has been cancelled
Electrobun Submodule Guard / electrobun gitlink is fetchable (push) Has been cancelled
gitleaks / gitleaks (push) Has been cancelled
Markdown Links / Relative Markdown Links (push) Has been cancelled
Orchestrator multi-account / multi-account selection e2e (push) Has been cancelled
Publish @elizaos/plugin-elizacloud / verify_version (push) Has been cancelled
Quality (Extended) / Homepage Build (PR smoke) (push) Has been cancelled
Quality (Extended) / Comment-only diff guard (push) Has been cancelled
Quality (Extended) / Format (push) Has been cancelled
Quality (Extended) / Develop Gate (secret scan + UI determinism) (push) Has been cancelled
Quality (Extended) / Develop Gate (lint) (push) Has been cancelled
Sandbox Live Smoke / Sandbox live smoke (push) Has been cancelled
Snap Build & Test / Build Snap (amd64) (push) Has been cancelled
Snap Build & Test / Build Snap (arm64) (push) Has been cancelled
Tests / Classify changed paths (push) Has been cancelled
UI Extended Fixture E2E / fixture-e2e (push) Has been cancelled
Cloud Tests / integration-tests (push) Has been cancelled
CUDA Coverage Continuity / Fail-closed manifest contracts (push) Has been cancelled
CUDA Coverage Continuity / Exact-head CUDA fixtures + runtime graph (push) Has been cancelled
Deploy Apps Worker (Product 2) / Determine environment (push) Has been cancelled
Deploy Eliza Provisioning Worker / Determine environment (push) Has been cancelled
Deploy Homepage / build-and-deploy (push) Has been cancelled
Dev Smoke / Classify changed paths (push) Has been cancelled
Tests / Remote Capability Provider Live E2E (push) Has been cancelled
Training Stack / CPU smoke (lint + import) (push) Has been cancelled
Training Stack / GPU build (QJL nvcc + Triton JIT) (push) Has been cancelled
UI Core Fixture E2E / ui-core-fixture-e2e (push) Has been cancelled
vault-ci / app-core wiring tests (push) Has been cancelled
verify-patches / verify patches/CHECKSUMS.sha256 (push) Has been cancelled
UI Story Gate / story-gate (push) Has been cancelled
vault-ci / test (macos-latest) (push) Has been cancelled
vault-ci / test (ubuntu-latest) (push) Has been cancelled
vault-ci / test (windows-latest) (push) Has been cancelled
Windows CI / windows ([bun run --cwd packages/app-core test bun run --cwd packages/elizaos test bun run --cwd packages/cloud/shared test], app-and-cli) (push) Has been cancelled
Windows CI / windows ([bun run --cwd packages/core typecheck bun run --cwd packages/shared typecheck bun run --cwd packages/cloud/shared typecheck bun run --cwd packages/core test bun run --cwd packages/shared test], core-runtime, 75) (push) Has been cancelled
Windows CI / windows ([bun run --cwd packages/scenario-runner test bun run --cwd packages/vault test bun run --cwd plugins/plugin-coding-tools test], framework-packages) (push) Has been cancelled
Windows CI / windows ([bun run --cwd plugins/plugin-coding-tools build node packages/scripts/run-turbo.mjs run build --filter=@elizaos/core --filter=@elizaos/shared --filter=@elizaos/agent --concurrency=1 node packages/scripts/run-python.mjs --version node packages… (push) Has been cancelled
Windows CI / windows ([bun run --cwd plugins/plugin-elizacloud test bun run --cwd plugins/plugin-discord test bun run --cwd plugins/plugin-anthropic test bun run --cwd plugins/plugin-openai test bun run --cwd plugins/plugin-app-control test bun run --cwd plugins/pl… (push) Has been cancelled
Cloud Tests / e2e-tests (push) Has been cancelled
Deploy Apps Worker (Product 2) / Deploy apps worker to apps-control host (${{ needs.determine-env.outputs.environment }}) (push) Has been cancelled
Deploy Eliza Provisioning Worker / Deploy worker to Hetzner host (${{ needs.determine-env.outputs.environment }} @ ${{ needs.determine-env.outputs.deployment_sha }}) (push) Has been cancelled
Dev Smoke / bun run dev onboarding chat (push) Has been cancelled
Dev Smoke / Vite HMR dependency-level smoke (push) Has been cancelled
Publish @elizaos/plugin-elizacloud / publish_npm (push) Has been cancelled
Tests / Test-runner vacuous-green guard (push) Has been cancelled
Tests / Server Tests (push) Has been cancelled
Tests / Client Tests (push) Has been cancelled
Tests / Plugin Tests (1/4) (push) Has been cancelled
Tests / Plugin Tests (2/4) (push) Has been cancelled
Tests / Plugin Tests (3/4) (push) Has been cancelled
Tests / Plugin Tests (4/4) (push) Has been cancelled
Tests / Plugin Tests (push) Has been cancelled
Tests / Integration Lane (personal-assistant) (push) Has been cancelled
Tests / Electrobun Desktop Contract (push) Has been cancelled
Tests / Zero-Key unit + UI coverage (push) Has been cancelled
Tests / Zero-Key app browser (push) Has been cancelled
Tests / Zero-Key diagnostics (push) Has been cancelled
Tests / Zero-Key scenario runner (push) Has been cancelled
Tests / Zero-Key harness E2E (push) Has been cancelled
Tests / Zero-Key Deterministic E2E (push) Has been cancelled
Build libelizainference (Android, FFI) / ${{ matrix.abi }} (push) Has been cancelled
Tests / Cloud Live E2E (Eliza Cloud) (push) Has been cancelled
Tests / Remote Capability GitHub Live Artifact Validator (push) Has been cancelled
Tests / Script Tests (Linux) (push) Has been cancelled
Tests / Merge Queue Quality Gate (push) Has been cancelled
Tests / ci-ok (push) Has been cancelled
WeHub snapshot of 9298cb46af86e1bd3a40a60e135ea855d70f229a
2026-08-07 16:49:07 +08:00
..

@elizaos/plugin-vision

Visual perception plugin for elizaOS — gives Eliza agents real-time awareness of their camera feed and/or screen through scene analysis, object/person detection, OCR, face recognition, and entity tracking.

What it does

  • Captures frames from a connected camera (macOS/Linux/Windows) or the host screen.
  • Describes scenes by routing images through runtime.useModel(IMAGE_DESCRIPTION) — compatible with any registered VLM (local or cloud).
  • Detects and tracks people, objects, and faces across frames with persistent entity IDs.
  • Reads text on screen through the generic Apple Vision/doCTR OCR service and the coordinate-aware OCR registry used by computeruse: Windows.Media.Ocr on Windows, Tesseract on Linux when available, and the RapidOCR adapter as the portable fallback.
  • Exposes all capabilities through a single VISION action and a VISION_PERCEPTION context provider.

Installation

npm install @elizaos/plugin-vision

Platform camera tools (required for camera mode)

Platform Tool
macOS brew install imagesnap
Linux sudo apt-get install fswebcam
Windows Install ffmpeg and add to PATH

Screen capture and OCR work without these tools.

Enabling the plugin

Add it to your character's plugin list:

{
  "name": "MyAgent",
  "plugins": ["@elizaos/plugin-vision"],
  "settings": {
    "CAMERA_NAME": "obsbot",
    "VISION_MODE": "CAMERA"
  }
}

The plugin auto-enables when config.features.vision is truthy or config.media.vision.provider is set.

Configuration

Setting Default Description
CAMERA_NAME auto Partial name match for camera device selection (case-insensitive)
VISION_MODE CAMERA OFF / CAMERA / SCREEN / BOTH
PIXEL_CHANGE_THRESHOLD 50 % pixel change required before triggering a VLM scene update
VLM_UPDATE_INTERVAL 10000 ms between VLM scene-describe calls
SCREEN_CAPTURE_INTERVAL 2000 ms between screen captures
OCR_ENABLED true Enable OCR on screen tiles
ENABLE_OBJECT_DETECTION false ggml YOLOv8n object detection (native/yolo.cpp)
ENABLE_POSE_DETECTION false Heuristic person detection (ggml pose pending)
ENABLE_FACE_RECOGNITION false Native ggml face recognition (BlazeFace + 128-d embed via native/face-cpp)
ENTITY_TIMEOUT 30000 ms before an inactive entity is evicted from tracking

All settings can also be prefixed with VISION_ (e.g. VISION_CAMERA_NAME).

Actions

The plugin registers a single VISION action that routes to one of these sub-operations from the structured action / subaction / op parameter. Mode changes use the structured mode parameter, and entity naming uses the structured name parameter.

Sub-operation Structured parameter example What it does
describe action: "describe" Returns the current VLM scene description
capture action: "capture" Captures a frame and returns it as a base64 image attachment
set_mode action: "set_mode", mode: "SCREEN" Switches between OFF, CAMERA, SCREEN, BOTH
enable_camera / disable_camera action: "enable_camera" Toggles camera input
enable_screen / disable_screen action: "enable_screen" Toggles screen input
name_entity action: "name_entity", name: "Alice" Assigns a display name to the most prominent tracked entity
identify_person action: "identify_person" Lists tracked people with names and presence duration
track_entity action: "track_entity" Refreshes entity tracking and reports statistics

Vision Provider

VISION_PERCEPTION is injected into agent context during turns in the media and browser contexts. It provides:

  • Current scene description text
  • Camera / screen connection status and mode
  • Detected people (count, poses, facings)
  • Detected objects (types)
  • Active tracked entities with duration
  • Recently-departed entities
  • Screen tile OCR text and UI element list (when screen mode is active)

Detection backends

Capability Default backend Optional / alternative
Scene description VLM via runtime.useModel(IMAGE_DESCRIPTION) Any registered IMAGE_DESCRIPTION provider
Object detection YOLOv8n ggml via native/yolo.cpp (src/yolo-detector.ts); build with bun run build:native + bun run build:weights. Service degrades to motion/heuristic + VLM when the lib/GGUF are absent. — (TensorFlow.js path removed)
Pose detection Heuristic person detection (motion-derived) Planned ggml MoveNet port
OCR Generic OCR uses Apple Vision (darwin, when a provider is registered) → doCTR ggml (native/doctr.cpp). Coordinate OCR for computeruse prefers Windows.Media.Ocr (Windows) → Tesseract CLI or vendored bundle (Linux) → RapidOCR adapter. Native/mobile bridges can register platform OCR providers; no ONNX OCR path.
Set-of-Marks grounding src/som.ts fuses GGUF YOLO icon boxes + OCR text boxes into a deduplicated, 1-indexed numbered set (icon-over-text suppression + NMS) and renders a numbered-overlay PNG via sharp. src/set-of-marks-provider.ts registers it into plugin-computeruse's detect_elements seam at boot (best-effort; degrades to text-only marks when the GGUF detector is absent). trycua/cua OmniParser parity (#9170 M9)
Face recognition Native ggml BlazeFace + 128-d embed (face-detector-ggml.ts, face-recognition-ggml.ts, native/face-cpp); disabled until the lib/GGUF artifacts land. No tfjs/face-api.js path. MediaPipe BlazeFace migration shim is deprecated.

Platform notes

  • Node.js only. Mobile (iOS, Android) registers a MobileCameraSource (src/mobile/capacitor-camera.ts) bridged by plugin-ios / plugin-aosp.
  • Camera tools (imagesnap / fswebcam / ffmpeg) are required for camera mode; screen capture and OCR work without them.
  • Native detectors and OCR (native/yolo.cpp, native/doctr.cpp, and the coordinate-OCR providers) run through the available host backend. YOLO/doCTR require compiled libraries and GGUF artifacts; Tesseract requires a binary plus traineddata resolved from the vendored bundle or PATH.

Privacy

  • Camera access requires OS-level permissions.
  • No frames are written to disk by default.
  • All inference runs locally unless a remote IMAGE_DESCRIPTION provider is registered.
  • Consider access implications before enabling in shared or sensitive environments.