Dify 的 CLI 工具让智能体和脚本能直接调工作流,省去手动操作,还带推理过程展示,适合自动化场景。
Dify 发布命令行工具 difyctl,允许用户通过终端直接调用 Dify 工作流,无需浏览器操作。CLI 支持 chain-of-thought 推理过程可视化,每次调用独立显示模型推理步骤,便于调试和审计。同时更新 Human Input 表单,新增下拉字段和文件上传,Excel 图片提取等功能。社区版新增 /create 命令,通过单行搜索即可生成可用工作流。
Dify CLI is live, bringing Dify apps directly into your agent workflows. difyctl lets you call Dify...
Dify CLI is live, bringing Dify apps directly into your agent workflows. difyctl lets you call Dify apps directly from your terminal. No browser, no clicking through a UI. Agents, local scripts, and CI pipelines can all trigger a workflow with one command. Pair it with a SKILL.md file, and an agent picks up the calling convention in one shot, instead of being re-taught it in every conversation. A few other things shipped alongside it: ▪️ Chain-of-thought, visible everywhere Chat, workflow debug, and now the CLI all surface the model's reasoning separately from its final answer. That matters for debugging, and for teams that need to audit how an AI decision was reached. ▪️ Better Human Input forms, plus Excel image extraction Human Input forms now support dropdown fields and file upload, making approval flows more structured than typed text alone. Knowledge base imports can also extract embedded images from Excel files, so charts and screenshots are preserved for retrieval. ▪️ From the community /create generates a working workflow from a single line typed into search. Credential authorization for API keys and OAuth tokens is now more clearly scoped, built with team and enterprise use in mind. Deep dive: dify.ai/blog/dify-s-of… Release notes: github.com/langgenius/dif… Docs: docs.dify.ai/en/cli/overview 💬 1 🔄 0 ❤️ 0 👀 50 📊 1 ⚡