langgenius/dify

★ 158,160⑂ 25,002

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace.

About langgenius/dify

langgenius/dify is an open-source project on GitHub, mainly written in TypeScript. Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. It currently holds 158,160 stars and 25,002 forks with 1,097 open issues, and was last pushed on 2026-10-11 (repository created 2023-04-12).

Project Overview

Git Homed tracks it on the Automation Agent Trending board and on the AI Automation Agent Trending list.

GitHub Repository Details

Repository langgenius/dify · default branch main · size 598778 KB · watchers 841 · source: GitHub REST API and repository README

README

cover-v5-optimized

Dify Cloud · Self-hosting · Documentation · Dify edition overview

https://github.com/langgenius/dify/blob/HEAD/Static Badge https://github.com/langgenius/dify/blob/HEAD/Static Badge https://github.com/langgenius/dify/blob/HEAD/chat on Discord https://github.com/langgenius/dify/blob/HEAD/join Reddit https://github.com/langgenius/dify/blob/HEAD/follow on X(Twitter) https://github.com/langgenius/dify/blob/HEAD/follow on LinkedIn https://github.com/langgenius/dify/blob/HEAD/Docker Pulls https://github.com/langgenius/dify/blob/HEAD/Commits last month https://github.com/langgenius/dify/blob/HEAD/Issues closed https://github.com/langgenius/dify/blob/HEAD/Discussion posts https://github.com/langgenius/dify/blob/HEAD/LFX Health Score https://github.com/langgenius/dify/blob/HEAD/LFX Contributors https://github.com/langgenius/dify/blob/HEAD/LFX Active Contributors

https://github.com/langgenius/dify/blob/HEAD/README in English https://github.com/langgenius/dify/blob/HEAD/繁體中文文件 https://github.com/langgenius/dify/blob/HEAD/简体中文文件 https://github.com/langgenius/dify/blob/HEAD/日本語のREADME https://github.com/langgenius/dify/blob/HEAD/README en Español https://github.com/langgenius/dify/blob/HEAD/README en Français https://github.com/langgenius/dify/blob/HEAD/README tlhIngan Hol https://github.com/langgenius/dify/blob/HEAD/README in Korean https://github.com/langgenius/dify/blob/HEAD/README بالعربية https://github.com/langgenius/dify/blob/HEAD/Türkçe README https://github.com/langgenius/dify/blob/HEAD/README Tiếng Việt https://github.com/langgenius/dify/blob/HEAD/README in Deutsch https://github.com/langgenius/dify/blob/HEAD/README in Italiano https://github.com/langgenius/dify/blob/HEAD/README em Português do Brasil https://github.com/langgenius/dify/blob/HEAD/README Slovenščina https://github.com/langgenius/dify/blob/HEAD/README in বাংলা https://github.com/langgenius/dify/blob/HEAD/README in हिन्दी https://github.com/langgenius/dify/blob/HEAD/README dalam Bahasa Indonesia

Dify is an open-source LLM app development platform. Its intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features (including Opik, Langfuse, and Arize Phoenix) and more, letting you quickly go from prototype to production. Here's a list of the core features:

Quick start

Before installing Dify, make sure your machine meets the following minimum system requirements:
> - CPU >= 2 Core
- RAM >= 4 GiB


The easiest way to start the Dify server is through Docker Compose. Install Docker with a running daemon, Docker Compose v2.35.0 or later, and OpenSSL.

For a new deployment, run the following commands from the repository root. For an existing deployment, preserve your .env and follow the upgrade guidance.

cd docker
cp .env.example .env
openssl rand -hex 32

Open .env and set DIFY_AGENT_LOCAL_SANDBOX_AUTH_TOKEN to the generated value. Keep the default COMPOSE_PROFILES value for the bundled services. Service defaults load automatically; no additional configuration files are required.

From the same docker directory, start the services:

docker compose up -d
docker compose ps --all

Once the services are running, open http://localhost/install to complete the initial setup. The one-time init_permissions service is expected to exit with code 0.

For optional settings and service overrides, see the Docker deployment guide.

Seeking help

Please refer to our FAQ if you encounter problems setting up Dify. Reach out to the community and us if you are still having issues.

If you'd like to contribute to Dify or do additional development, refer to our guide to deploying from source code

Key features

1. Workflow: Build and test powerful AI workflows on a visual canvas, leveraging all the following features and beyond.

2. Comprehensive model support: Seamless integration with hundreds of proprietary / open-source LLMs from dozens of inference providers and self-hosted solutions, covering GPT, Mistral, Llama3, and any OpenAI API-compatible models. A full list of supported model providers can be found here.

providers-v5

3. Prompt IDE: Intuitive interface for crafting prompts, comparing model performance, and adding additional features such as text-to-speech to a chat-based app.

4. RAG Pipeline: Extensive RAG capabilities that cover everything from document ingestion to retrieval, with out-of-box support for text extraction from PDFs, PPTs, and other common document formats.

5. Agent: Autonomous agents with a sandbox of their own: they run commands, install software, and handle files to get open-ended tasks done. Describe the agent you want and it builds itself. Give it skills, connect tools from Dify Marketplace, MCP servers, or your own APIs, and put it to work as a chat app or as a step in any workflow.

6. LLMOps: Monitor and analyze application logs and performance over time. You could continuously improve prompts, datasets, and models based on production data and annotations.

7. Backend-as-a-Service: All of Dify's offerings come with corresponding APIs, so you could effortlessly integrate Dify into your own business logic.

Using Dify

We host Dify Cloud so you can try Dify without managing a server. See the pricing page for current plans and usage allowances. If you run into issues, contact our Cloud support team. Quickly get Dify running in your environment with this starter guide. Use our documentation for further references and more in-depth instructions. For organizations requiring self-hosting, SSO, RBAC Security and Enterprise Support SLAs, please fill out this form to speak to a solution representative.

Staying ahead

Star Dify on GitHub and be instantly notified of new releases.

https://github.com/langgenius/dify/blob/HEAD/star

Advanced Setup

For custom configuration, observability, and deployment options, see Advanced Setup.

Contributing

Dify welcomes contributions of all kinds:

Contributors

https://github.com/langgenius/dify/blob/HEAD/Dify contributors

Community & contact

Choose the channel that best fits your question:

Star History

Star History Chart Star History Chart

Security disclosure

Report vulnerabilities privately through GitHub Security Advisories, following our security policy. Do not disclose them in public issues, discussions, or pull requests.

License

This repository is licensed under the Dify Open Source License, based on Apache 2.0 with additional conditions.

GitHub Stars & Activity

158,160Stars
25,002Forks
1,097Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars158,160
Forks25,002
Open issues1,097
Primary languageTypeScript
LicenseNOASSERTION
Stars gained today0
Created2023-04-12
Last pushed2026-10-11

Trending History

Trending statusnot on today's boards

Related GitHub Projects

1

n8n-io / n8n

TypeScript★ 212,778⑂ 0
→
2

microsoft / playwright

TypeScript★ 101,528⑂ 0
→
3

simstudioai / sim

TypeScript★ 30,248⑂ 0
→
4

Budibase / budibase

TypeScript★ 28,465⑂ 0
→
5

apify / crawlee

TypeScript★ 26,632⑂ 0
→
6

activepieces / activepieces

TypeScript★ 25,830⑂ 0
→
7

appium / appium

TypeScript★ 22,284⑂ 0
→
8

getmaxun / maxun

TypeScript★ 18,602⑂ 0
→

More Trending Repositories