Kroki is an open-source API that generates diagrams from text descriptions. It brings existing renderers such as PlantUML, Mermaid, GraphViz, D2 and Structurizr behind one interface, called through GET and POST requests. Developers and documentation teams use it to add diagrams to documentation or build pipelines automatically. Alongside the hosted service at kroki.io, Kroki can be installed on an organisation's own infrastructure.
Kroki is released under the MIT licence and is built and maintained by Yuzu tech, which the maintainer's website places in Villeurbanne, France. The hosted service uses infrastructure from Exoscale, and the website does not state where the service runs or where data is processed. Organisations that do not want to send diagram source code to an external service can run Kroki themselves. In that way it replaces closed, cloud-only diagram APIs with code the organisation can inspect and operate.