uclanlp/OpenVLHarness
A training-free vision agent harness for tool use and multimodal evidence reuse
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
OpenVLHarness is a training-free Python SDK that separates the model's decision loop from tool execution. The orchestrator uses native tool calling to request capabilities, inspect their observations, and decide whether to call another tool or answer. The capability layer turns backend outputs into annotated images, summaries, or compact numerical observations. Per-question memory keeps the underlying artifacts addressable; the same backbone writes Python in a separate context and executes it locally to compute over those artifacts. Memory resets for the next question.
Agent YAML separates agent, memory, capabilities, and services. The router exposes the selected tools at /tools and their model-facing schemas at /llm-schema. openvlharness/services/model_registry.yaml defines served model IDs, API protocols, prompts, and supported options. Qwen and Kimi presets use Chat Completions; GPT presets use Responses. The Python 3.10+ package declares requests>=2.31 and PyYAML>=6.0.1; model servers, GPU workers, and benchmark dependencies are separate from the base client install.
Key Capabilities & Differentiators
The nine capabilities cover visual grounding, OCR, depth estimation, camera trajectory, cropping, text search, reverse image search, webpage visits, and Python computation. SAM 3 grounding returns boxes, masks, and an annotated image; PaddleOCR-VL reads image text; Depth Anything 3 retains numerical depth arrays alongside visualizations and estimates camera poses from ordered images. Serper supplies search, Lens matches, and scraping. Presets use Qwen3-VL-8B-Instruct to summarize search results and extract relevant evidence from pages regardless of the main backbone.
Across 22 benchmarks spanning counting and grounding, multimodal search, general VQA and hallucination, and spatial understanding, the seven tabulated backbones gain 9.66–12.62 points over their tool-free baselines. Qwen3-VL-32B rises from 38.30 to 50.92, while Kimi K3 at max effort rises from 56.43 to 66.09. The Qwen3-VL figures average three runs. For integration tests, evaluation_kit/ supports direct count and bounding-box metrics without an LLM judge, and the Python API returns a trajectory for inspecting intermediate evidence.
Trade-offs & Limitations
Compared with a bare VLM call, the harness can verify an answer against retrieved evidence and reuse numerical artifacts instead of relying on the model to estimate from pixels. That comes with more model turns, backend calls, and failure points. In the 22-benchmark comparison, GPT-6 Luna at low reasoning effort with the harness averages 49.9 versus 48.0–48.8 for the base model, Codex, and Visual Sketchpad at max effort, using at most 26% of their model-token cost. That figure does not cover GPU workers, search API fees, image hosting, or end-to-end latency.
Sharing one Qwen3-VL-8B endpoint simplifies deployment, but auxiliary search requests queue behind agent turns on the same GPU; a second instance trades additional resources for throughput. When auxiliary summarization or extraction fails, search tools can fall back to raw provider content, so router uptime alone is not a measure of answer quality. For untrusted workloads, isolate locally executed model-generated Python with least privilege and do not assume it is sandboxed. Omit reverse image search when policy prohibits making query images reachable to the external provider.
Hardware & Deployment Guide
Use Python 3.10+ and install from a source checkout. pip install -e . is sufficient for a client connecting to an existing router; python -m pip install -e '.[qwen,server]' adds Qwen tokenizer support and the router. Start it with python -m openvlharness.services.server --config configs/agent/qwen3_8b_paper.yaml and use the same config in build_agent(...). For all nine capabilities, provision a main model endpoint, an auxiliary Qwen3-VL-8B endpoint that can be shared with the 8B orchestrator, three GPU perception services, a Serper key, and reachable image hosting for Lens queries.
For a remote-model setup without local GPU workers, keep only zoom and coding, and remove unused service entries as well as capability keys: config loading expands every remaining ${VARIABLE} and validates every configured model. /health and /backend-status confirm router status, not end-to-end backend reachability, so exercise each enabled capability before rollout. Add eval for the openvlharness-eval CLI or run_benchmark.py, set LMUData, and tune --num-proc to backend capacity. Package metadata is 0.1.0 with no tagged GitHub release listed; the tree includes toolsmith/, a separate tool-generation framework built on the harness.
/backend-status tracks search fallbacks, query-image reachability, and Serper account failures.Research and engineering teams building visual QA, spatial reasoning, or multimodal search agents that need to reuse intermediate evidence, inspect execution traces, and compare model or tool configurations on benchmarks.
A single VLM call already meets your needs, or you require a turnkey offline system with predictable latency and no external services. A reduced local configuration can omit web search, but it does not preserve all nine capabilities.
Quick Start & Installation
curl --fail http://127.0.0.1:8101/health curl --fail http://127.0.0.1:8101/backend-status
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| OpenVLHarness ★ | 740 | +58 | Python | MIT | A training-free vision agent harness for tool use and multimodal evidence reuse |
| rocketride-server | 19.9k | +22 | Python | MIT | C++ workflow engine for building and running extensible AI pipelines |
| deepagents | 31.8k | +138 | Python | MIT | A LangGraph-based agent harness for long-running, tool-driven workflows |
| pydantic-ai | 21.5k | +95 | Python | MIT | Typed Python agent SDK for reusable tools, model fallback, and realtime voice. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/uclanlp/OpenVLHarness.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about OpenVLHarness
How do I integrate the harness and inspect what the agent did?
openvlharness.bootstrap.build_agent(...). Call agent.generate(...) with text and one or more images supplied as local paths, HTTP(S) URLs, or data URLs. Read prediction for the answer and extra_records.trajectory for model turns, tool calls, and evidence. Use /tools and /llm-schema to verify which capabilities the router exposes.Do I need GPUs, and how much VRAM should I budget?
Can I self-host it commercially, and what data leaves my environment?
LICENSE and THIRD_PARTY_LICENSES.md, and check the terms of your chosen model weights, hosted APIs, and search services separately. Self-hosting the router does not keep all data local: hosted model endpoints and Serper receive inputs, and reverse image search requires a query-image URL that Serper can fetch.When should I choose it over a bare VLM, Codex, or Visual Sketchpad?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy