Platform for building AI apps and agents with visual workflows, a RAG pipeline and model management, self-hosted with Docker Compose.
10 GB graphics memory minimum, 20 GB comfortable · Mac with 16 GB memory
Dify alone needs at least 2 CPU cores and 4 GiB RAM. Model figures are for a mid-size model served by Ollama: Gemma 4 12B, 4-bit GGUF, 8.0 GB file, about 10 GB memory. Recommended figure is Gemma 4 26B, 4-bit, 18 GB file, about 20 GB. The sources state no speed. Disk is the model file only; Dify's own disk need is not stated. RAM and Mac figures are derived.Container
Clone a release tag, copy `.env.example` to `.env`, set the sandbox token and run `docker compose up -d`.Needs: Ollama or another model runner, A mid-size chat model such as Gemma 4 12BDify Open Source License (modified Apache-2.0)
Commercial use is allowed, but not as a multi-tenant service, and the Dify logo must stay in the console and apps.Workflows, knowledge bases, agents and model settings sit in one web interface.
The Community Edition has a single workspace and no SSO, and apps built on a local mid-size model are less capable than those on hosted frontier models.