Working with Diagrams

Visualise what your agent (or process) actually does

Every user-defined agent and process can have a diagram — an AI-generated map of the data and actions involved. It's the fastest way to see, at a glance, what an agent touches and how it interacts with the user, the ERP.net Domain API, and its capabilities.

What's in the diagram

The diagram shows:

The AI picks the best Mermaid diagram type per agent — flowchart, sequence, or state — based on what fits the agent's behavior.

Generating and refreshing

Regenerate options

Opening Regenerate reveals two preferences that are saved on the agent and travel with version history:

You can also set both from chat by asking the Agent Builder — for example "stop using colors in the diagram" or "always group ERP entities together".

Regenerate from scratch

If you've accumulated hints over time and want a clean slate, use Regenerate from scratch. A confirmation dialog warns you that stored hints will be cleared and the diagram rebuilt without them. Use this when previous hints are pulling the layout in directions you no longer want.

Fullscreen, print, and PNG export

Diagrams for Processes

Processes use the same diagram tools — and the diagram is usually the point of a Process. If you want to capture an SOP, a checklist, or a flow without anything runnable behind it, create a Process and let the Builder produce its diagram.

Diagrams on the Agents page

The Gallery view of the Agents page shows each agent's latest diagram as a thumbnail. Agents with no diagram yet show a "No diagram yet" placeholder — open the agent and generate one to populate the thumbnail. Shared agents show their owner's diagram (read-only).

Tips