Repository navigation
Quick start
This page comes from
site/content/quick-start.mdin the repository and is regenerated on every merge tomain. To correct it, edit that file; changes made here are overwritten.
This takes about five minutes. You need the plugin installed (Install) and either an API key or a local Ollama server.
Click the Cartogen AI toolbar button, or use the Plugins menu. The panel is a dock: drag it to float it or dock it left or right. The first time, a short welcome dialog asks your role, QGIS experience and preferred answer style. It is optional (Skip for now), and the answers are saved as a plain user_profile.md in your QGIS profile folder that you can edit.
Click ⚙ Settings in the panel header.
| Provider | Key | Notes |
|---|---|---|
| OpenRouter | https://openrouter.ai/keys | Has a free tier that covers many models; a good default if you have no other key. |
| Google Gemini | https://aistudio.google.com/apikey | Free and paid plans differ in which models they allow. |
| Ollama | none | A local server: enter its endpoint URL. Nothing leaves your machine. |
Paste the key. The model list refreshes when you tab out of the field. Leave the model on Auto and the plugin sends simple requests to a cheaper, faster model and complex multi-step ones to a stronger model (Ollama always uses the model you pick). Click OK. You can switch providers later from the small dropdown in the panel header.
Keys are stored in QGIS's encrypted Authentication Manager. If it is unavailable, the key is held in memory for the session only and Settings warns you; it is never written to disk in plain text. See Security overview.
The repository ships a tiny synthetic project, docs/release_smoke_assets/inputs/smoke_start.qgz, with seven layers around Amman. It is the same data the live test pack uses, so you can compare your results with documented ones. Use a copy, not the original.
Type in the chat box and press Enter. Good first requests:
- List all layers in the project. (Answered in the panel without a model call.)
- Buffer smoke_points by 500 meters and add the result as smoke_points_buffer_500m.
- Rank the three hub candidates in smoke_hubs by average distance to the points in smoke_points.
- Apply a visible multicolor stretch to smoke_dem using its real pixel-value range.
- A task preview, sometimes. If your request matches a task in the task register, the panel shows the exact prompt it is about to send and why (which task, how confident, what you will get). Reply "yes" to send it, type your own wording to send that instead with nothing added, or "cancel".
- A plan strip for multi-step requests, with progress and retry.
- Tool-call steps listed under the reply (for example "Optimal hub siting"). Expand Details to see arguments and errors. A step that failed is marked and quoted, and the reply is checked against it.
- A confirmation card before anything destructive (removing a layer, editing an attribute table in place). Only your click approves it.
- A footer with what the request used (calls and tokens). Stop cancels a running request.
- User guide: attachments, project memory, sensitive points, dashboards, monitoring.
- Troubleshooting if something does not behave.
- The agent loop for what happens between your request and the answer.
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