๐Ÿค–AI RepoIndex
๐Ÿ’ฌ AI InterfaceOpen SourceFree

Dify

Visual AI app builder โ€” RAG, agents, workflows, and MCP in one platform

4.7/ 5โญ 90,000 GitHub starsTypeScript + PythonApache-2.0

๐Ÿ“‹ Overview

Dify is a production-ready visual platform for building AI applications โ€” combining RAG pipelines, agentic workflows, model orchestration, and observability in a single interface. Unlike LangChain (code-only) or Flowise (basic visual builder), Dify gives you a full IDE for AI apps: visual prompt chaining, document ingestion with OCR/embedding, tool-use agents with MCP support, conversation flow design, and built-in analytics. The platform supports 100+ LLM providers (OpenAI, Anthropic, Gemini, Llama, Qwen, etc.) with a unified API layer, and the RAG engine handles chunking, reranking, and hybrid search out of the box. Apache 2.0 licensed with a generous free tier.

โœจ Key Features

  • โ€ข149K+ GitHub stars โ€” largest visual AI builder
  • โ€ขFull RAG pipeline: ingestion, chunking, embedding, hybrid search, reranking
  • โ€ข100+ LLM providers via unified API layer
  • โ€ขVisual agent canvas with MCP tool-use support
  • โ€ขBuilt-in observability: conversation logging, annotation, analytics
  • โ€ขMulti-model orchestration: route prompts by cost, latency, or capability
  • โ€ขApache 2.0 license โ€” no vendor lock-in, no usage caps on self-hosted

๐ŸŽฏ The Problem It Solves

Building production AI apps requires stitching together 5+ tools: a vector DB, an embedding service, a prompt manager, an observability stack, and a UI. Dify collapses all of these into one platform โ€” letting teams go from prototype to production in days instead of months.

๐Ÿ”ง How It Works

Apps are built visually on a canvas: drag nodes for LLM calls, knowledge retrieval, conditionals, tool use, and code execution. The RAG engine ingests documents (PDF, HTML, Notion, etc.), chunks them, embeds them, and serves them via hybrid search (dense + sparse). Agents can call external tools via MCP or custom API definitions. All conversations are logged and annotated for continuous improvement. Deploy via Docker or Dify Cloud.

๐Ÿš€ Installation & Quick Start

Installation

git clone https://github.com/langgenius/dify && cd docker && docker compose up -d

Quick Start

  1. git clone && docker compose up
  2. Open localhost:install
  3. Setup admin
  4. Create app in visual builder

โœ… Pros

  • โ€ขMost complete visual AI builder โ€” RAG + agents + workflows in one
  • โ€ข100+ LLM providers with unified API โ€” switch models without code changes
  • โ€ขProduction-grade RAG with OCR, hybrid search, and reranking
  • โ€ขMCP support for agent tool-use is native, not bolted-on
  • โ€ขBuilt-in analytics and conversation annotation for continuous improvement
  • โ€ขSelf-hosted is completely free with no message caps
  • โ€ขActive community with templates, plugins, and enterprise support

โŒ Cons

  • โ€ขVisual canvas becomes limiting for complex multi-step logic
  • โ€ขFree cloud tier message caps (50K/mo) are tight for production
  • โ€ขSelf-hosting requires PostgreSQL, Redis, and Weaviate โ€” not lightweight
  • โ€ขCustom tool integrations sometimes require code despite visual promise
  • โ€ขEnterprise pricing requires sales conversation โ€” no self-serve

๐Ÿ’ฌ Practitioner Verdict

โ€œDify is the most complete visual AI app builder available in 2026 โ€” the RAG engine alone justifies adoption, and the MCP/agent support keeps it current. The trade-off: the visual canvas can feel limiting for complex multi-step logic, and the free cloud tier has tight message caps. For teams that want to ship AI apps without building infrastructure, Dify is the default.โ€
1

Self-Hosted (Free)

Open source, MIT/Apache licensed. Run it yourself.

โญ Star & Clone on GitHub

Free forever. Your infrastructure, your data.

2

Dify Cloud Free

50K messages/mo, 5 apps

Free
  • 50K messages
  • 5 apps
  • Community support
โ˜๏ธ Get Started with Dify Cloud Free
2

Dify Cloud Pro

1M messages, unlimited apps

9/mo
  • 1M messages
  • Unlimited apps
  • Priority support
โ˜๏ธ Get Started with Dify Cloud Pro
2

Dify Cloud Team

SSO, team collaboration, audit

59/mo
  • SSO
  • Team workspaces
  • Audit logs
โ˜๏ธ Get Started with Dify Cloud Team
2

Enterprise

VPC, HIPAA, dedicated support

Custom
  • VPC/HIPAA
  • Dedicated support
  • Custom SLA
โ˜๏ธ Get Started with Enterprise
3

Deployment Options

Ways to run Dify in production

๐Ÿ“Š Specifications

Language
TypeScript + Python
License
Apache-2.0
Platform
Linux, macOS, Windows
Supported Models
REST API, CLI

๐Ÿ’ฐ Pricing Reality

Self-hosted is 100% free Apache 2.0. Cloud: Free tier (50K messages/mo), Pro 9/mo (1M messages), Team 59/mo (unlimited apps, SSO), Enterprise custom (VPC, HIPAA, dedicated support). LLM API usage billed separately.

๐Ÿ‘ฅ Community Health

Stars90,000
Forks11,250
Contributors1800
Health Score9/10

๐Ÿท๏ธ Tags

Open SourceFree