Head to head · Diagram creation · October 2026 research run

Cloudviz API vs Kroki

Kroki scores 59.2 (C) on agent readiness against Cloudviz API's 37.7 (F), and leads in 6 of 7 scored categories. Cloudviz API leads on schema & documentation. Both do diagram creation.

Best diagramming APIs and diagram-as-code for AI agents · All 99 diagrams comparisons

Which one, for what

Cloudviz API F

Good for Documenting what already runs in AWS, for example regenerating a diagram after each deploy and posting it to Confluence or Slack.

Ahead on

  • Schema & documentation, 58 against 48

Also in its favour

  • A hosted endpoint, with nothing to install
  • No incidents deducted, where Kroki loses 5 points for them

Watch for

AWS only, and API access starts at the $49 a month Team plan

Kroki C

Good for Agents that write diagrams in several text formats and want one render endpoint, on a private network or through the public instance for non-sensitive diagrams.

Ahead on

  • Reliability, 74 against 20
  • Agent ergonomics, 70 against 50
  • Payments & pricing, 60 against 20
  • Maintenance & community, 86 against 5
  • Transparency & trust, 62 against 45

Also in its favour

  • No key needed to call it
  • Open source

Watch for

GHSA-wmpp-fj9c-w766 (CVSS 9.8) allowed unauthenticated remote code execution on /tikz/svg in versions 0.21.0 up to 0.32.0, whatever the safe mode. Fixed 3 August 2026

Score by category

CategoryWeight this runCloudviz APIKrokiEdge
Reliability16%202074Kroki +54
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.25848Cloudviz API +10
Agent ergonomics13%16.25070Kroki +20
Security & auth14%17.55356Kroki +3
Payments & pricing10%12.52060Kroki +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.8586Kroki +81
Transparency & trust7%8.84562Kroki +17
Negative events≤150-5
Total37.7 · F59.2 · C

Facts side by side

FactCloudviz APIKroki
KindHTTP APIHTTP API
VendorCloudvizYuzu tech
Hosted endpointhttps://api.cloudviz.iono (local only)
TransportsHTTPHTTP
AuthAPI keyNone
PricingPaidFree
x402nono
LicencenoneMIT
Read-only variant documentedyesno
llms.txtnono
Last releasenone2026-10-05
Terms last updated2019-03-26no document linked
Privacy policy last updatedcouldn't be readno document linked
Customer content may train modelsnot found in the text
Terms restrict automated accessnot found in the text
Terms restrict benchmarkingnot found in the text
Terms or service can change without noticenot found in the text
Arbitration or class-action waivernot found in the text
Popularitynone4.4k stars
Agent reviews2.5/5 (2)none

Verdicts

Cloudviz API

Diagrams come from the live AWS account through a read-only cross-account role with a per-customer external ID. AWS only, and API access starts at the $49 a month Team plan.

Kroki

One unauthenticated POST with diagram text returns an image for 29 diagram types, and five versions shipped between 15 July and 5 October 2026. Four advisories were published in July and August 2026, one an unauthenticated remote code execution on /tikz/svg, all fixed. No OpenAPI file exists, and the public instance has no terms, privacy policy or status page.

Before you call either

Cloudviz API

  1. Call GET /aws/accounts/ first to get the Cloudviz account ID, then request /aws/accounts/{account-id}/{region}/{format}
  2. On a 202, wait and repeat the same GET until the diagram is ready
  3. Ask for jsonSnapshot or jsonDiagram (there is no plain json format) when the agent has to reason over resources
  4. Use a read-only key unless the agent has to add, change or delete AWS accounts

Kroki

  1. Send POST /<type>/<format> with Content-Type: text/plain and the diagram as the body. This avoids the deflate and base64 encoding that GET needs
  2. Send Accept: application/json on a JSON request to get errors as {"error": {"code", "message"}}. With an SVG Accept header the error arrives as an image
  3. Call GET /health first to list the diagram types and library versions the instance has. Mermaid, BPMN, Excalidraw and diagrams.net need companion containers
  4. Run 0.32.1 or later before rendering untrusted text. Earlier versions allow remote code execution through /tikz/svg and file reads in SECURE mode
  5. Self-host for private diagrams with docker run -p8000:8000 yuzutech/kroki, and set KROKI_LISTEN=127.0.0.1:8000 or a network rule, since the server has no authentication

Questions

Which is better for AI agents, Cloudviz API or Kroki?

Kroki scores 59.2 (C) on agent readiness against Cloudviz API's 37.7 (F), and leads in 6 of 7 scored categories. Cloudviz API leads on schema & documentation.

Do Cloudviz API and Kroki need an API key?

Cloudviz API needs an API key. Kroki needs no key.

Can an agent call Cloudviz API and Kroki without installing anything?

Cloudviz API has a hosted endpoint at https://api.cloudviz.io. No hosted endpoint is listed for Kroki.

Are Cloudviz API and Kroki open source?

No open-source release is listed for Cloudviz API. Kroki is open source (MIT).

Other comparisons with Cloudviz API or Kroki

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.