SpatialClaw: Rethinking Action Interface for Agentic Spatial Reasoning

Seokju Cho, Ryo Hachiuma, Abhishek Badki, Hang Su, Byung-Kwan Lee +6 more
6/11/2026
cs.CVcs.AI

No official code found. Best implementation: NVlabs/SpatialClaw (433 stars, last commit 2026-06-11).

Abstract

Spatial reasoning, the ability to determine where objects are, how they relate, and how they move in 3D, remains a fundamental challenge for vision-language models (VLMs). Tool-augmented agents attempt to address this by augmenting VLMs with specialist perception modules, yet their effectiveness is bounded by the action interface through which those tools are invoked. In this work, we study how the design of this interface shapes the agent's capacity for open-ended spatial reasoning. Existing spatial agents either employ single-pass code execution, which commits to a full analysis strategy before any intermediate result is observed, or rely on a structured tool-call interface that often offers less flexibility for freely composing operations or tailoring the analysis to each task. Both designs offer limited flexibility for open-ended, complex 3D/4D spatial reasoning. We therefore propose SpatialClaw, a training-free framework for spatial reasoning that adopts code as the action interface. SpatialClaw maintains a stateful Python kernel pre-loaded with input frames and a suite of perception and geometry primitives, letting a VLM-backed agent write one executable cell per step conditioned on all prior outputs, enabling the agent to flexibly compose and manipulate perception results and adapt its analysis to both intermediate text and visual observations and the demands of each problem. Evaluated across 20 spatial reasoning benchmarks spanning a broad range of static and dynamic 3D/4D spatial reasoning tasks, SpatialClaw achieves 59.9% average accuracy, outperforming the recent spatial agent by +11.2 points, with consistent gains across six VLM backbones from two model families without any benchmark- or model-specific adaptation.

View on arXivView PDF

Code Implementations(1)

NVlabs/SpatialClawCommunity100%

SpatialClaw: Rethinking Action Interface for Agentic Spatial Reasoning

43342Jun 10, 20264 months agoNOASSERTION
4d-understandingagentagentic-aimllm-reasoningspatial-reasoning+1 more

Similar Papers

Cite this paper

@article{cho2026spatialclaw,
  title  = {SpatialClaw: Rethinking Action Interface for Agentic Spatial Reasoning},
  author = {Seokju Cho and Ryo Hachiuma and Abhishek Badki and Hang Su and Byung-Kwan Lee and Chan Hee Song and Sifei Liu and Subhashree Radhakrishnan and Seungryong Kim and Yu-Chiang Frank Wang and Min-Hung Chen},
  year   = {2026},
  eprint = {2606.13673},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.13673v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.13673.svg)](https://codeofpaper.com/paper/2606.13673)

Discussion