langgenius/dify

▲ 1,061 stars today★ 155,769⑂ 24,605

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

155,769Star
24,605Fork
0Watch
0Issue
TypeScriptLanguage
-License
Created · last push · repository size 0 KB · default branch -

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 हिन्दी

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. Before running Dify with the following commands, make sure that Docker and Docker Compose v2.24.0 or later are installed on your machine:

cd dify
cd docker
cp .env.example .env
docker compose up -d

After running, you can access the Dify dashboard in your browser at http://localhost/install and start the initialization process.

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 capabilities: You can define agents based on LLM Function Calling or ReAct, and add pre-built or custom tools for the agent. Dify provides 50+ built-in tools for AI agents, such as Google Search, DALL·E, Stable Diffusion and WolframAlpha.

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 a Dify Cloud service for anyone to try with zero setup. It provides all the capabilities of the self-deployed version, and includes 200 free GPT-4 calls in the sandbox plan. If you run into issues with Dify Cloud, 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. We provide additional enterprise-centric features. Send us an email to discuss your enterprise needs.

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

https://github.com/langgenius/dify/blob/HEAD/Star History Chart

Security disclosure

To protect your privacy, please avoid posting security issues on GitHub. Instead, report issues to [email protected], and our team will respond with detailed answer.

License

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

More Today's Trending projects

1

debpalash / VoiceStudio

Python★ 29,840⑂ 3,606▲ 2,776 stars
2

JustVugg / colibri

C★ 32,609⑂ 3,430▲ 2,173 stars
3

bilawalsidhu / gods-eye-view

JavaScript★ 33,945⑂ 6,772▲ 1,831 stars
4

alibaba / open-code-review

Go★ 26,516⑂ 1,906▲ 1,571 stars
5

ever-co / ever-gauzy

TypeScript★ 6,164⑂ 994▲ 1,130 stars
6

pacifio / atlas

Rust★ 4,440⑂ 274▲ 1,091 stars