Agentic

L2 Topology (swarm)

L2: a peer mesh with handoffs and no central coordinator.

Agentic — L2 Topology (swarm): rendered example
Rendered by Gnomon from the source below. No edits.

The source

41 lines of PlantUML, and pulls in Agentic notation. Copy it, or open the template inside Gnomon and render it as it is.

@startuml
!include <agentic/core>

title Incident response — swarm topology

' VIEWPOINT: Topology, choreographed end. There is NO author-defined path here:
' peers decide at runtime who takes over. Read every Handoff as "MAY hand to",
' never "then" — the renderer lays this out with a force algorithm precisely so
' the y-axis cannot be mistaken for a sequence.
' DONE WHEN: no edge in the mesh implies an order the runtime does not enforce.
'
' Delegate hands work down and EXPECTS IT BACK; Handoff means a peer takes over
' and does not return. A swarm is made of the second kind.

Actor(monitoring, "Monitoring", "external system")
Channel(alert, "Alert", "event · carries service, severity")

Agent(triage, "Triage", "entry peer · opus-5")
Agent(logs, "Log analyst") {
  Tool(t_query, "Query telemetry")
}
Agent(mitigate, "Mitigator") {
  Tool(t_rollback, "Rollback release")
}

Exit_Human(oncall, "Escalate to on-call")
Exit_Complete(resolved, "Resolved")
Exit_Budget(budget, "Budget exhausted")

Rel(monitoring, alert)
Rel(alert, triage)

Handoff(triage, logs, "needs telemetry")
Handoff(triage, mitigate, "cause is obvious")
Handoff(logs, mitigate, "cause identified")
Handoff(mitigate, logs, "verify recovery")

Rel_LLM(triage, oncall, "SEV1 and cause unknown")
Rel_LLM(mitigate, resolved, "healthy for 10 minutes")
Rel_Expr(logs, budget, "tokens_remaining < 20000")
@enduml

Render this offline

This template ships in Gnomon and renders on your machine, with no account and nothing sent to a server. The browser editor is free and needs no install.

Get GnomonOpen the browser editor

Others in Agentic architecture diagrams