Convilyn for developers
Build on Convilyn.
Convert files, run agentic goal workflows, and extend the platform with your own tools. Python is the supported SDK today; TypeScript is in pre-release and Go is coming soon.
Three ways to work with Convilyn
Pick the track that matches what you're building. They're separate packages so each stays lean — apps that only call the API never pull in the server-side dependencies that workflow authors need, and the device runtime carries no cloud client at all.
Apps, agents, and scripts that call Convilyn — upload
files, run conversions and goal workflows, check quota. Authenticated with a
ck_ key.
Build and deploy your own tool servers Convilyn runs — the gateway calls back into your tools over HMAC-signed requests. Workflows are authored in the chat Builder.
Edge SDKRun on the deviceBuild auditable, offline-capable edge/IoT AI workflows on seven typed primitives — zero runtime dependencies. Runs a workflow on the device (Jetson, AI-PC).
A first conversion
The five-minute hello-world — upload a document, convert it to PDF, download the result.
from convilyn import Convilyn
client = Convilyn() # reads CONVILYN_API_KEY
file = client.files.upload("report.docx")
job = client.convert.create_and_wait(file=file, target_format="pdf")
client.convert.download_to(job, to="report.pdf")TypeScript SDK is in pre-release — see its reference section. Go SDK is coming soon.
SDK matrix
Consumer + Author share one wire contract. Python is the supported pair; TypeScript is in pre-release and Go is coming soon.
| Language | Consumer SDK (use the API) | Author SDK (extend the platform) |
|---|---|---|
| Python — supported | convilyn · uv add --prerelease=allow convilyn | convilyn-author · uv add --prerelease=allow convilyn-author |
| TypeScript — pre-release | @convilyn/sdk · npm install @convilyn/sdk | @convilyn/sdk-author · npm install @convilyn/sdk-author |
| Go | Coming soon | Coming soon |
On the device: the Edge SDK is a third, Python-only,
zero-dependency track — uv add --prerelease=allow convilyn-edge — for building edge/IoT
AI workflows that run on the device. Removable reference Solution Packs build on it
(the flagship reference is pet-monitoring). Each package is published to PyPI / npm;
its source mirrors to a public
GitHub repo (linked from the package's Repository metadata).
Not using an SDK? See API access for the supported integration path and the CLI escape hatch.
Start here
Install to first conversion in under five minutes, in Python.
AuthenticationAPI keys, the ck_ vs cvl_ distinction, and inbound
HMAC.
The SemVer promise, stable vs beta surfaces, and the deprecation policy.
Requirements
- Python 3.10+ (the pre-release TypeScript SDKs need Node 18+; Go is coming soon).
- A Convilyn API key (
ck_…) created on your Settings → API page — also where you manage billing and quota. - For authors: an HTTPS-reachable endpoint to host your tool server (Lambda, Fargate, or any VM).
Production-grade defaults
The consumer SDK ships sensible defaults so you don't wire them yourself:
- Retry on 5xx / 429 / 408 with exponential backoff and jitter;
Retry-Afterhonoured. Idempotency-Keyauto-stamped on every mutating verb, stable across retries — a retried create never double-charges.- Typed billing errors (
PlanRequiredError,QuotaExceededError) so callers can distinguish a paywall from a transient failure. - A fully typed surface — Python ships
py.typed, so your editor autocompletes the whole API.
This section is English only. Endpoint paths, parameter names, and SDK symbols are themselves English; translating them would only add drift. For end-user product docs in your language, switch to the user manual.