arXiv:2611.01563cs.AINov 2026

Manuscript Offprint

arXiv:2611.01563

\textsc{ChatDify}: Automating End-to-End Dify Workflow Synthesis from Natural Language via Multi-Agent Collaboration

Tao Fan, Guoqiang Ma

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

CHATDIFY: Automating End-to-End Dify Workflow Synthesis from Natural Language via Multi-Agent Collaboration

Tao Fan1,2^{1,2}, Guoqiang Ma2^{2}

1^{1} Hong Kong University of Science and Technology, Hong Kong, China

2^{2}WeBank Co., Ltd, Shenzhen, China

Correspondence: tfanac@cse.ust.hk

Code: https://github.com/OpenAgentis/chatify/

Abstract

The proliferation of Large Language Models has catalyzed powerful application development platforms like Dify, which enable users to build sophisticated LLM-powered workflows through modular node orchestration. However, manually configuring these workflows requires deep platform expertise and remains time-consuming and error-prone, creating a significant barrier for non-expert users. To address this challenge, we propose CHATDIFY, a novel multi-agent framework that automates end-to-end Dify workflow synthesis from natural language descriptions. CHATDIFY employs an Actor-Critic architecture comprising three specialized agents: the Planner Agent that decomposes user requests into structured execution plans, the Executor Agent that performs context-aware parameter synthesis and schema-augmented DSL compilation, and the Reviewer Agent that ensures reliability through hybrid verification with closed-loop refinement. We evaluate CHATDIFY on a curated benchmark of 100 production-inspired tasks across three state-of-the-art LLM backends, achieving 0.96, 0.91, and 0.75 success rates with Qwen-3.7, GLM-5.1, and DeepSeek-v4, respectively. These results demonstrate its robustness and practical applicability for lowering the technical barrier to creating sophisticated LLM applications.

References (28)