[![](./images/GitHub_README_cover.png)](https://dify.ai)
English | 简体中文 | 日本語 | Español | Klingon | Français
📌 Check out Dify Premium on AWS and deploy it to your own AWS VPC with one-click.
**Dify** is an open-source LLM app development platform. Dify's intuitive interface combines a RAG pipeline, AI workflow orchestration, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production. https://github.com/langgenius/dify/assets/13230914/979e7a68-f067-4bbc-b38e-2deb2cc2bbb5 ## Using Dify Cloud You can try out [Dify Cloud](https://dify.ai) now. It provides all the capabilities of the self-deployed version, and includes 200 free GPT-4 calls. ## Dify for Enterprise / Organizations [Schedule a meeting with us](#Direct-Meetings) or [send us an email](mailto:business@dify.ai?subject=[GitHub]Business%20License%20Inquiry) to discuss enterprise needs. For startups and small businesses using AWS, check out [Dify Premium on AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-t22mebxzwjhu6) and deploy it to your own AWS VPC with one-click. It's an affordable AMI offering with the option to create apps with custom logo and branding. ## Features ![](./images/models.png) **1. Workflow**: Create and test complex AI workflows on a visual canvas, with pre-built nodes taking advantage of the power of all the following features and beyond. **2. Extensive LLM support**: Seamless integration with hundreds of proprietary / open-source LLMs and dozens of inference providers, including GPT, Mistral, Llama2, and OpenAI API-compatible models. A full list of supported model providers is kept [here](https://docs.dify.ai/getting-started/readme/model-providers). **3. Prompt IDE**: Visual orchestration of applications and services based on any LLMs. Easily share with your team. **4. RAG Engine**: Includes various RAG capabilities based on full-text indexing or vector database embeddings, allowing direct upload of PDFs, TXTs, and other text formats. **5. AI Agent**: Based on Function Calling and ReAct, the Agent inference framework allows users to customize tools, what you see is what you get. Dify provides more than a dozen built-in tools for AI agents, such as Google Search, DELL·E, Stable Diffusion, WolframAlpha, etc. **6. LLMOps**: Monitor and analyze application logs and performance, continuously improving Prompts, datasets, or models based on production data. ## Dify vs. LangChain vs. Assistants API | Feature | Dify.AI | Assistants API | LangChain | |---------|---------|----------------|-----------| | **Programming Approach** | API-oriented | API-oriented | Python Code-oriented | | **Ecosystem Strategy** | Open Source | Close Source | Open Source | | **RAG Engine** | Supported | Supported | Not Supported | | **Prompt IDE** | Included | Included | None | | **Supported LLMs** | Rich Variety | OpenAI-only | Rich Variety | | **Local Deployment** | Supported | Not Supported | Not Applicable | ## Before You Start **Star us on GitHub, and be instantly notified for new releases!** ![star-us](https://github.com/langgenius/dify/assets/100913391/95f37259-7370-4456-a9f0-0bc01ef8642f) - [Website](https://dify.ai) - [Docs](https://docs.dify.ai) - [Deployment Docs](https://docs.dify.ai/getting-started/install-self-hosted) - [FAQ](https://docs.dify.ai/getting-started/faq) ## Install the Community Edition ### System Requirements Before installing Dify, make sure your machine meets the following minimum system requirements: - CPU >= 2 Core - RAM >= 4GB ### Quick Start The easiest way to start the Dify server is to run our [docker-compose.yml](docker/docker-compose.yaml) file. Before running the installation command, make sure that [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/) are installed on your machine: ```bash cd docker docker compose up -d ``` After running, you can access the Dify dashboard in your browser at [http://localhost/install](http://localhost/install) and start the initialization installation process. #### Deploy with Helm Chart [Helm Chart](https://helm.sh/) version, which allows Dify to be deployed on Kubernetes. - [Helm Chart by @LeoQuote](https://github.com/douban/charts/tree/master/charts/dify) - [Helm Chart by @BorisPolonsky](https://github.com/BorisPolonsky/dify-helm) ### Configuration If you need to customize the configuration, please refer to the comments in our [docker-compose.yml](docker/docker-compose.yaml) file and manually set the environment configuration. After making the changes, please run `docker-compose up -d` again. You can see the full list of environment variables in our [docs](https://docs.dify.ai/getting-started/install-self-hosted/environments). ## Star History [![Star History Chart](https://api.star-history.com/svg?repos=langgenius/dify&type=Date)](https://star-history.com/#langgenius/dify&Date) ## Contributing For those who'd like to contribute code, see our [Contribution Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md). At the same time, please consider supporting Dify by sharing it on social media and at events and conferences. ### Projects made by community - [Chatbot Chrome Extension by @charli117](https://github.com/langgenius/chatbot-chrome-extension) ### Contributors ### Translations We are looking for contributors to help with translating Dify to languages other than Mandarin or English. If you are interested in helping, please see the [i18n README](https://github.com/langgenius/dify/blob/main/web/i18n/README.md) for more information, and leave us a comment in the `global-users` channel of our [Discord Community Server](https://discord.gg/8Tpq4AcN9c). ## Community & Support * [Github Discussion](https://github.com/langgenius/dify/discussions). Best for: sharing feedback and asking questions. * [GitHub Issues](https://github.com/langgenius/dify/issues). Best for: bugs you encounter using Dify.AI, and feature proposals. See our [Contribution Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md). * [Email Support](mailto:hello@dify.ai?subject=[GitHub]Questions%20About%20Dify). Best for: questions you have about using Dify.AI. * [Discord](https://discord.gg/FngNHpbcY7). Best for: sharing your applications and hanging out with the community. * [Twitter](https://twitter.com/dify_ai). Best for: sharing your applications and hanging out with the community. ### Direct Meetings | Point of Contact | Purpose | | :----------------------------------------------------------: | :----------------------------------------------------------: | | | Business enquiries & product feedback. | | | Contributions, issues & feature requests | ## Security Disclosure To protect your privacy, please avoid posting security issues on GitHub. Instead, send your questions to security@dify.ai and we will provide you with a more detailed answer. ## License This repository is available under the [Dify Open Source License](LICENSE), which is essentially Apache 2.0 with a few additional restrictions.