Dify is an open-source platform for building applications on large language models. It combines a visual workflow canvas, a RAG pipeline, agents that can use tools and MCP servers, model management across many providers including self-hosted models, and monitoring of application logs. Dify is offered in three ways: Dify Cloud, hosted by the vendor; the Community Edition, which you self-host with Docker Compose; and Dify Enterprise, which is self-hosted or deployed in your own VPC and adds SSO, role-based access control and audit logs.
Dify is developed by LangGenius, Inc., a company based in the United States, so the vendor is subject to US jurisdiction. The source code is published under the Dify Open Source License, which is based on Apache 2.0 with additional conditions. Self-hosting keeps workflows, knowledge bases and logs within infrastructure you control, whereas the hosted Dify Cloud does not state its data regions on the product pages. Data sent to external model providers depends on which models you connect, and self-hosted models allow a fully European set-up.