Step-by-step guide

Getting a real result out of Agent Workspace and Workflow Studio, one click at a time.

SmartModeler GIS has two ways to get work done, and they answer different questions. Agent Workspace is for “do this one thing to my project”. Workflow Studio is for “build me a process I can keep, adjust and re-run”. This guide walks through both with real screenshots of the interface and prompts you can paste.

The one rule that governs everything Nothing in this plugin touches your project until you click Apply or Run on an approval card. Inspections are read-only, proposals are inert, and every result is a temporary layer until you make it permanent. If you read nothing else, read the card before you click.

Before you start

  1. Install the plugin from the QGIS Plugin Manager, or from the zip via Plugins → Manage and Install Plugins → Install from ZIP. QGIS 3.44 or QGIS 4 is required.
  2. Two toolbar buttons appear. One opens Workflow Studio, one opens the Agent Workspace dock.
  3. Connect an AI provider if you want the assistant to plan for you: AI connections… in the dock header. Without a key the plugin still works — inspections, the whole Studio, running workflows and the offline planner all run locally — but the assistant cannot compose new plans.
Your key stays yours The API key lives in session memory or the optional encrypted QGIS vault. Feature values, source paths, connection URIs and credentials are never sent as tool metadata.

Which one do I use?

You want to…UseBecause
Buffer this layer by 250 m, onceAgent WorkspaceOne reviewed run, result in the Layers panel.
Answer “what is the range of this field?”Agent Workspace, Ask modeRead-only, costs nothing from the action budget.
Restyle a layerAgent WorkspaceA style proposal you can preview and reject.
Build a repeatable multi-step analysisWorkflow StudioA typed graph you can save, edit and re-run on new data.
Hand a process to a colleagueWorkflow StudioExports as a native QGIS .model3.
Have the AI build that graph for youBothAgent Workspace in Current model scope edits the open Studio graph.

Agent Workspace — how it works

The assistant can look at your project, propose one action, and explain itself. It cannot execute anything. Each request runs as a short loop: it inspects with read-only tools, then hands you a proposal; you approve or reject.

1 · Open the dock

1

Click the Agent Workspace toolbar button. The dock opens on the right. The header tells you which profile is connected — Offline means quick inspections work but the assistant needs a connection.

The Agent Workspace dock as it opens: scope and mode selectors, quick inspection buttons, an empty transcript and the message box.
The dock as it opens. Scope and mode sit at the top, the quick inspection row below them, the transcript in the middle, your message box at the bottom.

2 · Choose a scope and a mode

2

These two selectors decide what the assistant can see and how far it may go. Set them before you type.

ScopeWhat it can see and change
ProjectLayers in the project. The everyday choice.
Active layerOnly the layer selected in the Layers panel — no need to name it.
Current modelThe workflow open in Studio. Proposals are graph edits, not runs.
PluginsWhich plugins are installed and what they offer.
Workspace (Developer)Bounded source inspection and exact patches. Not needed for GIS work.
ModeWhat happens
AskQuestions and inspections only. No proposal, no approval card, nothing to click.
PlanA proposal is prepared and shown for review. There is no Apply or Run button.
ActA proposal is prepared and an approval card appears. Still nothing runs until you click.

3 · Ask for one thing

3

Type one operation, name the layer exactly as it appears in the Layers panel, and press Ctrl+Enter. You will see it inspect first — those [tool: …] lines are it reading your project, not guessing about it.

download the buildings in the map extent
The dock transcript showing a request, the assistant's inspections, a validated proposal and a finished run.
A request, the inspections it ran, the proposal, and the finished run. Every line is what actually happened, in order.

4 · Read the approval card

4

This is the moment that matters. The card names the algorithm, every input it will use, and where the output goes. Check the layer is the one you meant and the numbers are the ones you asked for, then click Run.

The approval card: a status line saying nothing has run yet, a risk badge, the algorithm and its exact inputs, and Run and Reject buttons.
The approval card for a reprojection. The status line says nothing has run yet; the risk badge says what it would do; the body lists the exact inputs.

5 · Chain the next step

5

Results arrive as temporary layers, named after what you asked for. Refer to that name in your next message. Keep going one step at a time: a message that asks for four things fails as a whole, while four messages fail cheaply and tell you exactly where.

Reproject before you measure Downloaded data usually arrives in Web Mercator, where area is inflated about 1.76× at Turkish latitudes — a 324 m² building measures 569 m². Say “reproject to the local metric CRS” first. The plugin refuses to measure otherwise, and that refusal is protecting your numbers.

A worked session

Six messages, from an empty project to a classified result. Paste them one at a time, changing the names to match your data.

#What you typeWhat you get
1download the buildings in the map extentA temporary polygon layer of buildings.
2reproject Buildings to the local metric CRSThe same buildings in a metre-based CRS.
3add a decimal column alan_m2 with the area in square metresA new field holding real areas.
4what are the minimum and maximum of alan_m2?An answer, in Ask mode, free of the action budget.
5make a new layer with only the buildings where alan_m2 is 300 or lessA filtered temporary layer.
6classify that layer by alan_m2 with jenks into 5 classesA style proposal you can preview before applying.
Step 4 is the one people skip Asking for the range before you filter is what stops you writing “under 300” against a field whose smallest value is 900. Questions cost nothing.

Phrasings that work

Say thisNot this
Layerreproject Buildings to… — the exact name in the panelreproject this layer — after a few runs there are five similar names
ScopeOne operation per message“download the roads, buffer them, then clip the parcels”
Numbersbuffer by 250 metresbuffer a bit
Fieldsthe field alan_m2the area column when three columns hold areas
Fixesthe field is alan_m2, not alanm2do it properly this time

When you are refused

Most refusals name a specific fact and stop a run that would otherwise have succeeded and handed you a wrong answer. Correct the fact.

MessageWhat it meansWhat to do
A geometry measure was requested on a layer whose CRS does not measure in metresYou are about to measure area in degrees or in Web MercatorReproject to a local metric CRS first
Unavailable algorithm: native:…The assistant guessed an id this QGIS build does not haveNothing — it is told the real candidates and corrects itself
A text parameter value is required (parameter FIELD_TYPE)A parameter was given the wrong kind of valueNothing — the refusal names the parameter and it retries
This workflow receipt does not match the current graphThe graph moved since the plan was writtenNothing — the graph is re-read automatically
Restricted algorithmDeliberately outside what an AI-built workflow may placeChoose another approach; this one will not be unlocked by retrying
A < comparison needs a numeric fieldOn a text field QGIS compares letter by letter, so '1097' < '400'Convert the field, or compare on a numeric one

Workflow Studio — how it works

A workflow is a typed graph: nodes are Processing algorithms, wires carry data, and the types must match — vector cannot feed a raster input, and the Studio will not let you connect them. The graph is inert until you press Run.

1 · Open the Studio

1

Click the Workflow Studio toolbar button. You get the canvas in the middle, the algorithm library on the left, the node inspector on the right, and the AI copilot bar across the top.

Workflow Studio when it opens: empty canvas, algorithm library on the left, node inspector on the right, AI copilot bar at the top.
An empty Studio. The library lists every installed algorithm; the example workflows below it load complete graphs you can take apart.

2 · Describe the workflow you want

2

Two ways in, both ending at an approval card:

  • The copilot bar at the top of the Studio — type what you need and press Ctrl+Enter.
  • Agent Workspace in Current model scope — the assistant edits the open graph and shows you the operations before anything changes.
Calculate slope from the DEM and classify it into planning suitability bands
Agent Workspace in Current model scope with a workflow patch on the approval card: two nodes to add and one connection.
The same dock, in Current model scope. The card lists the exact graph edits — which nodes are added and how they are connected — before any of it happens.

3 · Read the graph you were given

3

Click Apply and the nodes appear, already laid out left to right in the order the data flows. Follow the wires: that is the analysis, and it is now yours to change.

Workflow Studio with a three-node workflow: DEM input feeding Slope, feeding Suitability bands.
A DEM feeding a slope calculation feeding a reclassification. Cards are placed automatically; nodes you have arranged yourself are never moved by a later AI edit.

4 · Inspect and configure a node

4

Select a node to see its parameters and outputs on the right. Press Enter or double-click to open the full parameter form. The outline in the inspector is also the screen-reader path through the workflow.

The node inspector showing the selected node's parameters, outputs and the workflow outline.
The node inspector for the selected node.

5 · Run setup, validate, run

5
  1. Run setup — one dialog listing every input the workflow still needs. This is where you choose the actual layers; the AI never binds your data for you.
  2. Validate — checks types, required inputs and connections before anything executes.
  3. Run (Ctrl+R) — results are added only after the whole workflow succeeds. Esc cancels.
Results are temporary Anything worth keeping: right-click the layer → Make permanent. Save the workflow itself with Save — it writes a native QGIS .model3 file that opens in the Processing modeler too.

Building one by hand

The AI is optional. Everything it does, you can do directly:

  1. Search the algorithm library (Ctrl+F) and press Enter to add the highlighted algorithm.
  2. Drag from an output port to an input port to connect two nodes, or use Connect nodes (Ctrl+Shift+C) if you prefer not to drag.
  3. Next step buttons above the canvas suggest what usually follows the node you have selected.
  4. F fits the graph to the window; Auto layout re-arranges everything.
The algorithm library panel with its search box, provider groups and the example workflows list.
The algorithm library, with the example workflows underneath.

A worked workflow

Slope suitability, the graph in the screenshots above, from nothing:

  1. Open Workflow Studio on a project that has a DEM.
  2. In the copilot bar: Calculate slope from the DEM and classify it into planning suitability bands
  3. Read the card, click Apply. Three nodes appear, connected.
  4. Select Suitability bands and open its parameter form. Enter your own class breaks — the AI proposes a structure, you own the thresholds.
  5. Run setup → choose your DEM for the raster input.
  6. Validate, then Run.
  7. Save the workflow. Next month, point it at a different DEM.

To extend it, go back to the dock in Current model scope and ask for one more step — “add distance to roads and combine it with the slope bands”. Your existing nodes keep their positions; only the new ones are placed.

Help inside QGIS

You do not have to come back here. The plugin carries a short guide of its own, and both dialogs link to this page.

The in-application Agent Workspace quick start dialog.
Agent Workspace → Quick start: the five rules and a set of prompts to paste.

Where to go next

Screenshots on this page are rendered from the shipped interface by docs/build_screenshots.py, so they cannot drift away from the version they document. Example conversations and workflows are illustrative.