Get Started
Home
Topics
Search
Library
5 min read · Agents · Memory · Added Oct 21 · Paper published Oct 19, 2026

OpenVLHarness: Real World Visual Agentic Tool-Use with Multimodal Memory

Source: research paper via Hugging Face Daily Papers
Vision-language models blow their context window when tools return huge payloads like segmentation masks or depth arrays. OpenVLHarness stashes those as handles in persistent memory, exposing only summaries to chat, and lifts 22-benchmark averages by 9.7–12.6 points across frozen Qwen3-VL and GPT-6 backbones with no retraining.

TL;DR

OpenVLHarness wraps a multimodal LLM with a typed Capability layer over vision and search tools plus Persistent multimodal memory, so later turns can reuse earlier masks, depth arrays, and images by handle, lifting 22-benchmark averages by 9.7–12.6 points without retraining.

Why It Matters

Say you point a vision-language model at a photo of a cluttered shelf and ask “how many pill bottles are there, and which are closest to the camera?” The model has to localize dozens of small objects, measure depth, and combine both. A single forward pass through even a strong Multimodal Large Language Model usually guesses. The paper shows that just giving a model more thinking budget barely helps: moving GPT-6 Luna from “xhigh” to “max” reasoning multiplies token spend by 2.7x and gains only 0.7 points on their 22-benchmark average.
The standard workaround is to bolt on vision tools (detectors, OCR, search), either by fine-tuning the model to call them or by writing a prompt-based harness like Visual Sketchpad. Both have problems. Fine-tuned agents overfit to one tool set. Prompt harnesses tend to lose track of large outputs: a segmentation mask or a depth array is huge, and dumping it into the chat context either blows the window or arrives as uninterpretable numbers.

How It Works

The harness has two pieces. First, each tool is wrapped so it returns two things: a model-readable observation (an annotated image, a short description, a bounding-box list) and a bulky artifact (the raw mask, the depth array, the retrieved webpage) that is stashed under a handle like tool_generated_image_6 or grounding_cabinet. The chat context only sees the handle and the summary. This is the capability layer: the orchestrator calls visual_grounding(image, "cabinet") regardless of whether the backend is SAM 3 or Grounding DINO.
Second, after every tool call an Environment Update message re-advertises what’s currently in memory. The orchestrator can then pass a handle to a later tool, including a Python Coding Agent that writes code using the stored arrays as named Python variables. So “average depth inside each detected cabinet” becomes: ground the cabinets (mask handle), estimate depth (array handle), then ask the coding agent to combine them.
Control flow in pseudo-code:
memory = {"input_image_1": img} while not done: obs = env_update(memory.keys()) call = llm.decide(question, history, obs) result, artifacts = run_tool(call, resolve=memory) memory.update(artifacts) # handles, not payloads history.append(result.summary) # short text + attached images if call.is_final_answer: done = True

What They Found

Across 22 benchmarks spanning counting, grounding, visual search, VQA, and spatial reasoning, OpenVLHarness lifts the average over the no-tool baseline by +11.2 points on Qwen3-VL-8B, +12.6 on Qwen3-VL-32B, +9.9 on GPT-6 Astra, and similar amounts on Kimi K3 and GPT-5. On FSCD-LVIS, a dense counting-and-detection benchmark, Qwen3-VL-8B’s F1 jumps from near-zero to above 56 for images with 21–100 objects.
The interesting comparison is against Codex, OpenAI’s general coding agent, with the same GPT-6 Luna backbone. Codex at medium effort scores 43.8 on the 22-benchmark average, below the no-tool baseline (45.8); OpenVLHarness scores 56.5 at the same effort while costing at most 37% of Codex’s model-token spend. A coding-agent loop by itself does not produce multimodal tool use; the typed vision capabilities and artifact memory matter.
An ablation adds pieces one at a time to the no-tool baseline on Qwen3-VL-8B: raw tool access gives +3.8 points, the capability layer another +3.4, textual-only memory a further +0.7, and multimodal memory (keeping tool-generated images addressable) another +3.1. Replacing images with text descriptions is a weak substitute for keeping the pixels. The authors attribute the final step’s gains mainly to visual search and spatial reasoning, where the agent revisits earlier crops.
Failure analysis using Kimi K3 as a critic on ~9,900 failed Qwen3-VL-8B trajectories (92% agreement with human labels on 100 sampled failures) shows failure modes differ by domain: grounded perception fails on wrong tool outputs in crowded scenes (>25 objects), while search fails on omitted tool calls.

What’s Useful

•
If you’re building a vision agent and your tool outputs are large (masks, depth maps, retrieved pages), the artifact-handle pattern is worth copying. Dumping raw payloads into chat context is the failure mode the capability layer is designed around.
•
Before fine-tuning a model for tool use, try a training-free harness. On Qwen2.5-VL-7B, OpenVLHarness beats three training-based baselines (AdaReasoner, PixelReasoner, DeepEyesV2) averaging 33.5 vs their 25–28, using the same frozen weights. Fine-tuning for one tool protocol transfers poorly across domains.
•
The paper offers two adaptation workflows worth testing on your own data: harness search (edit prompts and output templates) when failures look like misuse of existing tools, and tool generation (compose new tools from existing ones) when failures look like missing operations. On a diagnostic sample, text edits lifted ERQA by +4.1 but hurt SparBench by -0.5, while generated tools did the reverse. Diagnose first.
•
Reasoning effort and tool use are complementary rather than substitutes. Within the tested budgets, raising reasoning on top of the harness still helped. Code is at GitHub.

Caveats

Results with proprietary models (GPT-5, GPT-6 Luna/Sol/Astra) are single runs due to API cost; only Qwen3-VL numbers are averaged over three seeds. Costs reported for the reasoning-effort study exclude tool execution (SAM 3, OCR, search APIs) and LLM judging, so the real bill is higher than the token-only numbers suggest. Search benchmarks query the live web, so retrieval content drifts between runs. The harness benefits scale with orchestrator strength: on the weaker Qwen2.5-VL-7B, OpenVLHarness reaches only 7.80 AP on OdinW-13-All versus 50.40 with Qwen3-VL-8B, so a mediocre backbone caps the gain. The failure-analysis percentages describe failed trajectories only and don’t predict how much accuracy is actually recoverable.
Topics
Agents
Memory
Multimodal
NLP
Agents
Memory
Multimodal
NLP
Up next in Agents
Self-Evolving Coding Agents via Harness-Policy Optimization
Interlock: From Local Correctness to Task Completion in Long-Horizon Agents
Don't miss new content
Log in to follow topics and personalize your feed.
Related topics you might like
Agents310 episodes
Multimodal163 episodes
NLP145 episodes