Skip to main content

Dify

Open-source LLM app platform — build, test, and deploy AI workflows and chatbots

AgentsFreemiumOpen source

Dify is an open-source platform for building, testing, and deploying LLM applications. It provides a visual workflow builder for multi-step AI pipelines, a knowledge base (RAG) builder, a chatbot interface, and one-click deployment. Supports OpenAI, Anthropic, Mistral, and local models via Ollama.

Key specs
161,020 GitHub stars source
as of 2026-11-12

Maker of Dify? Get your db.fyi badge

What we know

Open sourceYessource, checked 2026-11-12
PricingFreemiumfrom our original listing, not yet re-checked
GitHub stars161,048source, checked 2026-11-12

Why it matters

  • 60,000+ GitHub stars — one of the fastest-growing AI application platforms, with an active community.
  • Covers the full LLM app lifecycle: build → test → annotate training data → monitor production → improve.
  • Built-in RAG knowledge base with document chunking, embedding, and retrieval — no separate vector DB setup required for basic use.
  • One-click deployment as a chatbot widget, Slack bot, or REST API — production-ready output from visual tools.

Key capabilities

  • Visual workflow builder (Orchestrate): Build multi-step AI pipelines with conditional branches, LLM nodes, code nodes, and tool integrations.
  • Knowledge base (RAG): Upload documents (PDF, Word, web scrape) to build vector search knowledge bases with configurable chunking.
  • Agent mode: Configure tool-using AI agents with web search, code execution, database query, and custom tool support.
  • Chat & completion apps: Deploy chatbots with a hosted UI, embeddable widget, or API endpoint.
  • Prompt engineering: Version and test prompts with A/B testing and variable injection.
  • Dataset annotation: Review and annotate model outputs for fine-tuning and evaluation datasets.
  • Monitoring: Track LLM call costs, latency, user message volume, and response quality.
  • Multi-model support: Configure different LLMs for different nodes; switch providers per app.

Technical notes

  • License: Apache 2.0 (open source) — self-hosted free at any scale
  • Deployment: Docker Compose (docker compose up); Kubernetes Helm chart; Dify Cloud
  • Backend: Python (FastAPI); Frontend: Next.js
  • Database: PostgreSQL (metadata); Weaviate/Qdrant/Chroma (vector store, configurable)
  • Pricing (cloud): Free (200 msg credits); Pro $59/mo; Business $159/mo; Enterprise custom
  • Founded: 2023 by LangGenius Inc.; based in San Francisco

Ideal for

  • Product teams who want to ship an LLM-powered chatbot or workflow app without deep backend engineering.
  • Organizations needing a self-hosted AI app platform for data privacy and enterprise compliance.
  • Developers building customer support bots, internal Q&A tools, or document analysis apps quickly.

Not ideal for

  • Complex, code-heavy AI applications requiring custom ML pipelines — Python frameworks (LangChain, LlamaIndex) give more flexibility.
  • Teams who only need simple workflow automation without LLM focus — n8n or Zapier are simpler.
  • High-scale production deployments without dedicated DevOps — self-hosting Dify requires operational investment.

See also

  • Flowise — LangChain-based visual chatbot builder, simpler but less full-featured.
  • n8n — Open-source workflow automation with native AI nodes and 400+ integrations.
  • Botpress — Dedicated conversational AI platform with NLU and omnichannel deployment.

FAQ

What is Dify?

Dify is an open-source platform for building LLM-powered applications without extensive coding. It provides a visual workflow builder for multi-step AI apps, a knowledge base (RAG pipeline) builder, chatbot UI, and agent framework. You can self-host it on Docker or use Dify Cloud. It supports all major LLM providers and local models.

Is Dify free?

Dify is open source under Apache 2.0 — completely free to self-host with all features. Dify Cloud has a free tier with 200 message credits. Paid cloud plans start at $59/mo. Enterprise licensing available for on-premise with SLA and support.

How does Dify compare to Flowise?

Both are visual LLM app builders. Dify has a broader scope: built-in knowledge base management, a production-ready chatbot UI, dataset annotation tools, and monitoring. Flowise is more focused on LangChain-based workflow building. Dify is better for teams shipping production AI apps; Flowise is better for quick LangChain prototyping.

What LLMs does Dify support?

Dify supports OpenAI GPT, Anthropic Claude, Google Gemini, Mistral, Llama via Ollama/Together AI, Azure OpenAI, AWS Bedrock, Cohere, HuggingFace, and 30+ other providers. You configure LLM connections in settings and can use different models in different workflow nodes.

Alternatives

Integrations

None listed.

Built on

None listed.

Good for these tasks

Listed 2026-02-28 · updated 2026-11-12