apalis-workflow
This crate provides a flexible and composable workflow engine for apalis. Can be used for building general workflows or advanced LLM workflows.
Overview
The workflow engine allows you to define a sequence of steps in a workflow. Workflows are built by composing steps, and can be executed using supported backends
Features
- Compose workflows from reusable steps.
- Durable and resumable workflows.
- Steps are processed in a distributed manner.
- Parallel execution of steps.
- Extensible via the
Steptrait. - Integration with
apalisbackends and workers - Compile-time guarantees for workflows.
Example
use *;
use *;
use JsonStorage;
async
Observability
You can track your workflows using apalis-board.

Backend Support
- JSONStorage
- SqliteStorage
- RedisStorage
- PostgresStorage
- MysqlStorage
- RsMq
Roadmap
- AndThen: Sequential execution on success
- Delay: Delay execution
- FilterMap: MapReduce
- Fold
- [-] Repeater
- [-] Subflow
- [-] DAG
Inspirations:
License
Licensed under MIT or Apache-2.0.