Dify

Platform for building LLM apps, agents and RAG workflows in a visual editor, hosted as Dify Cloud or self-hosted with Docker.

Works with AI agents:llms.txt
Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

Dify is a platform for building LLM applications, such as chatbots, agents, document Q&A and multi-step workflows, without writing the orchestration code yourself. Instead of wiring model calls, retrieval and tool use together in a framework, you assemble them in a web console and publish the result.

How it works: you build an app on a visual canvas from nodes such as LLM, Knowledge Retrieval, Agent, If-Else, Iteration, Loop, HTTP Request, Human Input and a Code node that runs Python or JavaScript in a sandbox. Knowledge bases handle RAG: you upload files or sync from Notion or websites, choose chunking and indexing, or connect an external retrieval API instead. Model providers are installed as plugins and configured with your own API keys at workspace level, and tools can come from the plugin marketplace or from MCP servers.

What you get: every published app is a shareable web app, an embeddable chat widget, a REST API called with a per-app key, and optionally an MCP server for clients like Claude Desktop or Cursor. Knowledge bases have their own API too. You can use the hosted Dify Cloud, or run the Community Edition yourself with Docker Compose, which starts the API, workers, web frontend, plugin daemon, PostgreSQL, Redis, Weaviate and a code sandbox.

The limits: your agent logic lives in Dify's app definitions rather than in your own codebase, and publishing replaces the live version; separate staging and production environments are an Enterprise feature. Self-hosting needs at least 2 CPU cores and 4 GiB of RAM for a stack of more than a dozen containers. The license is not plain Apache 2.0: running Dify as a multi-tenant service, or removing the logo and copyright from its frontend, requires a commercial license.

Where it fits

Who uses it

1 makers' products, each linked to the source that shows it.

Questions makers ask about Dify

Can I self-host Dify?

Yes. Clone the repository and run docker compose up -d in its docker directory. The docs list a minimum of 2 CPU cores, 4 GiB of RAM and Docker Compose 2.24.0 or later. source ↗

Can I use Dify for commercial products?

Yes, including as a backend for other applications. Its license is Apache 2.0 with added conditions: you need a commercial license to run it as a multi-tenant service (one tenant is one workspace) or to remove the logo or copyright information from its frontend. source ↗

How do I call a Dify app from my own backend?

Every published app is also a REST API. Create an API key inside the app and send it as a Bearer token; the base URL is https://api.dify.ai/v1 on Dify Cloud or your own instance's URL when self-hosted. Keys should stay on the backend. source ↗

Which models can it use?

Any provider you install as a plugin from the Integrations page or the Dify Marketplace, configured with your own API key. You can add custom or fine-tuned models by hand and set workspace defaults for reasoning, embedding, rerank, speech-to-text and text-to-speech. source ↗

Does it support MCP?

Both ways. Apps can import tools from MCP servers that use HTTP transport, and any app can be published as an MCP server whose URL works in Claude Desktop or Cursor. That URL contains credentials and should be treated like an API key. source ↗

Can I use my own RAG system instead of Dify's knowledge base?

Yes. Implement Dify's External Knowledge API, a single POST retrieval endpoint, register it, and Dify sends queries there and uses the returned chunks as context. Dify only reads from it; you keep managing the content. source ↗

Is Dify free?

Yes — there is a free tier a small product can run on.

Is Dify open source or self-hostable?

Not open source, and you can self-host it. source ↗

Can AI coding agents work with Dify?

It serves an llms.txt docs index.

Who uses Dify?

1 makers' products we track, each with a source. source ↗