← Back to all projects

Dify

Visual builder for LLM apps, with RAG and agents included

OfficialSource-available
Stars
160k
Forks
25.3k
Open issues
1.1k
Last commit
30 Oct 2026

What is Dify?

A complete platform — prompt orchestration, retrieval, agent tools and an admin UI — that non-engineers can operate once a team has set it up. The licence is a modified Apache 2.0 with additional conditions on multi-tenant hosting and branding, so it is source-available rather than open source. Read it before building a product on top.

What can you do with Dify?

  • Stand it up with Docker Compose — Running cp .env.example .env then docker compose up -d in the docker/ directory brings the stack up on a 2-core, 4 GiB machine, with initialization at http://localhost/install.
  • Build workflows on a canvas — The visual editor chains LLM steps, retrieval and tools into a workflow you can test in place, and the Prompt IDE compares model performance on the same prompt while you tune it.
  • Give an agent 50+ tools — Agents can be defined on LLM Function Calling or ReAct and handed built-in tools such as Google Search, DALL·E, Stable Diffusion and WolframAlpha, or custom ones you register.
  • Call your apps from your backend — Every Dify offering comes with a corresponding API, and application logs and traces can be routed to Opik, Langfuse or Arize Phoenix for monitoring.
  • Take the self-host past the quickstart — Configuration beyond the defaults lives in docker/.env, with optional advanced variables split by theme under docker/envs/; for a highly available setup the README hands you off to community-contributed Helm charts, Kubernetes YAML, Terraform and AWS CDK templates in outside repositories.

Before you choose Dify

  • Two kinds of agent are on offer and the newer one does not work out of the box: it appears in the editor but will not start on the standard Docker setup, which lacks a service it needs. The older kind is unaffected.Reported in#39161

Star history

15 Aug to 30 Oct · +7.5k

153k160k

Frequently asked questions

Is Dify free for commercial use?

Dify is published under Dify Open Source License, a source-available licence rather than OSI-approved open source — read its terms before relying on it commercially.

How can Dify be deployed?

Dify is available as Self-hosted / Managed cloud.