Architecture
~8 min readUpdated: December 2026

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

Agentic Geometric Perception Test-Time 3D Program Search in Smoke Monkey

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.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

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.

Key Architectural Takeaways
Quick Implementation Exampleagentic-geometric-perception.ts
agentic-geometric-perception.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Isolated Smoke Monkey Harness orchestrating 3D geometric perception tools per sample
const 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);
Video Guides

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 TaskMetricPrior BestGround-Truth OracleFixed Agent ProgramFull Test-Time Agent
MegaUnScene Relative RotationMRE (deg ↓)11.99 (VGGT)7.1313.377.78 (Gemini 4 Argon: 7.03, 41% ↓)
InFlux Camera IntrinsicsRecall (↑)41.3 (VGGT)47.947.268.3 (+65% relative)
Visual OdometryError (↓)22.819.120.213.5
3D Point TrackingAccuracy (↑)26.429.025.336.0
6D Object Pose (No Boxes)Accuracy (↑)34.439.253.870.8
Stereo MatchingError (↓)4.293.403.190.87
Optical FlowEPE (↓)12.7710.5012.582.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):

bash
# 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 3

Why 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.

Google Search Questions & Answers

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 guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness