
Library LangGenius, Inc.
Dify
Source-available LLM app platform with a visual workflow canvas, RAG pipeline, agents and APIs; self-host or use Dify Cloud.
What it is
Dify is an LLM application development platform with a visual canvas for AI workflows, a RAG pipeline for document ingestion and retrieval, agents with their own sandbox, a prompt IDE, model management and observability. Every app it builds also gets an API, so Dify can act as a backend for your own software. It supports hundreds of models from dozens of providers and connects tools from its marketplace, MCP servers or your own APIs. The Community Edition is self-hosted with Docker Compose; Dify Cloud and Enterprise are paid offerings.
What it's useful for
Building a document Q&A chatbot or an approval workflow on a visual canvas and calling it from your own app through Dify's API.
Key features
- Visual workflow canvas for AI apps
- RAG pipeline with extraction from PDFs, PPTs and other formats
- Agents with a sandbox, skills, marketplace tools and MCP servers
- Support for hundreds of proprietary and open-source models
- Prompt IDE, logs and observability integrations (Opik, Langfuse, Arize Phoenix)
- API for every app (backend-as-a-service)
How to use it
Before you start
- Docker and Docker Compose v2.35.0+
- OpenSSL
- 2+ CPU cores and 4+ GiB RAM
cd docker
cp .env.example .env
openssl rand -hex 32 # set DIFY_AGENT_LOCAL_SANDBOX_AUTH_TOKEN in .env
docker compose up -dCommands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- License is a modified Apache 2.0: running a multi-tenant service needs written permission, and the frontend logo/copyright must not be removed
- Self-hosting needs at least 2 CPU cores and 4 GiB RAM, Docker and Docker Compose v2.35+
- Dify Cloud's free Sandbox plan is limited to 200 message credits and 5 apps
Alternatives
Self-hostable platform of AI 'Experts' coordinated by an assistant called Otto, with a visual block-based workflow builder.
Open-source visual builder for AI agents and workflows that serves every flow as an API and an MCP server.
MCP servers for this
Apify's MCP server that lets agents find and run ready-made Actors from Apify Store for web scraping, data extraction and automation.
Docker Desktop's MCP Toolkit and Catalog that run MCP servers in containers and connect them to clients through one gateway.
Firecrawl's MCP server that lets agents scrape, crawl, map and search the web and get clean markdown back.
Related resources
Open-source, self-hostable automation platform with a no-code builder, AI agents and pieces exposed as MCP servers.
Open-source platform that automates browser workflows with LLMs and computer vision, self-hosted or as Skyvern Cloud.
Fair-code workflow automation platform with a visual editor, code steps, AI agent nodes and self-hosting.
Observability platform for AI agents with session replays, execution graphs and LLM cost tracking.