Skip to main content

Agent sidebar

The agent is a chat next to your work. Tell it in your own words what you want and it edits the diagram for you: it creates nodes, connects them, fills in their parameters, validates the result and runs it. You watch the changes appear on the canvas, and you stay in control: every request can be undone, and anything with an effect on the outside world asks you first.

The sidebar is part of the diagram editor, the debugger and the template editors. It is also available in the community edition.

What you can ask​

  • Explain. Explain what the diagram I have open does, step by step, as if I were new to the company.
  • Check. Validate the open diagram. List everything that would stop it from running, fix what is clearly a mistake and ask me about anything you are unsure of.
  • Build. Create a diagram that reads customers.csv, keeps the rows where country is "DE" and writes them to german_customers.csv.
  • Change. Add a decision after the first step that checks the variable approved.
  • Test. Start the open diagram as a dry run, show me the log and tell me which steps would have contacted the outside world.
  • Debug. List the recent runs, take the failed one, read its log, tell me which node failed and why, fix the diagram and run it again.
  • Document. Write a few lines of notes for this diagram: what it is for and what is still open.

You do not have to save the diagram first. The agent works on what you see in the editor, including unsaved changes. A diagram stored outside your resource folders cannot be worked on; use Save as to store it in one.

The buttons​

ButtonWhat it does
Light bulbShows the example projects instead of the chat.
New chatKeeps a copy of the conversation and starts an empty one.
ToolsLists the tools of this project and lets you switch them on or off.
LibrariesMounts other folders read-only, so the agent can read them as @name/... and learn from them but never change them.
SettingsChooses the model and, side by side, the Max rounds (how many steps the agent may take per request) and the Time limit (minutes per request). Raise them when the agent stops before it is done; every step is a call to the model. See models for the agent.

Send with the button or Ctrl+Enter. Stop ends a request while it runs. If the agent stops after the maximum number of rounds, press Continue.

Every change can be undone​

Below the chat a change list shows one line per request: what the agent changed, and in which diagram. The arrow next to a line undoes the whole request at once. The list stays even if you later remove the message from the chat. Changes to e-mail templates and company data appear in the same list and can be undone there as well.

You can also click one of your earlier messages and edit it. Sending the edited text replaces it and removes everything after it from the chat. You are asked whether to keep a copy of the conversation first. Changes the agent already made stay; use the change list to undo them.

The agent asks before it acts​

Actions with an effect outside of the diagram, for example starting a run that really sends e-mail, ask for your approval in the chat. You choose:

  • Allow this once,
  • This session: allow it for the rest of the session,
  • Always: allow it in this folder and below. You can remove the permission in the user settings,
  • Deny.

Dry runs never contact the outside world, so you can try ideas freely.

A chat that sleeps​

Some work has to wait: a new row in a file, an incoming e-mail, a click. Tell the agent what to watch for and it sets up the listener, puts the chat to sleep and continues by itself when the event arrives. The sidebar shows Sleeping since ..., waiting for ... and offers Stop waiting.

I want you to watch for a new row in incoming.csv. Set up whatever is needed, put this chat to sleep and continue by yourself when a row arrives: summarize it and tell me what you would do.

Example projects​

The light bulb opens a searchable list of more than a hundred requests. Each has a title, a level (beginner, intermediate, advanced), tags and the request itself. Pick one and it is put into the input field, ready to send or to adapt. The list depends on where the sidebar is:

  • Diagrams (43 projects): from a first greeting to a complete support desk or a web-shop order pipeline.
  • E-mail templates (30): welcome mails, order confirmations, payment reminders, dark mode, mobile layout, an audit of all templates.
  • Input pages (30): contact forms, surveys, validation rules, accessibility, multi-step onboarding.

Your own tools​

Diagrams in the folder mcp/tools of a project (or of the root) become tools of the agent. A tool diagram takes parameters, does something (look up a customer in a CSV file, create a ticket) and returns a result. The description of the diagram is the manual the agent reads, so write it for a colleague. Tools you add are first offered with real runs asking for approval; in the Tools dialog you can switch a tool off, or take the approval back with Ask again.

Choose the model​

The agent uses the language model configured in the System Settings: a local model through Ollama or llama.cpp or an OpenAI-compatible service. Larger models follow longer requests more reliably. The agent needs a model with tool calling and a context window of at least 16k tokens (32k recommended); which models work well and what to do when the agent stops or answers with nothing is in Which model for the agent?. If you use a service in the cloud, the text of your requests and the diagram go to that service, see privacy.

Other AI clients​

The server also offers the diagram tools through the Model Context Protocol (MCP) with API tokens, so that an AI client of your choice can edit and run diagrams in the same way. Everything above, from approvals to undo, applies to the sidebar; an external client has its own rules.

Good to know​

  • The community edition limits diagrams to 20 nodes; an edit that would exceed it is rejected as a whole and the agent is told why, see editions.
  • Credentials never belong in a request. Use secrets: the agent writes only the name.
  • The agent is a helper, not an authority. Check what it built; the debugger and the dry run help.