# Dify

> Canonical: https://skillalmanac.com/glossary/dify | Last verified: 2026-11-24 | Index status: not offered to search engines

Dify is an open-source platform for building AI applications such as chatbots, agents and agentic workflows that draw on your own data. It can be used as a managed cloud service or self-hosted.

Also called: Dify AI, dify.ai, Dify platform, Dify workflow, Dify open source.

## In plain language

Dify is a toolkit with a visual interface for building AI apps without writing every part yourself. A small support team could, for example, connect its help articles, pick a model, and publish a chat assistant that answers customer questions from those articles. Dify is open source, so you can run your own copy, or you can use the company's hosted version. The limits: you still need to test the answers, a model can say wrong things, and its licence has extra conditions beyond standard Apache 2.0, so read it before building a product on it.

## Technical definition

Dify's documentation describes an open-source platform for building AI applications: agents, agentic workflows and chatbots using your own data. Apps can be published as web apps or called through a REST API, and a plugin system adds tools, models and integrations. The README lists AI workflows, retrieval-augmented generation pipelines, agent capabilities, model management and observability. It offers Dify Cloud, or a self-hosted Community Edition that the docs say deploys with Docker Compose. The README states the repository uses the Dify Open Source License, based on Apache 2.0 with additional conditions.

## How it shows up when you use agents

Dify sits one level above a coding agent. Where Claude Code or Codex edits a repository for you, Dify is a place to assemble an application: a chatbot, an agent or a workflow that other people use. Its documentation says apps can be published as web apps or reached through an API, so an agent or script can call a Dify app like any other service. The docs also mention a command-line tool, difyctl, for running apps from terminals, scripts, CI and AI agents.

What breaks when it is misunderstood:

- **Treating a builder as finished software.** A workflow still needs test questions, review of wrong answers and a plan for when a model changes. See [AI agent builder](/glossary/ai-agent-builder) and the [no-code builders guide](/learn/no-code-ai-agent-builders-what-to-check).
- **Skipping the licence.** The README says the repository uses the Dify Open Source License, based on Apache 2.0 with additional conditions. One review says running Dify as a multi-tenant SaaS product needs a commercial licence. Read the licence text itself before building a product.
- **Ignoring hosting duties.** Cloud and self-hosted are different choices. Self-hosting means you secure the server and the keys, as the [self-hosted agent guide](/learn/self-hosted-ai-agent-considerations) describes.

Next step: build one small app on your own documents, then ask it ten questions whose answers you already know. How retrieval grounds answers is covered under [retrieval-augmented generation](/glossary/retrieval-augmented-generation).

## Common confusions

- **Dify versus a framework.** A framework such as [LangChain](/glossary/langchain) is a code library. Dify is a platform with a visual editor and its own hosted or self-hosted runtime. See [AI agent framework](/glossary/ai-agent-framework).
- **Dify versus an automation tool.** [n8n](/glossary/n8n) is a workflow automation tool; Dify's own docs describe building AI applications. Categories overlap, so read each product's docs.
- **Open source versus unrestricted.** Dify's source is public, but the README says the licence adds conditions to Apache 2.0.
- **Dify versus a model.** Dify does not supply the language model's intelligence; you connect a model to it.

## Worked examples in this catalogue

### [No-code AI agent builders: what to check first](https://skillalmanac.com/learn/no-code-ai-agent-builders-what-to-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Checks before building on a hosted no-code AI agent builder: product lifecycle, input limits, failure alerts, versioning, deletion and pricing.

Why it exercises the concept: Dify Cloud is a hosted builder, so those checks apply to it as to others. The guide gives a list to test, and it does not assess Dify itself.

### [Self-Hosting an AI Agent: What You Take On](https://skillalmanac.com/learn/self-hosted-ai-agent-considerations)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: What you own when an AI agent runs on your machine: model memory, network exposure, file access and vetting skills, as a checklist.

Why it exercises the concept: Dify's Community Edition is self-hosted. Running it yourself brings duties of this kind, such as network exposure and who can reach your data.

### [How to Build an AI Agent: A Minimal Tool Loop](https://skillalmanac.com/learn/build-an-ai-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A minimal AI agent in Python with a tool-use loop, with checks that it works and a look at where it breaks.

Why it exercises the concept: A visual platform hides the tool loop. Seeing the loop written out shows what a builder like Dify is assembling for you.

### [env-file-exposure-check](https://skillalmanac.com/skills/skill-almanac/env-file-exposure-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A check of a project folder for committed environment files and secret-shaped values, reporting file, line and a masked value.

Why it exercises the concept: Self-hosting may mean storing model API keys in config files. This check helps catch keys committed by mistake.

## Related terms

- [AI agent builder](https://skillalmanac.com/glossary/ai-agent-builder.md)
- [AI agent framework](https://skillalmanac.com/glossary/ai-agent-framework.md)
- [Retrieval-augmented generation (RAG)](https://skillalmanac.com/glossary/retrieval-augmented-generation.md)
- [AI agent](https://skillalmanac.com/glossary/ai-agent.md)
- [n8n](https://skillalmanac.com/glossary/n8n.md)
- [LLMOps](https://skillalmanac.com/glossary/llmops.md)

## Sources

- [Dify documentation: introduction](https://docs.dify.ai/en/introduction), Dify (LangGenius) (accessed 2026-11-24)
- [langgenius/dify README](https://github.com/langgenius/dify), GitHub (langgenius) (accessed 2026-11-24)
- [Dify review](https://chatforest.com/reviews/dify-open-source-ai-workflow-agent-platform-review/), ChatForest (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
