对话界面、知识库与智能体Dify Open Source License (Apache-2.0 based)Python / TypeScript

Dify

Visual platform for building LLM apps, RAG pipelines and agents.

Star 数
158.5K
Fork 数
25K
未关闭 Issue
1.1K
最近提交
2026-10-15

数据来自 GitHub API · 更新于 2026-10-15

Dify 是什么?

Dify lets teams build chatbots, agents and AI workflows in a visual editor, with RAG, model management across providers, observability and APIs to ship them. Self-host with Docker Compose or use Dify Cloud.

主要功能

  • Visual workflow and agent builder
  • RAG pipeline with many vector stores
  • Prompt IDE and LLMOps logs
  • Backend-as-a-service APIs

系统要求

平台
Docker · Web
内存
4 GB+
备注
Docker and Docker Compose; 2+ CPU cores.

如何安装 Dify

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

Docker Compose

  1. 1
    Clone and start the stack.
    git clone https://github.com/langgenius/dify.git
    cd dify/docker
    cp .env.example .env
    docker compose up -d
  2. 2
    Open http://localhost/install to create the admin account.

优势

  • Fastest path from idea to AI app
  • Strong RAG and workflow tools

不足

  • License restricts multi-tenant SaaS use

Dify 替代品对比

软件Star 数许可证平台显存
Dify

Visual platform for building LLM apps, RAG pipelines and agents.

158.5KDify Open Source License (Apache-2.0 based)—
Flowise

Drag-and-drop UI to build LLM flows and agents.

55.5KApache-2.0—
Langflow

Visual builder for AI agents and RAG apps, deployable as APIs or MCP servers.

155.7KMIT—
n8n

Workflow automation with native AI agents and 400+ integrations.

207.4KSustainable Use License (fair-code)—
RAGFlow

RAG engine built on deep document understanding.

92.3KApache-2.0—
Open WebUI

Self-hosted ChatGPT-style interface for Ollama and OpenAI-compatible APIs.

155.7KOpen WebUI License (BSD-3-Clause based)—

常见问题

Dify 免费吗?

是的——Dify 是开源软件,采用 Dify Open Source License (Apache-2.0 based) 许可证。商用前请确认软件及模型权重的许可条款。

Dify 支持 Windows、Mac 和 Linux 吗?

Dify 支持:Docker, Web。

运行 Dify 需要什么配置?

RAM: 4 GB+

如何安装 Dify?

1. Clone and start the stack. 2. Open http://localhost/install to create the admin account.

Dify 有哪些好的替代品?

常见替代品包括 Flowise, Langflow, n8n, RAGFlow,详见本页对比表。