Dify
Workflow and knowledge-pipeline builder for creating agentic apps with RAG and visual execution paths.

What is Dify?
Try DifyDify helps teams design production-ready AI workflows on a collaborative visual canvas, combining model calls, knowledge retrieval, tools, branching logic, and human review. With Workflow Studio, you can build reliable agentic experiences, test them end to end, and trace every run for debugging and observability. Dify can also publish your workflows as hosted apps, API endpoints, or reusable templates so you can move from prototype to launch.
What can you build with Dify?
With Dify, you can build AI apps and agentic workflows that connect prompts, knowledge retrieval, tools, control flow, and human approval steps. You can design the logic between user requests and outcomes as a connected execution path, covering everything from classification and branching to tool actions and final results.
How does Dify help you build workflows without writing everything as code?
Dify’s Workflow Studio uses a collaborative visual canvas where teams combine building blocks like model calls, knowledge retrieval, tools, branching, and human input. The workflow logic is designed and kept visible, which makes it easier to validate, debug, and hand off builds without rewriting the full pipeline as code.
How can you test and debug a workflow in Dify?
You can test a workflow in the same canvas, either running a node or running the whole flow with sample inputs. Dify also traces node outputs, variables, execution paths, and logs in detail so you can inspect where retrieval, the model, tools, the user, and data influenced the run.
Can Dify route sensitive actions through human approval?
Yes. Dify includes a human review step you can use to pause before actions that affect sensitive data, access, or policy, letting an approver approve, edit, comment, or forward the run before it continues.
What triggers can start a Dify workflow?
Workflows can start from a user message or from system events such as API calls, scheduled triggers, webhooks, or plugin events, and they can also run without a user in the loop for scheduled jobs, inbound webhooks, and plugin events.
Where can you publish and reuse what you build in Dify?
Once your workflow is ready, you can publish it as a hosted web app, an API endpoint, an MCP-compatible tool, or export it as a DSL/template for reuse across teams. The workflow runs are designed to be versioned and traced so you can restore published builds when needed.
What deployment options are available with Dify?
You can deploy Dify in three ways: Dify Cloud for managed hosting, Dify Enterprise for self-hosting or running in your VPC, and a Community Edition that’s source-available and self-hosted with Docker. Enterprise also supports SSO/SAML, RBAC, and audit logs, while the cloud option avoids infrastructure setup.
Can Dify be used to publish and monitor AI apps?
Yes. Dify Cloud supports publishing your apps as a web app or API, and it’s set up as a managed workspace for apps, workflows, agents, and knowledge bases. This is intended to help teams move from build to launch without managing the underlying infrastructure.