Manuscript Offprint

arXiv:2611.04977

GeoFaham: Domain-Specialized Multi-Agent Geospatial Analytics for Disaster Response

Muhammad Sohail Danish, Gilles Q. Hacheme, Akram Zaytar, Satej S. Soman, Inbal Becker-Reshef, Juan Lavista Ferres, Salman Khan, Girmaw Abebe Tadesse

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Real-world geospatial decision support requires more than single-step retrieval or code generation. Disaster-response questions often involve multi-source workflows that combine spatial databases, map-derived features, satellite imagery, raster products, and reusable geospatial artifacts, where correctness depends on preserving spatial scope, temporal context, and intermediate execution state. While large language models and coding agents offer a promising interface for such workflows, they struggle with geospatial-specific failure modes, including handling large artifacts, selecting the wrong evidence source, losing spatial or temporal metadata, and applying invalid geometric operations. We introduce GeoFaham, a domain-specialized multi-agent system for geospatial disaster analytics. GeoFaham decomposes workflows into specialist agents for vector operations, map feature retrieval, imagery discovery, and raster analysis, coordinated by an Orchestrator with a dual-ledger control loop for dependency-aware planning, progress tracking, validation, and replanning. To support artifact-centric collaboration, GeoFaham uses a Response Store that persists full geospatial outputs and typed metadata outside the LLM context window while agents exchange compact identifiers and summaries. We also introduce GeoFaham-Bench, a 40-task benchmark grounded in 17 real-world disaster records, designed to evaluate multi-step geospatial reasoning, cross-source integration, raster-vector computation, artifact generation, and recovery under non-rigid ground truth. We evaluate GeoFaham on GeoFaham-Bench against strong general-purpose coding-agent baselines, including Codex, Claude Code, and OpenCode. GeoFaham achieves the best overall performance, scoring 0.940 versus the next-best 0.879, while using 7.5 times fewer tokens. Our code and benchmark are publicly available at https://github.com/microsoft/GeoFaham.

Keywords: Remote Sensing, Geospatial AI, Agentic AI

1. Introduction

Geospatial decision-making during disasters often requires executing complex, multi-source workflows rather than retrieving a single fact or generating an isolated map. This challenge is especially pronounced for policymakers and emergency-response teams in the Global South, where access to technical expertise, computational resources, and integrated geospatial infrastructure can be limited (Chen, Shirazi, and Wang 2021; Villagran de Leon 2023). Answering an operational question may involve identifying the correct disaster extent, retrieving relevant infrastructure and road networks, selecting satellite imagery from appropriate pre- and post-event periods, performing spatial and raster operations, and producing reusable outputs such as maps, tables, GeoJSON layers, or GeoTIFFs. For example, determining whether hospitals near a flood remain potentially accessible requires combining hazard boundaries, healthcare facilities, and transportation networks while preserving

Muhammad Sohail Danish§ et al.

Figure

Figure 1. GeoFaham overview. An Orchestrator coordinates four domain-specialized agents (Vector/PostGIS, Maps/OSM, STAC imagery retrieval, and Raster code generation) using nested control loops. The outer loop produces a task ledger and dependency-aware plan, while the inner loop tracks execution in a progress ledger with validation and replanning. Agents persist large geospatial outputs to a Response Store and exchange only compact identifiers and typed metadata through the Orchestrator.

valid spatial reference and distance calculations. Although GIS experts can manage these dependencies explicitly, natural-language systems must coordinate them automatically. A failure at any step such as selecting the wrong spatial extent, time window, or coordinate system can produce a plausible but operationally incorrect result.

Recent advances in large language models (LLMs) have enabled agentic systems that can autonomously plan, invoke tools, and adapt to intermediate observations (L. Wang et al. 2024; Xi et al. 2025). While such systems have shown strong performance on text-centric multi-step tasks, applying them to geospatial analytics introduces three key challenges. (i) Domain complexity: geospatial reasoning requires specialized knowledge of spatial databases and coordinate systems, satellite imagery and spectral information, map-derived data, and raster analysis. (ii) Data heterogeneity: operational pipelines combine vector layers, multi-band raster imagery, tabular summaries, and temporal products, each requiring distinct tools, formats, and validation procedures. (iii) Scale and context: geospatial artifacts can be large; GeoJSON layers may contain thousands of features, while raster products can reach gigabytes. Passing complete intermediate results through LLM context windows is therefore impractical, even though downstream correctness depends on preserving metadata such as coordinate reference systems, band names, acquisition timestamps, and spatial bounds.

General-purpose coding agents provide a promising execution framework for addressing these challenges. By decomposing tasks, generating and executing code, inspecting outputs, and revising plans based on intermediate observations, they offer a natural foundation for geospatial decision support. A straightforward approach is therefore to equip such an agent with geospatial libraries, spatial databases, map APIs, and satellite imagery catalogs, and ask it to solve geospatial workflows end-to-end. However, disaster-response workflows introduce failure modes that are not captured by successful code execution alone. An answer may appear fluent and its code may execute successfully, while the underlying analysis remains incorrect because the agent selected the wrong disaster footprint, used an inappropriate spatial boundary, searched imagery outside the relevant event window, computed distances in an invalid CRS, or relied on an intermediate artifact that was planned but never produced.

To address these challenges, we introduce GeoFaham (Figure 1), a domain-specialized multi-agent system for geospatial disaster analytics. Rather than relying on a single generalist agent with broad tool access, GeoFaham decomposes geospatial workflows into four specialized roles defined by data source and operation type: structured spatial data querying, map feature retrieval, satellite imagery discovery, and raster analysis. A central Orchestrator coordinates these agents through a dual-ledger control loop. The outer loop extracts structured task facts and constructs a dependency-aware plan, while the inner loop tracks execution progress, verifies that required artifacts have been produced, and replans when execution stalls or a dependency cannot be satisfied.

A key feature of GeoFaham is artifact-aware collaboration. Agents do not pass large coordinate arrays, raster data, or complete imagery payloads through the LLM context. Instead, full outputs are persisted in a working memory called the Response Store, while the Orchestrator exchanges compact response identifiers and typed metadata. Agents reason over schemas, summaries, spatial bounds, temporal ranges, and band metadata, while deterministic geospatial engines operate on the full artifacts. This design reduces context overhead, reduces the risk of critical spatial and temporal metadata loss, and keeps downstream computation grounded in the full artifacts.

Existing geospatial benchmarks evaluate remote-sensing tool use and geoprocessing workflows (Shabbir et al. 2025; Kao et al. 2025; Krechetova and Kochedykov 2025; Q. Zhang et al. 2025), but do not fully capture cross-source w9orkflows that require coordination across heterogeneous geospatial data, intermediate artifact handling, and recovery from spatial or temporal execution failures. We therefore introduce GeoFaham-Bench for evaluating multi-step geospatial disaster workflows. GeoFaham-Bench contains 40 natural-language tasks grounded in 17 real-world disaster records spanning fires, floods, hurricanes, cyclones, earthquakes, and tornadoes. Each task captures an operational workflow relevant to GIS analysts, humanitarian workers, or government decision-makers. The tasks require integration across disaster databases, OpenStreetMap features (OpenStreetMap contributors 2025), satellite imagery catalogs, and raster products, together with operations such as spatial joins, aggregation, ranking, and artifact generation. Because multiple valid execution traces may satisfy the same task, GeoFaham-Bench uses a non-rigid evaluation protocol that checks spatial, temporal, methodological, and output-level invariants rather than enforcing an exact execution trace.

We evaluate GeoFaham on GeoFaham-Bench against three strong general-purpose coding-agent baselines: Codex (OpenAI 2025), Claude Code (Anthropic 2025), and OpenCode (OpenCode Contributors 2025). GeoFaham achieves an overall score of 0.940, compared with 0.879 for Codex, the best-performing baseline, while using approximately 7.5 times fewer reported tokens. Its largest gains occur in data selection correctness and spatial-temporal logic, improving over the best baseline by 11.9 and 13.9 points, respectively. These results suggest that GeoFaham's advantage does not arise simply from better code generation, but from its combined domain-specialized, validation-aware, and artifact-preserving design.

Our contributions are as follows.

  1. We introduce GeoFaham, a domain-specialized multi-agent architecture for geospatial disaster analytics that decomposes workflows into bounded specialist roles and coordinates them through validation-aware orchestration.

  2. We introduce a Response Store for artifact-aware collaboration that enforces a boundary between LLM reasoning and geospatial computation: agents exchange compact identifiers and typed metadata, while raw geometries, rasters, and imagery payloads remain outside the LLM context.

  3. We introduce GeoFaham-Bench, a 40-task benchmark grounded in 17 real-world disaster records spanning fires, floods, hurricanes, cyclones, earthquakes, and tornadoes. It evaluates multi-step geospatial reasoning, cross-source integration, raster-vector computation, and artifact generation using a non-rigid evaluation protocol.

  4. We demonstrate that GeoFaham outperforms strong general-purpose coding-agent baselines while using substantially fewer tokens, with the largest gains concentrated in data selection and spatial-temporal reasoning.

Muhammad Sohail Danish §^{§} et al.

References (77)