Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace
source availableDify Open Source Licenseself-hostablefreeMCP
Dify is a platform for building LLM apps and agents: a visual Workflow Studio, agents with their own sandbox, skills and tools, a knowledge pipeline that ingests files, websites and drives into indexed knowledge bases, a prompt IDE, and logs, annotations and observability through Langfuse, Opik and Arize Phoenix. It connects to hundreds of models through plugins from the Dify Marketplace, uses MCP tools in workflows, and publishes each app as a hosted web app, an API, an embed or an MCP server, with workflows started by schedules, plugins or webhooks and a difyctl CLI for coding agents. LangGenius sells Dify Cloud (Sandbox free, Professional and Team per workspace), Dify Premium as an AWS AMI, and Dify Enterprise with SSO, SCIM, multiple workspaces, audit logs and a Helm chart, and shows SOC 2, ISO 27001 and GDPR badges. The self-hosted Community Edition runs on Docker Compose under the Dify Open Source License, Apache 2.0 with conditions: no multi-tenant service and no removing the Dify logo from the frontend without a commercial licence.
Ways to install
On your own server
Hosted for you
Problems it solves
- build an AI chatbot over our company documents without writing a backend
- design a multi-step LLM workflow on a visual canvas and publish it as an API
- a self-hosted alternative to building our own RAG pipeline in Python
- let business teams build their own AI agents while IT controls models and access
- ingest PDFs, PowerPoints, websites and Google Drive into a searchable knowledge base for an AI app
- switch between OpenAI, Anthropic, Gemini and local models without rebuilding our AI app
- give an AI agent a sandbox where it can run commands and handle files to finish a task
- expose our internal AI workflow as an MCP server for Claude Desktop or Cursor
- embed an AI assistant built without code on our website
- trigger an AI workflow from a webhook or on a schedule
- monitor AI app logs and annotate answers to improve them over time
- deploy an AI agent platform in our own VPC or air-gapped data centre with SSO and audit logs
- a SOC 2 and ISO 27001 certified LLM app platform for our enterprise
- run several business units' AI apps on one cluster with separate workspaces and quotas
- let our coding agent build and update AI workflow apps from the terminal
- a self-hosted alternative to Flowise or Langflow with a hosted cloud option
- compare prompts across models and add text-to-speech to a chat app
Features
- Workflow Studio: visual canvas for agentic workflows and chatflows, with testing and debugging
- agents with their own sandbox, skills, Marketplace tools, MCP servers and your own APIs
- knowledge pipeline: ingest files, websites, online documents and drives into indexed knowledge bases with retrieval testing
- hundreds of models from dozens of providers and self-hosted models, via model provider plugins
- plugins and Dify Marketplace for models, tools, data sources and triggers
- publish apps as web apps, APIs, embeds or MCP servers
- schedule, plugin and webhook triggers for workflows
- prompt IDE with model comparison and text-to-speech
- logs, annotations, feedback and observability through Langfuse, Opik and Arize Phoenix
- difyctl CLI for running, building and publishing apps, with a skill for coding agents
View 3 more
- Node.js and PHP API clients
- Enterprise: SAML and OIDC SSO, SCIM, RBAC per workflow, tamper-evident audit logs, multiple workspaces, Helm chart and Terraform modules, air-gapped deployment
- Dify Premium AMI on AWS Marketplace with custom branding
Limitations
- Can't run as a multi-tenant service without a commercial licence: the Dify Open Source License forbids operating a multi-tenant environment from its source4
- No white-labelling under the open source licence: the Dify logo and copyright in the console and apps can't be removed or changed without a commercial licence4
Ways to run it
Dify Cloud
Sandbox free; Professional $59/workspace/month ($590/year); Team $159/workspace/month ($1,590/year)56
Only in this edition
- hosting by LangGenius
- message credits for OpenAI, Anthropic, Gemini, xAI and Tongyi models
Dify Community Edition
Only in this edition
- all core features in the public repository
Not included
- multiple workspaces, SSO and other Enterprise features58
- operating a multi-tenant service, or removing the Dify logo and copyright from the frontend, without a commercial licence4
You arrange
- a machine with at least 2 CPU cores and 4 GiB RAM
- Docker with Docker Compose 2.35.0 or later
- the bundled PostgreSQL (or MySQL), Redis and Weaviate or another vector store, or your own
- API keys for your model providers
Dify Premium
Price not published9
Only in this edition
- one-click AMI deployment to your AWS VPC as an EC2 instance
- custom branding: remove 'Powered by Dify' or use your own logo
You arrange
- an AWS account and an AWS Marketplace subscription
Dify Enterprise
Only in this edition
- commercial licence
- SAML and OIDC SSO, SCIM and session policies
- multiple workspaces with tenant-level quotas
- RBAC per workflow and tamper-evident audit logs
- Helm chart for Kubernetes and Terraform modules for AWS, GCP and Azure
- air-gapped deployment
- professional support and SLAs through Dify partners
You arrange
- a Kubernetes cluster or your own cloud account
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | Dify Enterprise58 |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what Dify does.
- Haystack Open-source AI orchestration framework for building production-ready LLM applications in Python
- Langflow Low-code AI builder for agentic and RAG applications
- RAGFlow Build a superior context layer for AI agents
- Windmill Code-first platform for workflows, apps and AI agents, on the fastest self-hostable orchestrator
- ChatDev Zero-code multi-agent platform for developing everything
- R2R Agentic Retrieval-Augmented Generation (RAG) with a RESTful API