PlantUML
$ plantuml Community Low RiskPlantUML (plantuml) renders sequence, class, component, C4, and state diagrams from .puml text descriptions into SVG, PNG, or ASCII art. It includes -checkonly for non-writing validation, though its JVM + Graphviz dependency makes cold starts heavier than Go/Rust tools.
brew install plantuml Local plantuml compiles .puml diagrams directly without sending internal architecture text to external PlantUML rendering servers.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -checkonly, -pipe, -tsvg, and non-zero error exit codes, though JVM startup is slower and output is plain text.
-checkonlyvalidates syntax without side effects-pipesupports stdin/stdout workflows
Modern PlantUML versions enforce security profiles restricting !include file/network access by default.
- Default security profile restricts arbitrary local file inclusion
- Keeps proprietary diagrams offline
Requires a Java runtime (JRE) plus Graphviz dot for non-sequence diagram types.
- JVM + Graphviz dependency chain
Deeply expressive for UML sequence/class/state diagrams and C4-PlantUML.
- Supports UML, C4, JSON/YAML visualization, and ASCII
-tutxt
Long-standing active repository (plantuml/plantuml) under GPL-3.0-or-later.
- Consistent GitHub release cadence
Detailed plantuml.com docs, though command-line flags are scattered across pages.
- Official docs at plantuml.com/command-line
Security, Auth & Guardrails
No credentials required; runs locally on JVM.
Free open-source software (GPL-3.0-or-later).
# PlantUML Agent Rules - Run `plantuml -checkonly <file>.puml` before rendering images. - Always render locally with `plantuml` rather than sending proprietary diagrams to public `plantuml.com` URLs. - Disable remote `!include` URLs (`-DPLANTUML_SECURITY_PROFILE=INTERNET` avoided; keep default strict profile) for untrusted `.puml` files.
Agent-Ready Command Recipes
Safe Read-Only Queries
plantuml -checkonly diagram.puml
Validates .puml syntax and reports line errors with exit code without generating images.
plantuml -testdot
Verifies local PlantUML and Graphviz dot integration.
Controlled Writes & Previews
plantuml -tsvg -o dist diagram.puml
Compiles diagram.puml into an SVG vector image inside the dist directory.
Strengths for Agents
- +
-checkonlyand-testdotgive agents clean preflight diagnostics. - + Industry-standard UML sequence and C4 diagram expressiveness.
- + Local execution keeps proprietary architecture diagrams off public rendering servers.
Caveats & Pitfalls
- ! JVM startup overhead plus Graphviz
dotdependency for many diagram layouts. - ! Lacks structured JSON error output.