Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
Go to file
2024-04-02 19:51:02 +08:00
.devcontainer fix devcontainer issue (#1273) 2023-10-07 10:34:25 +08:00
.github Fix typo (#3041) 2024-03-31 12:41:16 +08:00
api fix(duckduckgo-search): invoke error (#3077) 2024-04-02 18:40:09 +08:00
dev enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366) 2024-02-06 13:21:13 +08:00
docker version to 0.5.11-fix1 (#3073) 2024-04-02 12:51:29 +08:00
images doc: replace readme images (#2039) 2024-01-15 17:38:22 +08:00
sdks feat: Add tools for open weather search and image generation using the Spark API. (#2845) 2024-03-18 16:22:48 +08:00
web version to 0.5.11-fix1 (#3073) 2024-04-02 12:51:29 +08:00
.gitignore feat(llm/models): add claude-3-haiku-20240307 (#2825) 2024-03-14 10:08:24 +08:00
AUTHORS Initial commit 2023-05-15 08:51:32 +08:00
CONTRIBUTING_CN.md update the discord Invalid invite (#3028) 2024-03-29 13:16:52 +08:00
CONTRIBUTING.md update the discord Invalid invite (#3028) 2024-03-29 13:16:52 +08:00
LICENSE Doc/update license (#2666) 2024-03-04 14:10:39 +08:00
Makefile Refactor: Streamline the build-push and deploy-dev workflow (#2852) 2024-03-17 14:20:34 +08:00
README_CN.md doc: update helm charts (#3012) 2024-03-28 13:02:41 +08:00
README_ES.md Doc/update readme (#2186) 2024-01-24 22:06:37 +08:00
README_FR.md Doc/update readme (#2186) 2024-01-24 22:06:37 +08:00
README_JA.md Doc/update readme (#2186) 2024-01-24 22:06:37 +08:00
README_KL.md Doc/update readme (#2186) 2024-01-24 22:06:37 +08:00
README.md Chore/move chrome ext (#3085) 2024-04-02 19:51:02 +08:00

English | 简体中文 | 日本語 | Español | Klingon | Français

Static Badge chat on Discord follow on Twitter Docker Pulls

📌 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.

Using our Cloud Services

You can try out Dify.AI Cloud now. It provides all the capabilities of the self-deployed version, and includes 200 free requests to OpenAI GPT-3.5.

Looking to purchase via AWS?

Check out Dify Premium on AWS and deploy it to your own AWS VPC with one-click.

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

Features

1. LLM Support: Integration with OpenAI's GPT family of models, or the open-source Llama2 family models. In fact, Dify supports mainstream commercial models and open-source models (locally deployed or based on MaaS).

2. Prompt IDE: Visual orchestration of applications and services based on LLMs with your team.

3. 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.

4. 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 tool calling capabilities, such as Google Search, DELL·E, Stable Diffusion, WolframAlpha, etc.

5. Continuous Operations: Monitor and analyze application logs and performance, continuously improving Prompts, datasets, or models using production data.

Before You Start

Star us on GitHub, and be instantly notified for new releases!

star-us

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 file. Before running the installation command, make sure that Docker and Docker Compose are installed on your machine:

cd docker
docker compose up -d

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

Deploy with Helm Chart

Helm Chart version, which allows Dify to be deployed on Kubernetes.

Configuration

If you need to customize the configuration, please refer to the comments in our docker-compose.yml 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.

Star History

Star History Chart

Contributing

For those who'd like to contribute code, see our Contribution Guide.

At the same time, please consider supporting Dify by sharing it on social media and at events and conferences.

Projects made by community

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 for more information, and leave us a comment in the global-users channel of our Discord Community Server.

Community & Support

  • Canny. Best for: sharing feedback and checking out our feature roadmap.
  • GitHub Issues. Best for: bugs you encounter using Dify.AI, and feature proposals. See our Contribution Guide.
  • Email Support. Best for: questions you have about using Dify.AI.
  • Discord. Best for: sharing your applications and hanging out with the community.
  • Twitter. Best for: sharing your applications and hanging out with the community.
  • Business Contact. Best for: business inquiries of licensing Dify.AI for commercial use.

Direct Meetings

Help us make Dify better. Reach out directly to us.

Point of Contact Purpose
Git-Hub-README-Button-3x Product design feedback, user experience discussions, feature planning and roadmaps.
Git-Hub-README-Button-2x Technical support, issues, or 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, which is essentially Apache 2.0 with a few additional restrictions.