Developer Tools

1.13.0 - Human-in-the-Loop and Workflow Execution Upgrades

This changes how teams build trustworthy, high-stakes AI applications overnight.

Deep Dive

Dify's 1.13.0 release introduces a native Human-in-the-Loop (HITL) node, allowing workflows to pause for human review and input before resuming. This bridges the 'trust gap' for critical tasks by letting users review AI outputs, edit variables, and route decisions via custom buttons like 'Approve' or 'Reject'. The update requires a new `workflow_based_app_execution` Celery queue and architectural refactoring to support stateful pause/resume via Celery workers and Redis Pub/Sub.

Why It Matters

It enables reliable automation for sensitive operations like compliance, content moderation, and data processing where human oversight is non-negotiable.