GeoColab: an LLM-based multi-agent collaborative framework for geospatial code generation
Huayi Wu, Haoyue Jiao, Shuyang Hou, Jianyuan Liang, Zhangxiao Shen, Anqi Zhao, Yaxian Qing, Fengying Jin,
Wuhan University · Institute of Soil and Water Conservation
Key points
From the paper's conclusion- Automated geospatial code generation using large language models (LLMs) faces challenges in requirement parsing, syntax adaptation, path retrieval, code validation, and spatial recognition, often leading to ‘code hallucinations.’ To address these, we introduce GeoColab, the first multi-agent framework for geospatial code generation.
Abstract
Automated geospatial code generation using large language models (LLMs) faces challenges in requirement parsing, syntax adaptation, path retrieval, code validation, and spatial recognition, often leading to ‘code hallucinations.’ To address these, we introduce GeoColab, the first multi-agent framework for geospatial code generation. It defines three roles—product manager, algorithm engineer, and programmer—operating under standardized procedures. GeoColab integrates a knowledge support mechanism and retrieval-augmented generation (RAG), utilizing 8,729 function syntax documents, 2,732 datasets, 115 external APIs, 94 projection methods, and 3,837 CRS transformation entries, all stored and accessed via a document management system. We also present the GeoCodes benchmark, with 25 explicit, 15 incomplete, and 10 open-ended tasks. Applied to seven mainstream LLMs, including GPT-4.5 and DeepSeek-V3-0324, GeoColab improves code executability, accuracy, and readability by 7.59%–26.09%, surpassing baselines like CodeCoT and ChatDev by up to 31.03%. Ablation studies show a 4.39%–9.30% performance drop without knowledge modules, highlighting their importance. GeoColab is open-sourced and supports local deployment, reducing technical barriers to geospatial programming and broadening LLMs' use in GIS.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GeoJSON agents: a multi-agent LLM architecture for geospatial analysis—function calling vs. code generationBig Earth Data · 2026
- GeoAgent: a hierarchical LLM-based multi-agent architecture for autonomous spatial analysisInternational Journal of Geographical Information Systems · 2026
- GeoAnalystBench : A GeoAI Benchmark for Assessing Large Language Models for Spatial Analysis Workflow and Code GenerationTransactions in GIS · 2025
- AutoGEEval++: A multi-level and multi-geospatial-modality automated evaluation framework for large language models in geospatial code generation on Google Earth EngineBig Earth Data · 2025
- GeoAgentic-RAG: A Multi-Agent framework for autonomous geospatial reasoning and visual insight generation with LLMInternational Journal of Applied Earth Observation and Geoinformation · 2026
- From Large Language Models to Agentic Systems: A Systematic Review of Generative AI in GIScienceTransactions in GIS · 2026