GISclaw:一个基于大语言模型的开源代理系统,用于全栈地理空间分析
GISclaw: An Open-Source LLM-Powered Agent System for Full-Stack Geospatial Analysis
AI总结:
GISclaw通过集成LLM推理核心、Python沙盒、开源GIS库和交互界面,实现多数据类型的全栈地理空间分析,采用双代理架构和三种创新机制,提升任务成功率至96%。
摘要:
大语言模型(LLMs)与地理信息科学的结合为自动化复杂地理空间分析开辟了新途径。然而,现有基于LLM的GIS代理受限于数据类型覆盖有限(仅向量数据)、依赖专有GIS平台以及单模型架构,无法系统比较。我们提出了GISclaw,一个开源代理系统,整合了LLM推理核心、持久Python沙盒、全面的开源GIS库(GeoPandas、rasterio、scipy、scikit-learn)以及基于网页的交互界面,实现涵盖向量、栅格和表格数据的全栈地理空间分析。GISclaw实现了两种可插拔的代理架构——单代理ReAct循环和双代理计划-执行-重计划流程,并支持六个异构LLM后端,从云托管的旗舰模型(GPT-5.4)到本地部署的14B模型。通过三种关键工程创新——模式分析弥合任务-数据信息缺口、领域知识注入用于领域特定工作流、以及错误记忆机制用于智能自我纠正,GISclaw在50任务GeoAnalystBench基准上实现了高达96%的任务成功率。系统性评估600个模型-架构-任务组合显示,双代理架构在削弱模型上提供边际收益,但会削弱强模型。我们进一步提出一个三阶评估协议,包含代码结构分析、推理过程评估和类型特定输出验证,用于全面评估GIS代理。系统和所有评估代码均已公开。
英文摘要:
The convergence of Large Language Models (LLMs) and Geographic Information Science has opened new avenues for automating complex geospatial analysis. However, existing LLM-powered GIS agents are constrained by limited data-type coverage (vector-only), reliance on proprietary GIS platforms, and single-model architectures that preclude systematic comparisons. We present GISclaw, an open-source agent system that integrates an LLM reasoning core with a persistent Python sandbox, a comprehensive suite of open-source GIS libraries (GeoPandas, rasterio, scipy, scikit-learn), and a web-based interactive interface for full-stack geospatial analysis spanning vector, raster, and tabular data. GISclaw implements two pluggable agent architectures -- a Single Agent ReAct loop and a Dual Agent Plan-Execute-Replan pipeline -- and supports six heterogeneous LLM backends ranging from cloud-hosted flagship models (GPT-5.4) to locally deployed 14B models on consumer GPUs. Through three key engineering innovations -- Schema Analysis bridging the task-data information gap, Domain Knowledge injection for domain-specific workflows, and an Error Memory mechanism for intelligent self-correction -- GISclaw achieves up to 96% task success on the 50-task GeoAnalystBench benchmark. Systematic evaluation across 600 model--architecture--task combinations reveals that the Dual Agent architecture consistently degrades strong models while providing marginal gains for weaker ones. We further propose a three-layer evaluation protocol incorporating code structure analysis, reasoning process assessment, and type-specific output verification for comprehensive GIS agent assessment. The system and all evaluation code are publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。