Model/dataset JSON configs, environment-variable overrides, and the list of supported benchmarks.
⬅ Main README · Prev: « Monitoring & logs · Next: Architecture »
Loading priority (highest first): CLI args > Model/Dataset JSON > Environment variables > Defaults.
{
"llm_model": "qwen3.5-397b-a17b",
"llm_base_url": "vllm",
"llm_api_key": "bearer",
"roles": {
"main": { "max_tokens": 131072, "temperature": 0.6, "enable_thinking": true },
"planning": { "max_tokens": 131072, "temperature": 0.6, "enable_thinking": true },
"vlm": { "max_tokens": 32768, "temperature": 0.6, "enable_thinking": true },
"vlm_grounding": { "max_tokens": 16384, "temperature": 0.6, "enable_thinking": true },
"general": { "max_tokens": 131072, "temperature": 0.6, "enable_thinking": false }
}
}llm_base_url: "vllm"— auto-discover endpoints fromspatial_agent/logs/serve.json(load-balanced, sticky-session for prefix cache hits). With this base URL,llm_modelmust be theserved_namefromvllm_manager/models.json(e.g.qwen3.5-397b-a17b), not the HuggingFace path.llm_base_url: "https://..."— call any OpenAI-compatible HTTP endpoint. Herellm_modelis whatever model identifier that endpoint expects (e.g.gcp/google/gemini-3-pro).llm_api_keyaccepts${ENV_VAR}and${ENV_VAR:-default}substitution; secrets stay in.env(see Installation → API Keys).roles.*— per-role hyperparameters (main,planning,vlm,vlm_grounding,general,reflection).
Per-benchmark settings: data paths, question types, frame sampling, tool list, agent-loop caps.
Any SpatialAgentConfig field can be overridden via SPATIAL_AGENT_<FIELD>=.... Examples:
export SPATIAL_AGENT_CONCURRENCY=16
export SPATIAL_AGENT_MAX_STEPS=30
export SPATIAL_AGENT_RECONSTRUCT_BACKEND=da3 # or pi3All 20 paper benchmarks ship as ready-to-run dataset configs under spatial_agent/config/dataset/:
| Category | Benchmarks |
|---|---|
| Single-image spatial reasoning | ERQA, Omni3D, OmniSpatial, SPBench |
| Multi-view spatial reasoning | MindCube, MMSI, SPAR-Bench |
| General spatial reasoning | BLINK, SpatialTree, ViewSpatial |
| Video spatial & 4D reasoning | MMSI-Video, OSI-Bench, PAI-Bench, VSI-Bench-U, VSTI-Bench, DSI-Bench |
| General video understanding | CV-Bench, PerceptComp, Video-MME, Video-MME-v2 |
See spatial_agent/evals/ for the corresponding loaders and scoring scripts.
Next: Architecture »