GeoColab: an LLM-based multi-agent collaborative framework for geospatial code generation

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.

Authors

Institutions

Publication Details

Journal
International Journal of Digital Earth
Published
2025-11-06
DOI
https://doi.org/10.1080/17538947.2025.2569405
Citations
2
Primary Topic
Geographic Information Systems Studies
Type
article
Field-Weighted Citation Impact
13.44
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

GeoColab: an LLM-based multi-agent collaborative framework for geospatial code generation

Huayi Wu, Jianyuan Liang, Anqi Zhao, Fengying Jin et al.
2 citations
International Journal of Digital Earth
Geographic Information Systems Studies
13.44
article

GeoColab: an LLM-based multi-agent collaborative framework for geospatial code generation

Huayi Wu, Jianyuan Liang, Anqi Zhao, Fengying Jin, Xuefeng Guan, Zhipeng Gui, Zhangxiao Shen, Shuyang Hou, Yaxian Qing, Haoyue Jiao
article en
2 citations

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.

International Journal of Digital EarthVol. 18(2)
Wuhan University (CN), Institute of Soil and Water Conservation (CN), Center For Remote Sensing (United States) (US), State Key Laboratory of Information Engineering in Surveying Mapping and Remote Sensing (CN), Yellow River Institute of Hydraulic Research (CN)
Openalex Percentile: Top 1%
Geographic Information Systems Studies
13.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.