Agentic
Exit map
Every way the system can stop. Usually the most revealing one to draw.
- Format.puml
- Length48 lines
- LibraryAgentic notation
The source
48 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 Support assistant — exit map
' VIEWPOINT: Exit map — every way out, and where each one goes. Exits are the
' metric surface: containment is computed from them, and it is the number the
' business asks about. All eleven types exist in the notation so the renderer
' can list the ones you did NOT model — a drawing has no opinion about what
' isn't on it. One macro each, so the set is discoverable by typing "Exit_":
' Exit_Complete Exit_AgentTransfer Exit_Human Exit_Guardrail
' Exit_Refusal Exit_Budget Exit_Loop Exit_Context
' Exit_Interrupt Exit_Retries Exit_Timeout
' A bare Exit() is one whose type has not been decided yet, and the renderer
' says so rather than guessing.
' DONE WHEN: all eleven have been considered, and the omissions are deliberate.
Actor(customer, "Customer")
Channel(inbound, "Inbound", "chat · carries question")
Agent(assistant, "Assistant", "opus-5 · max 8 cycles")
Exit_Complete(done, "Answered")
Exit_Human(human, "Escalate to a human")
Exit_AgentTransfer(agent2, "Passed to billing agent")
Exit_Guardrail(blocked, "Blocked by guardrail")
Exit_Refusal(refused, "Model refused")
Exit_Budget(budget, "Budget exhausted")
Exit_Loop(loop, "Cycle limit hit")
Exit_Context(ctx, "Context exceeded")
Exit_Interrupt(interrupt, "Caller hung up")
Exit_Retries(retries, "Retries exhausted")
Exit_Timeout(timeout, "Upstream timeout")
Rel(customer, inbound)
Rel(inbound, assistant)
Rel_LLM(assistant, done, "question fully answered")
Rel_LLM(assistant, human, "needs a judgement call")
Rel_Expr(assistant, agent2, "intent == 'billing'")
Rel_Expr(assistant, blocked, "classifier == 'unsafe'")
Rel_Expr(assistant, refused, "stop_reason == 'refusal'")
Rel_Expr(assistant, budget, "tokens_used > 200000")
Rel_Expr(assistant, loop, "cycles >= 8")
Rel_Expr(assistant, ctx, "context_used > 0.95")
Rel_Expr(assistant, interrupt, "channel_closed == true")
Rel_Expr(assistant, retries, "tool_retries >= 3")
Rel_Expr(assistant, timeout, "tool_latency_ms > 30000")
@endumlRender this offline
This template ships in Gnomon and renders on your machine, with no account and no diagram uploads. The browser editor is free and needs no install.
Others in Agentic architecture diagrams
- Agentic — L1 LandscapeL1: the whole estate. Which agents exist and who talks to whom.
- Agentic — L2 Topology (router)L2: a router topology, where one agent dispatches to specialists.
- Agentic — L2 Topology (swarm)L2: a peer mesh with handoffs and no central coordinator.
- Agentic — L2 Capability matrixL2: what each agent may call, read and load. No sequence.
- Agentic — L3 FlowL3: one journey end to end, including how it exits.
- Agentic — L4 Control planeL4, the hook plane on its own: what runs before and after each turn.
- Agentic — Trust boundaryWhere untrusted input crosses into privileged capability.