Kavvo Agents

Dify

November 29, 2026 · 4 min read · By the Kavvo Agents team

What it is

Dify is an open-source LLM app development platform. Its README describes it as a platform whose intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, and observability, letting you go quickly from prototype to production. You build in a browser: you design a workflow on a visual canvas, add a model, tools, and a knowledge base, and publish the result as a web app or an API.

Dify offers several app types: Agent apps where the model reasons, makes decisions, and uses tools; Chatbot apps for conversational apps with a model and a prompt; Text Generator apps for single-turn generation; and Workflow and Chatflow apps for agentic workflows that combine models, tools, and logic into repeatable processes. The name Dify comes from Do It For You.

Who made it

Dify is made by LangGenius, Inc. The project is open source on GitHub as langgenius/dify, and the documentation is at docs.dify.ai.

What it does

Dify agents can be based on LLM function calling or ReAct, and you can add pre-built or custom tools. The README lists more than 50 built-in tools for AI agents, such as Google Search, DALL·E, Stable Diffusion, and WolframAlpha. You can also add knowledge: upload documents to a knowledge base, and the agent searches them with RAG before answering.

Dify supports hundreds of proprietary and open-source models from many providers, including GPT, Mistral, and Llama models, and any OpenAI API-compatible model. It provides model management, observability through integrations such as Langfuse, and a plugin system for extending it with your own tools, models, and integrations. Every published app is exposed as a REST API, so you can call it from your product, and you can run apps from a terminal with the difyctl command-line tool.

How it works

You create an app in the Dify console, choose its type, and build it on the canvas. For an Agent app, you write a prompt that tells the agent who it is and what it should do, add tools, and optionally add knowledge. For a Workflow app, you add nodes: an LLM node, an Agent node that runs an agent as a step, a knowledge retrieval node, and logic nodes that branch and combine results.

When a user sends a message, the agent reasons, calls tools if needed, retrieves from the knowledge base, and returns an answer. You can test the app in the console, publish it as a web app, embed it, or call its Service API with an API key. Workspaces organise everything your team builds, and version history lets you restore an earlier version of an app.

How to start

  1. Start with Dify Cloud at dify.ai, which offers a free Sandbox plan with no installation, or self-host the open-source Community Edition with Docker Compose. Check the official docs for the current self-hosting requirements.
  2. Create an account and a workspace, then create a new app and choose Agent as the type.
  3. Write a short prompt for the agent, add one tool such as web search, and optionally upload a document to a knowledge base.
  4. Test the agent in the console with a few questions, and check whether it uses the tool and the knowledge base when it should.
  5. Publish the app as a web app, or create an API key and call the Service API from your product. The base URL for self-hosted Dify is usually http://localhost/v1, and for Dify Cloud it is https://api.dify.ai/v1 — check the docs for your setup.
  6. When you want to move an app between instances, export it as a DSL file and import it in the other instance.

For self-hosting, the docs recommend Docker and at least 2 CPU cores and 4 GB of RAM — check the official docs for current requirements.

Who it is for

Dify is for teams who want to build AI apps, agents, and RAG systems without writing code, and for developers who want a visual builder with an API on top. It suits support agents, internal knowledge assistants, content tools, and prototypes that need to become a web app quickly. It is a good fit when non-developers need to edit flows in a browser and you want an API, observability, and model management built in.

Watch out for

Dify uses the Dify Open Source License, which is based on Apache 2.0 with additional conditions. Read it before offering Dify as a hosted service. For LLM calls embedded in application code, a library such as LangChain is lighter — Dify fits when you want a visual console and an API. Self-hosting needs a server, Docker, and maintenance, including upgrades and backups. Keep API keys separate per app, use read-only tools first, and add human approval before an agent takes an irreversible action. Check the official pricing page before you assume a Cloud feature is free.

Source