For Agents
Render source code as DSTU-style flowcharts or Nassi-Shneiderman diagrams in DOCX, SVG, PNG, PDF, or draw.io, singly or in batches, with rombik.
Use for: Draw a flowchart for this Python function, I need a DSTU flowchart of my C++ program as a Word document, Render this Pascal code as a Nassi-Shneiderman diagram, Turn every function in this file into a separate SVG
Not supported: Does not run or test code, host repositories, or draw free-form diagrams from markup. Use for rendering source code into flowcharts and structograms only.
The rombik API turns program source code into algorithm flowcharts drawn to the Ukrainian DSTU standard, using the same engine as the rombik website. It accepts code in languages such as Python, C++, Java, C#, Pascal, JavaScript, Go, and PHP, or rombik's own astJSON format, and exports to formats including DOCX, Visio, draw.io, SVG, PNG, PDF, and Excalidraw. A diagram can be a classic flowchart or a Nassi-Shneiderman structogram, rendered for the whole program, one function, or each function separately. A batch call renders many sources into one multi-page PDF or a ZIP, and a temporary link endpoint shares a result for one hour.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the rombik API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Frombik.app%2Frombik" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Frombik.app%2Frombik" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with rombik API.
Render a flowchart from source code passed as code or fetched from a raw GitHub or Gist url
Choose the output format, including docx, visio, drawio, svg, png, pdf, excalidraw, and gif_anim
Switch between a flow diagram and a Nassi-Shneiderman structogram with the mode field
Render one named function with fn, or every function as a separate file in a ZIP with perFunc
Batch-render up to 100 sources into a single multi-page PDF or a ZIP bundle
Publish a rendered file to a temporary public link that expires after one hour
Read the key's plan and monthly export usage with GET /me
Patterns agents use rombik API for, with concrete tasks.
★ Coding agent that documents algorithms
A coding agent asked to document an algorithm can produce the diagram instead of describing it. Through Jentic it searches for 'flowchart from code', loads rombik's POST /render, and sends the function as code with lang set to python and format set to svg, while the X-API-Key value is added by the developer's own instance. The returned SVG drops straight into the project's docs.
Call POST /render with lang 'python', format 'svg', fn 'bsearch', and the module source as code, then save the returned file to docs/bsearch.svg
Coursework flowcharts in DSTU format
Students in Ukraine often have to submit algorithm flowcharts drawn to DSTU conventions inside a Word report. POST /render with format docx splits tall diagrams into parts joined by connectors by default, and mode nsd produces a Nassi-Shneiderman structogram when the assignment asks for one instead of a flowchart.
Call POST /render with lang 'cpp', format 'docx', and the program source as code, and return the DOCX file
Batch diagrams for a whole repository
Documenting many files at once is one call rather than many. POST /render/batch takes an items array of up to 100 entries, each with code or a url, and returns a single multi-page PDF when format is pdf or a ZIP with one file per item otherwise. With json=1 the response reports each item's result alongside the bundle.
Call POST /render/batch with format 'pdf' and items listing three raw.githubusercontent.com urls, then return the combined PDF
Sharing a diagram in chat
Chat bots and email flows often cannot attach files directly. POST /r stores the bytes returned by /render and gives back a public link that lives for one hour, and GET /r/{token} serves it without a key, opening images and PDFs in the browser.
Call POST /render with format 'png', then call POST /r with the PNG bytes and name 'schema.png' and return the link to the user
15 endpoints — the rombik api turns program source code into algorithm flowcharts drawn to the ukrainian dstu standard, using the same engine as the rombik website.
METHOD
PATH
DESCRIPTION
/render
Render a flowchart from code
/render/batch
Render many sources into one PDF or ZIP
/me
Plan and monthly usage for the key
/r
Create a one-hour public link to a file
/r/{token}
Fetch a file by temporary link
/products
List plans
/skill.md
Agent skill file for the API
/render
Render a flowchart from code
/render/batch
Render many sources into one PDF or ZIP
/me
Plan and monthly usage for the key
/r
Create a one-hour public link to a file
/r/{token}
Fetch a file by temporary link
/products
List plans
/skill.md
Agent skill file for the API
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>What agents get from Jentic-routed access to this vendor.
Setup
Wiring rombik by hand means getting an rk_ key onto a Pro plan, sending it in X-API-Key, handling 402 responses when the plan or monthly allowance runs out, and choosing between file and json=1 responses. Through Jentic you install once, import rombik from the API Directory, store the key once, and your agent calls it.
Permission scoping
rombik takes the code, format, and options in the request body, so limit the agent to the operations it needs, such as single renders. You choose the operations it may call, so ones that spend money or allowance, like POST /topup or POST /render/batch, are not included unless you add them.
Credential isolation
Your rombik key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'flowchart from code' or 'Nassi-Shneiderman diagram', and Jentic returns the matching rombik operation with its input schema, including the lang, format, and mode enums.
Alternatives and complements available in the Jentic catalogue.
Specific to using rombik API through Jentic.
What authentication does the rombik API use?
The rombik OpenAPI spec declares two schemes. ApiKeyAuth is an rk_ API key sent in the X-API-Key header, and the spec's description says the same key can also go in Authorization as a bearer; render, batch, account, and link-creation calls use it. OAuth2 is an authorization code flow with PKCE and OIDC for apps that let users sign in with rombik, and GET /oauth/userinfo requires its openid scope. Some routes, such as GET /r/{token}, GET /skill.md, and GET /oauth/jwks, declare no security at all.
Which languages and output formats does rombik render?
The lang field accepts python, cpp, c, java, csharp, pascal, javascript, typescript, php, go, and rombik for its native astJSON tree. POST /render can export docx, visio, drawio, typst, excalidraw, svg, png, jpeg, webp, gif, gif_anim, html, pdf, json, or poster, and mode chooses between flow and nsd diagrams.
What are the rate limits for the rombik API?
The OpenAPI spec does not state a request rate. It says rendering with a key needs the Pro plan and that each exported file counts against the plan's monthly allowance, returning 402 pro_required or 402 fair_use when those conditions are not met. GET /me shows the current plan and usage; see https://rombik.app/ for plan details.
Is there a rombik MCP server?
You do not need an MCP server to give your agent rombik. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls the render operations as it needs them without another server's tool definitions in its context.
How do I render a flowchart through Jentic?
Search Jentic for 'generate a flowchart from code', load the POST /render operation, and send lang, format, and the source as code, or a url on an allowed host such as raw.githubusercontent.com. Add json=1 to get a JSON body with a content field instead of the raw file. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Can I limit what my agent is allowed to do with the rombik API?
Yes. Write a rule that allows only POST /render and GET /me, so the agent can draw diagrams and check remaining exports but cannot start a plan payment through POST /topup or run large batches, and every call it makes is logged.
GET STARTED