# Dify — Open-source, visual platform for building production LLM apps and agents, self-host it or run it in the cloud.

> Source: The Agents Index — https://theagentsindex.com/dify (structured, researched, re-verified)
> Facts last verified: 2026-07-23

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.

| Fact | Value |
| --- | --- |
| Website | https://dify.ai |
| API | Yes |
| Best for | Developers and teams who want an open-source, self-hostable platform to build RAG apps and agents with full data control. |
| Not for | Non-technical operators who want a fully-managed, click-to-deploy "AI employee" with zero infrastructure. |

## 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 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.

## Strengths and weaknesses

- ✓ 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.
- ✗ 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.
- ⚠ 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.

## 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.

## 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.

## Integrations

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

## Sources

- https://dify.ai/pricing
- https://github.com/langgenius/dify
- https://dify.ai/blog/dify-raises-30m-tomorrow-s-organizations-will-be-built-by-people-and-agents
- https://dify.ai/dify-enterprise
