← Agents catalog

draw.io diagrams

v1.0.0 artifacts native drawio in the platform 0.9 KB

Included in the platform · also .usagent

artifact-drawio.usagent

SHA-256 · 4ad6a365843e…

Download .usagent

What the agent does

The agent gathers the facts, prepares a draft of the graph, checks the labels and connections, then returns a typed description of the diagram. The draw.io file is assembled by the platform.

The package is already part of the UniShift installation. Downloading is only needed to move this version to another installation.

How to install

  1. Download artifact-drawio.usagent.
  2. Open Settings → AI Router → Agents.
  3. Click "Import .usagent" and select the file.
  4. An unsigned package goes to quarantine. An administrator checks it and publishes it.

Running requires an online runner-agent with a capability from the list below. Without a runner the agent is unavailable.

Runner requirements

  • agent.run.v1
  • artifact.diagram.v1

Tools

web_search fetch_url search_knowledge_base search_media

Steps

  1. research

    Collect only facts and media needed for the request.

  2. draft

    Write title and graph.nodes for the requested diagram. Include every box and the edges between them. Never leave nodes empty.

  3. qa

    Reject the draft unless graph.nodes is a non-empty array and every edge from/to matches a node id.

  4. repair

    Return the final JSON only: title plus graph.nodes and graph.edges. No status wrapper and no commentary.

API: GET /api/agents/artifact-drawio · GET /api/agents/artifact-drawio/download