About this project

Dex is a Durable Execution (D-EX) framework built on Temporal/Cadence. It provides a programming model that makes application execution durable, covering local state, control flow (branches, loops), parallel execution and coordination, waiting for timers or external events, error handling, and remote procedure invocations. The framework introduces a small set of durable primitives: Steps, Attributes, RPCs, Channels, and Timers. Developers write Flows using ordinary code, then run Workers to host those Flows. A Client communicates with the Dex Server to start and interact with Flow instances, and the Server dispatches Step and RPC invocation tasks to Workers. Unlike replay-based durable execution engines, Dex does not separate logic into deterministic workflow code and distinct activities. Worker handlers are ordinary code, and Attribute data resides in a blob store that can be synced to databases already in use. Dex is currently pre-launch and intended for testing, with possible breaking changes before the official release. An official Dex Developer skill is available for AI coding assistants to build, test, and operate Dex applications through its public programming model. Community support is offered via Slack.