Use your own AI app

Create, read and change processes from your own AI app through the Penna connector.

A connected AI app works on processes with the same tools:

  • create_diagram makes a BPMN process unless it's given another kind.
  • get_diagram returns the Flowmark with every element's id, and write_diagram takes Flowmark. edit_diagram takes edits to the elements and to the layout.
  • lookup_guidance has the process topics, such as flowmark for the syntax and modeling-style for the style. The AI is told to look up the syntax before its first write.

See Tools and Guidance topics for the details.