Repository navigation
Home
Cartogen AI is a spatial AI agent that lives inside QGIS (4.2 and later, Qt 6). Describe a mapping or analysis task in plain language; it plans the steps, runs real operations against your open project, and shows every tool call, result and error instead of handing back a black box.
Version 1.18.5 · 335 tools the agent can call · 857 tasks in the humanitarian task register (49 sections) · providers offered: OpenRouter, Google Gemini, Ollama (local) · 6,993 automated test functions in 613 files · free and open source, GNU GPL v2.
Honest status. The automated tests and the QGIS 4.2.2 live tests run on every change and pass, but only part of the plugin has been hand-tested by a person in desktop QGIS. Each release says plainly what was and was not verified; see Status and open work.
- Install: get the release zip into QGIS, the right way, and avoid the one install mistake that breaks it.
- Quick start: pick a provider, paste a key, and run your first request in five minutes.
- User guide: the chat, task plans, project memory, attachments, destructive-action prompts and settings.
- Tool reference: every tool, its arguments and what it does, generated from the live registry.
- Troubleshooting
- Architecture overview: the layers, the main components and how a request travels through them.
- The agent loop: one request, round by round: model calls, tool calls, guards and the final answer.
- Threads, tasks and Stop: how long analyses stay off the GUI thread and how Stop is heard.
- Guards and honesty checks: what stops the assistant from inventing results or acting without consent.
- The six workflows: rapid mapping, MSNA, logistics, severity (JIAF-style), allocation and anticipatory action.
- Task register: the mapping tasks the plugin matches your request against, locally.
- External data sources: HDX, OpenStreetMap, GDACS, USGS, UCDP, NASA and more: what each tool reads, and what needs a key.
- What leaves your machine: exactly what is sent to a model provider, and the settings that limit it.
- Multi-provider. OpenRouter, Google Gemini or a local Ollama server. You bring your own key; Ollama needs none and nothing leaves your machine.
-
Native to QGIS. Tools use PyQGIS and Processing; two analyses are also registered as Processing algorithms, so they work in the Toolbox, the Model Designer and
qgis_process. - Transparent. A request that matches a known task shows you the exact prompt and why before anything is sent. Multi-step requests get a visible plan. Every tool call is listed; failures are reported, not hidden.
- Careful by default. Model-written Python runs in an isolated process with a restricted set of names. Destructive edits need a confirmation the model cannot give itself. Fetched URLs are checked against private addresses at every redirect.
- Free and open. GNU GPL v2 only. No account, no licence key, no tier-gating anywhere in the repository.
The source code, releases and issue tracker are in the repository.
Cartogen AI 1.18.5 · generated from the repository at commit 26536e9f75 on 2026-11-12 · this wiki is rebuilt on every merge to main; edits made in the browser are overwritten, so correct the source files instead.
Get started
How it works
- Architecture overview
- The agent loop
- Threads, tasks and Stop
- Tools and routing
- Providers and networking
- Memory, state and results
- Guards and honesty checks
- The dock and dialogs
- Processing provider
Tools and data
- Tool reference
- AI Imagery Feature Extraction
- Data Analysis & Prediction
- Database & Workflows
- Export & Reporting
- Humanitarian Data (HDX / OSM / geoBoundaries)
- Humanitarian Logistics
- Monitoring & Scheduling
- Print Layouts
- Project Management
- Raster
- Reporting & Document Analysis
- Satellite Imagery & Vision
- Styling & Labeling
- System, Search & Scripting
- Task & Memory Management
- Vector & Geoprocessing
- More tools, by module
- Task register
- External data sources
Humanitarian GIS
Security and privacy
Develop
Project