A comprehensive guide to software diagrams

ECOSYSTEM research · Computer Science

Here is a syntax guide for the core diagram types discussed, focusing on Mermaid and PlantUML —the two text based formats most useful for agentic coding. The goal is to provide a high signal, machine readable specification that an AI agent can implement against, and that you can version, review, and validate in CI.

Sequence Diagrams

Sequence diagrams are the workhorse for agentic systems: they make handoffs, message order, and retries explicit.

Mermaid Syntax

A sequence diagram starts with sequenceDiagram . Participants are auto detected in order of appearance, or declared explicitly with participant or actor .

mermaid

sequenceDiagram

participant Alice

Back to ECOSYSTEM research