AI agents now work inside Duna processesSee agentic orchestration
Duna documentation

Understand it.
Then build with it.

Start with the model, run your first process, and go deeper into the engine. These guides explain Duna through a practical starting point.

Start the quickstart

Start here

What is Duna?

The process model: definitions, instances, states, transitions and actions.

Quickstart

Run the local Docker stack and publish your first sample process.

Installation with Docker

Prerequisites, services, ports, readiness and development configuration.

Your first process

Create a minimal JSON definition, publish it and start an instance.

Build processes

Definitions & state types

Automatic, wait, human, timer, call, terminal, fork and join states.

Actions & expressions

HTTP, database, publish, email, file, Redis, container and composite actions.

Container actions

Run a Python or Node.js script, or your own image, in a locked-down container on the runner.

Events & messaging

Events, correlation, broker waits, RabbitMQ, Kafka and message triggers.

Human tasks & timers

Approvals, outcomes, due dates, timeouts and durable waiting.

Compensation & errors

Error routes, retry policy, undo steps, captured values and saga limitations.

Test & operate

Simulation & testing

Throwaway draft execution, stubs, wait resolutions, expression tests and saved checks.

Test Studio & mocks

Mock runs against WireMock, saved scenarios with checks, standing mocks and CI runs.

API reference

Verified API route index, authentication, OpenAPI and authoritative contracts.

Operations & security

PostgreSQL durability, retries, monitoring, OPA, company scoping and production readiness.

Understand Duna

Architecture

The .NET engine, React editor, persistence, messaging, authorization and simulation boundaries.

AI assistance

Explanation, design reviews, authoring proposals, test suggestions and configured providers.

AI agents

Agents & the agent action

Agent definitions, versions and drafts, the agent action, limits, errors and where it may stand.

AI model connections

Six kinds of model provider as named connections: settings, the test, the off switch and the address rules.