What problem does it solve?
TaskFlow eliminates the fragility of coordinating multi-step or long-running work across detached runs by giving all steps a single durable flow identity that can be resumed safely.
Core Features & Use Cases
- Durable managed flows: Create a managed flow that persists owner context and linkage across
createManaged, runTask, setWaiting, resume, and finish/fail/cancel.
- Revision-checked state mutations: Safely evolve
stateJson, currentStep, and wait metadata with conflict-aware expected revisions.
- Child-task orchestration: Run linked child tasks under the same flow so orchestration, waiting, and inspection remain coherent.
- Use case: When your agent triages an inbox over multiple asynchronous steps (classify, wait for replies, then finalize), TaskFlow keeps one owner session and a resumable state bag instead of scattering progress across unrelated jobs.
Quick Start
Use the taskflow skill to create a managed flow for your plugin’s long-running job, then drive it through run, waiting, resuming, and completion steps.