Dify
Open-source platform for building AI apps and agents with a visual workflow builder and built-in RAG pipeline
Dify is an all-in-one platform for building AI applications, from chatbots to agents, with little code. Its core is a drag-and-drop visual workflow builder: connect nodes (LLM, knowledge retrieval, tools, logic) into a complete flow and publish it as an app or API. The built-in RAG pipeline handles upload, chunking, embedding and retrieval with hybrid search and reranking; the default Docker Compose stack bundles a vector store (Weaviate), and you can switch to Milvus, Qdrant, pgvector, Chroma and others. Agents can call Marketplace tools and MCP servers and run commands in their own sandbox. Model providers (OpenAI, Anthropic, Gemini, Ollama, any OpenAI-compatible endpoint) are installed as plugins. LLMOps logs and annotations are built in, with tracing integrations such as Langfuse, Opik and Arize Phoenix. Run it with Docker Compose, use Dify Cloud, or use Dify Enterprise for self-hosted organisations. Real-world use cases: internal knowledge-base chatbots, customer-support assistants, document-processing workflows, and prototyping AI app ideas before building custom code. Note: the Dify Open Source License is Apache 2.0 plus conditions — running a multi-tenant service needs written permission and the frontend logo and copyright must stay — check it before commercial use. Works well with: Ollama (local LLM) · Langfuse (observability) · Milvus/Qdrant/pgvector (replace the default vector store) · LiteLLM (model gateway) · MCP (tool access)
When to use
- You need a visual workflow builder for RAG apps and AI agents
- You want to take an LLM app from prototype to production quickly (self-host or Dify Cloud)
- Your team wants RAG, model management, agents and LLMOps in one platform
When not to use
- You need a pure OSI license for a multi-tenant SaaS (the Dify license requires written permission)
- You only need a lightweight RAG engine, not a full platform
- You want a minimal stack — the default deployment runs PostgreSQL or MySQL, Redis, Weaviate, a code sandbox and a plugin daemon
At a glance
- Pricing
- Open core
- Deployment
- Hybrid
- Difficulty
- Intermediate
- License
- Dify-OSL
- Languages
- python, js
- Use cases
- rag pipeline, chatbot, ai workflow, document qa
- Last verified
- 2026-10-22 (official documentation)
Works well with
Alternatives in this category
See all 4 tools in RAG Systems — Retrieval-Augmented Generation →