Search papers, labs, and topics across Lattice.
This paper introduces a dual-helix governance framework to address the limitations of LLMs in agentic WebGIS development, focusing on context constraints, forgetting, stochasticity, instruction failure, and rigidity. The framework uses a 3-track architecture (Knowledge, Behavior, Skills) with a knowledge graph to stabilize execution and a self-learning cycle for knowledge growth. Applied to the FutureShorelines WebGIS tool, the governed agent achieved a 51% reduction in cyclomatic complexity and a 7-point increase in maintainability index compared to a zero-shot LLM, demonstrating the importance of externalized governance.
LLMs alone can't reliably build WebGIS tools; externalized governance using knowledge graphs and structured architectures is key to overcoming context constraints, stochasticity, and other limitations.
WebGIS development requires rigor, yet agentic AI frequently fails due to five large language model (LLM) limitations: context constraints, cross-session forgetting, stochasticity, instruction failure, and adaptation rigidity. We propose a dual-helix governance framework reframing these challenges as structural governance problems that model capacity alone cannot resolve. We implement the framework as a 3-track architecture (Knowledge, Behavior, Skills) that uses a knowledge graph substrate to stabilize execution by externalizing domain facts and enforcing executable protocols, complemented by a self-learning cycle for autonomous knowledge growth. Applying this to the FutureShorelines WebGIS tool, a governed agent refactored a 2,265-line monolithic codebase into modular ES6 components. Results demonstrated a 51\% reduction in cyclomatic complexity and a 7-point increase in maintainability index. A comparative experiment against a zero-shot LLM confirms that externalized governance, not just model capability, drives operational reliability in geospatial engineering. This approach is implemented in the open-source AgentLoom governance toolkit.