A JSON-defined state-machine engine on .NET 10 and PostgreSQL, with a React editor for the people who design processes and a console for the people who run them.
States, guarded transitions and actions sit on a canvas that lays itself out with ELK and routes its edges at right angles. Every change lands in the same JSON definition: open the source view, format it, read the diagnostics, publish, and compare versions side by side.
Read the definition modelThe canvas lays itself out with ELK. Drop a state, connect it, and fill the typed form for each action.
An instance parks while it waits: for a human task with declared outcomes and an SLA, for an event or a broker message, for a timer or a cron schedule. Its state lives in PostgreSQL, so a restart resumes the process instead of losing it. Loops, parallel branches and child processes belong to the same definition.
Read about tasks and timers| Since | Instance | State | Status |
|---|---|---|---|
| 09:14 | A-100 | manual-review | WAITING · HUMAN |
| 09:15 | O-118 | awaiting-delivery | WAITING · EVENT |
| 09:20 | P2P-7 | budget ∥ compliance | FORK · 1 OF 2 |
| 10:00 | R-42 | send-reminder | TIMER · CRON |
| 10:02 | O-117 | delivered | COMPLETED |
States · transitions · actions · durable waits · SignalR updates
Each action can declare its error route, its retry policy and its own undo step. When a later step fails, Duna runs the recorded undo steps newest first, across fork branches too. Database work can share a transaction group that retries as a whole, with a checkpoint after each group and durable claims, so a crash narrows to a known window instead of an unknown one.
Transaction groups are at-least-once with a narrowed window, not a transactional guarantee across systems. Actions outside a group stay at-least-once. Design external effects to be idempotent.
Read about compensationSimulate an unpublished draft on a throwaway engine with stubbed side effects, or run it for real against WireMock mock services that answer slowly, drop the connection or fail twice before they succeed. Save the scenarios beside the definition, check them with fourteen kinds of assertion, and run them headless in CI with JUnit output.
Read about Test Studio503timeout200 · chargedpasspasspassA container action hands a JSON input to a short script (Python 3.13 or Node.js 24) or to your own image pinned by digest, and takes the JSON it prints as the action's value. A separate runner starts it as a non-root user on a read-only file system with no network, unless the action asks for its company's allow-list. The instance parks while it runs.
Off by default (ProcessFlow:Containers:Enabled). Runtimes, images, networks and container secrets are each granted per company in the policy data.
Read about container actions{
"id": "render-invoice",
"type": "container",
"config": {
"mode": "image",
"image": "registry.example.com/invoices@sha256:<digest>",
"inputFiles": [{ "name": "order.json", "file": { "$expr": "vars.orderFile" } }],
"outputFiles": [{ "path": "invoice.pdf", "contentType": "application/pdf" }],
"secrets": { "ERP_TOKEN": "acme.erp-token" },
"network": "allowlist"
}
}Thirteen built-in action types share one envelope: a condition, a timeout, an idempotency key, an error route and an undo step. Call HTTP services, query named database connections, publish to brokers, send mail with attachments and move files through an S3-compatible store.
Read about actionsCall existing APIs with headers, bodies, files and multipart forms.
type: httpNamed connections, with database work grouped into transaction groups.
type: db · PostgreSQL · SQL Server · OraclePublish messages, wait for them, or start a process when one arrives.
type: publish · RabbitMQ · KafkaSend SMTP mail through configured connections, with file attachments.
type: emailAn S3-compatible store: write, read, copy, list, CSV and share links.
type: fileUse a Redis connection, or run a script on the separate container runner.
type: redis · type: containerSign-in uses OpenID Connect with PKCE against WSO2 Identity Server. Every authorization decision goes to an Open Policy Agent sidecar, at the route, the resource and the engine, and fails closed when the policy cannot be reached. Company scoping keeps definitions, instances, tasks and files inside the caller's companies.
Read about operations and securityEvery instance keeps a timeline with a variable snapshot after each step, so you can step back through what happened. The performance heatmap folds that history onto the canvas: where instances wait, where they fail and which transitions they take. Operators retry, move, suspend, resume or cancel, with a dry run first.
Read about operationsThe assistant explains a process or an instance, reviews a design, suggests tests and mocks, analyses performance and failures, and proposes changes as a preview you apply yourself. It works with Anthropic or OpenAI-compatible providers, and it never publishes a definition or acts on an instance on its own.
The assistant helps the people who design and run processes. Agents that work inside a running process are a capability of their own, with its own page.
Read about AI assistanceAI agents are participants in the same governed process as people and systems. They run as actions, call tools through a gateway, wait for approvals and leave the same history as every other step.
See agentic orchestration