
Dify
Open-source, visual platform for building production LLM apps and agents, self-host it or run it in the cloud.
Best forDevelopers and teams who want an open-source, self-hostable platform to build RAG apps and agents with full data control.
Our verdict
Dify has become the default open-source answer to "how do we build and ship LLM apps without gluing five tools together." Its visual Workflow Studio, built-in RAG pipeline, model-agnostic runtime and observability cover the whole path from prototype to production, and with a large open-source community and a Docker self-host option you get real data control and no lock-in.
The open-source, self-hostable all-in-one for LLM apps, the go-to when data control and no lock-in matter more than a managed experience.
The Agents Index digest
New agents, fresh verdicts, and who's earning the top spots. One short email.

What's great
- Open-source and self-hostable, full control of data and deployment, no lock-in.
- Genuinely all-in-one: workflow, RAG, agents, model management and observability in one tool.
- Backed by real, named enterprise deployments, not just vendor claims, A.P. Møller-Maersk cut AI-app development from 4 months to 2 weeks per app and reports 90%+ time saved on top customer queries via its CX-Assist tool, while Kakaku.com/食べログ cut workflow setup time from about a month to a day.
Watch-outs
- The licence is Apache-2.0-derived with extra conditions (e.g. multi-tenant/branding limits), not pure OSS, check it before commercial resale.
- Self-hosting the Community Edition means you own upgrades, scaling and ops; the managed cloud caps message credits per plan.
- Broad by design, deeply bespoke, highly-custom agent logic can still be easier in a code-first framework.
Also note: The "open-source" licence carries extra conditions beyond Apache-2.0, not unrestricted for every commercial use. · Cloud plans meter usage in message credits; heavy volume pushes you to self-host or Enterprise.
What is Dify?
Dify is an open-source platform for building production LLM applications and agents. On a visual canvas you assemble workflows that retrieve data, call tools, make decisions, ask for human input and complete tasks, then ship them as hosted apps, API endpoints, embeds or MCP-compatible tools. It bundles the pieces most teams otherwise stitch together: a RAG knowledge pipeline, an agent runtime, model management across hundreds of LLMs, and observability. Because the core is open-source (an Apache-2.0-derived licence, 149K+ GitHub stars), you can self-host it with Docker or use Dify’s managed cloud. Built by LangGenius, founded in 2023 in the San Francisco Bay Area (with satellite teams in Tokyo, Shanghai and Suzhou) by CEO Luyu Zhang and co-founder/Chief Engineer John Wang, the company raised a $30M Series Pre-A round led by HSG in March 2026, with GL Ventures, Alt-Alpha Capital, 5Y Capital, Mizuho Leaguer Investment and NYX Ventures also participating.
What does Dify do?
Dify gives you a visual Workflow Studio where you wire nodes, model calls, tool calls, knowledge retrieval, conditionals, code and human-input steps, into an app that behaves like an agent. Its RAG pipeline handles the whole knowledge path: ingest files, websites, docs and drives, then extract, clean, chunk and index them for retrieval. Agent nodes use function-calling or ReAct-style reasoning and can draw on 50+ built-in tools plus anything you add from the plugin marketplace. It’s model-agnostic, integrating hundreds of LLMs from dozens of providers (OpenAI, Anthropic, Google, plus open and local models), so you can swap or mix models per node. Once built, an app publishes as a hosted web experience, a REST API (Backend-as-a-Service), an embeddable widget, or an MCP tool other agents can call. An observability layer logs runs, captures feedback and annotations, tracks usage, and integrates with LangFuse and Arize Phoenix for tracing. You can run all of this three ways: the free open-source Community Edition via Docker on your own infrastructure, Dify’s managed cloud (a free Sandbox plus paid plans), or a self-hosted Enterprise edition with SSO, RBAC and audit logs. The open core plus self-host option is the main reason teams pick Dify over closed SaaS builders.
Key features
- Visual Workflow Studio: Wire model calls, tools, retrieval, logic and human-input nodes into an agentic app on a canvas.
- Built-in RAG pipeline: Ingest files, sites, docs and drives, then extract, clean, chunk and index them for retrieval.
- Model-agnostic: Integrates hundreds of LLMs from dozens of providers, including open and local models, swappable per node.
- Publish anywhere: Ship apps as a hosted web app, REST API, embed, or MCP-compatible tool.
- Observability: Logs, feedback, annotations and usage analytics, with LangFuse and Arize Phoenix integrations.
What are Dify's use cases?
- Internal RAG assistant: Build a knowledge-grounded support or research agent over your own documents and self-host it for data control.
- Ship an LLM feature fast: Prototype an agentic workflow visually, then expose it as an API endpoint your product calls.
What does Dify integrate with?
- Model providers — OpenAI, Anthropic, Google + open/local models
- LangFuse & Arize Phoenix (observability)
- Plugin/tool marketplace + MCP
- 50+ built-in tools
- REST API / Backend-as-a-Service
Why use Dify?
- Open-source core (149K+ GitHub stars) you can self-host with Docker, no vendor lock-in.
- One platform folds together workflow, RAG, agents, model management and observability.
- Model-agnostic, so you can mix frontier, open and local models per step.
Pros & cons
Pros
- Open-source and self-hostable, full control of data and deployment, no lock-in.
- Genuinely all-in-one: workflow, RAG, agents, model management and observability in one tool.
- Backed by real, named enterprise deployments, not just vendor claims, A.P. Møller-Maersk cut AI-app development from 4 months to 2 weeks per app and reports 90%+ time saved on top customer queries via its CX-Assist tool, while Kakaku.com/食べログ cut workflow setup time from about a month to a day.
Cons
- The licence is Apache-2.0-derived with extra conditions (e.g. multi-tenant/branding limits), not pure OSS, check it before commercial resale.
- Self-hosting the Community Edition means you own upgrades, scaling and ops; the managed cloud caps message credits per plan.
- Broad by design, deeply bespoke, highly-custom agent logic can still be easier in a code-first framework.
Limitations
- The "open-source" licence carries extra conditions beyond Apache-2.0, not unrestricted for every commercial use.
- Cloud plans meter usage in message credits; heavy volume pushes you to self-host or Enterprise.
Dify pricing
- Community EditionFree
- Sandbox (Cloud)Free
- Professional (Cloud)$590 / /year
- Team (Cloud)$1,590 / /year
- EnterpriseCustom
Dify specs
Pricing
- Pricing model
- freemium
- Free tier
- ✓ Yes
Capabilities
- Model / LLM
- Model-agnostic (100s of LLMs)
- Interface
- Visual
- Public API
- ✓ Yes
- Open source
- ✓ Yes
Deployment
- Deployment
- Both
Dify review
Dify has become the default open-source answer to "how do we build and ship LLM apps without gluing five tools together." Its visual Workflow Studio, built-in RAG pipeline, model-agnostic runtime and observability cover the whole path from prototype to production, and with a large open-source community and a Docker self-host option you get real data control and no lock-in. The nuances matter: the licence is Apache-2.0-derived with extra conditions rather than pure open source, self-hosting means you own the ops burden, and the managed cloud meters usage in message credits that heavier apps will outgrow. For deeply bespoke agent logic a code-first framework can still be more flexible. Pick Dify if you want a self-hostable, all-in-one platform for RAG and agent apps and have the technical chops to run it; skip it if you want a hands-off managed "AI employee" with no infrastructure to think about.
The open-source, self-hostable all-in-one for LLM apps, the go-to when data control and no lock-in matter more than a managed experience.
Frequently asked questions
Is Dify open-source and free?
Can I self-host Dify?
Does Dify support RAG and multiple models?
Can other apps call a Dify app?
Get a quote from Dify
Tell us what you need. We make the introduction to Dify.