Agentic Geometric Perception: Test-Time 3D Program Search Across 12 Tasks

Introduced by NVIDIA, University of Michigan, Purdue, and KAIST (arXiv:2612.06322), Agentic Geometric Perception replaces fixed feed-forward 3D pipelines with an off-the-shelf coding agent that searches over inference programs at test time—outperforming the strongest existing method in 15 of 16 benchmark settings with up to 5.8x higher accuracy.
Agentic Geometric Perception: Test-Time 3D Program Search Across 12 Tasks: Introduced by NVIDIA, University of Michigan, Purdue, and KAIST (arXiv:2612.06322), Agentic Geometric Perception replaces fixed feed-forward 3D pipelines with an off-the-shelf coding agent that searches over inference programs at test time—outperforming the strongest existing method in 15 of 16 benchmark settings with up to 5.8x higher accuracy. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Dynamic Per-Sample Program Synthesis: Instead of running a hard-coded pipeline, the agent writes and executes bespoke Python verification scripts over 14 geometric foundation tools per input.
- Beats Oracle & Fixed-Program Baselines: Outperforms the strongest existing model in 15/16 settings with GPT-6 Astra and 16/16 with Claude Opus 5.5, delivering up to 5.8x accuracy improvement.
- Zero Task-Specific Finetuning: Runs off-the-shelf coding agents inside an internet-disabled H100 sandbox equipped with a headless renderer, COLMAP, and standard scientific Python.
- Self-Healing Error Inspection: Agents inspect intermediate epipolar geometry, point-track residuals, and rendered overlays to catch scale drift or degenerate camera poses before finalizing outputs.
import { createAgent } from '@smoke-monkey/harness';// Isolated Smoke Monkey Harness orchestrating 3D geometric perception tools per sampleconst agent = createAgent({agentId: 'spatial-geometric-perception-agent',provider: 'anthropic',model: 'claude-opus-4-5',workspacePath: process.cwd(),permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},});async function main() {const result = await agent.run('Given ./scene/frames/ and ./scene/intrinsics.json, run GeoCalib + LightGlue + COLMAP, inspect reprojection error, fall back to VGGT if visual overlap is zero, and output camera_pose.json.');console.log('Geometric Perception Output:', result.summary);}main().catch(console.error);
Watch: Related Video Guides
What Are Vision Language Models? How AI Sees & Understands Images
Build Visual AI Agents with Vision Language Models
What Is Agentic Geometric Perception and How Does It Beat Fixed Pipelines?
Agentic Geometric Perception (Cho et al., arXiv:2612.06322, NVIDIA / UMich / Purdue / KAIST) reformulates 3D structure and motion recovery as a test-time search over inference programs. Fixed feed-forward networks and rigid optimization scripts struggle on out-of-distribution inputs such as non-overlapping image pairs (MegaUnScene), dynamic objects, or missing intrinsics. By wrapping 14 pretrained perception tools—including VGGT, MoGe-3, GeoCalib, LightGlue, SAM 3, SAM 3D Body, CoTracker3, AllTracker, FoundationStereo, DPV-SLAM, SEA-RAFT, and MediaPipe—alongside COLMAP and a headless renderer, a coding agent writes, executes, inspects, and revises a custom pipeline for every input.
Across 12 tasks spanning camera geometry, point tracking, 6D object pose, human motion, metric depth, stereo, and optical flow, the agent beats both the strongest standalone baseline and a ground-truth Oracle that picks the best single baseline per sample:
| Benchmark Task | Metric | Prior Best | Ground-Truth Oracle | Fixed Agent Program | Full Test-Time Agent |
|---|---|---|---|---|---|
| MegaUnScene Relative Rotation | MRE (deg ↓) | 11.99 (VGGT) | 7.13 | 13.37 | 7.78 (Gemini 4 Argon: 7.03, 41% ↓) |
| InFlux Camera Intrinsics | Recall (↑) | 41.3 (VGGT) | 47.9 | 47.2 | 68.3 (+65% relative) |
| Visual Odometry | Error (↓) | 22.8 | 19.1 | 20.2 | 13.5 |
| 3D Point Tracking | Accuracy (↑) | 26.4 | 29.0 | 25.3 | 36.0 |
| 6D Object Pose (No Boxes) | Accuracy (↑) | 34.4 | 39.2 | 53.8 | 70.8 |
| Stereo Matching | Error (↓) | 4.29 | 3.40 | 3.19 | 0.87 |
| Optical Flow | EPE (↓) | 12.77 | 10.50 | 12.58 | 2.21 (up to 5.8x gain) |
Setting Up an Isolated Spatial Tool Sandbox for Coding Agents
In the arXiv:2612.06322 protocol, each sample runs inside an isolated offline container (1x H100 GPU, 14 CPU cores, 150 GB RAM, read-only input mount, web search disabled) with strict wall-clock limits (60 min for image/pair tasks, 90 min for video, 3 hours for human motion). Crucially, the agent gains accuracy by visually and numerically inspecting intermediate artifacts—checking Sampson errors, rendering projected bounding boxes or point clouds, and cross-verifying monocular depth (MoGe-3) against multi-view geometry (VGGT):
# 1. Launch an offline container mounting scene inputs read-only
docker run --rm --gpus all --network none \
-v "$(pwd)/scenes:/workspace/inputs:ro" \
-v "$(pwd)/outputs:/workspace/outputs:rw" \
smokemonkey/spatial-perception:latest python3 -c "import torch, pycolmap; print(torch.cuda.is_available())"
# 2. Smoke-test headless rendering and COLMAP binary availability inside sandbox
EGL_PLATFORM=surfaceless python3 -c "import open3d; print('Headless EGL ready')"
colmap -h | head -n 3Why Offline Read-Only Mounts Matter
Mounting inputs read-only with --network none prevents benchmark contamination and stops an agent from downloading external weights or leaking proprietary CAD/video captures.
Composing 3D Perception Workers in Smoke Monkey Harness and Canvas
Smoke Monkey Harness maps naturally onto the test-time geometric perception loop: its deterministic Explore → Plan → Edit → Verify cycle lets an agent write a Python hypothesis script, execute COLMAP or VGGT in a gated shell command, inspect JSON residual metrics, and iterate if reprojection error spikes.
With Smoke Monkey Canvas, robotics and vision engineers can expose SAM 3, CoTracker3, and FoundationStereo as local MCP tool servers so spatial agents compose custom multi-model pipelines on demand without writing brittle glue code by hand.
Frequently Asked Questions
Q:How does Agentic Geometric Perception beat an Oracle of existing 3D models?
An Oracle can only select one existing model per sample. An agent composes multiple models sequentially—for example segmenting dynamic objects with SAM 3, calibrating focal length with GeoCalib, and refining poses with LightGlue and COLMAP—yielding capabilities no single model has alone.
Q:Which tools are exposed to the agent in arXiv:2612.06322?
The uniform toolset includes VGGT, MoGe-3, GeoCalib, LightGlue, SAM 3, SAM 3D Body, CoTracker3, AllTracker, FoundationStereo, DPV-SLAM, MediaPipe, SEA-RAFT (for optical flow), COLMAP, and a headless renderer.
Q:Does Agentic Geometric Perception require training or fine-tuning the coding agent?
No. The paper evaluates off-the-shelf coding agents (Claude Code, Codex, Antigravity CLI, Kimi Code) without task-specific training, relying solely on test-time compute and isolated sandbox execution.
Q:Where does Smoke Monkey Harness fit in a 3D perception workflow?
Smoke Monkey Harness provides the TypeScript execution loop, permission gating for GPU shell commands, and MCP tool registration needed to run iterative inspect-and-verify perception scripts safely.
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.