# Dify Dify (short for "Do It For You") is an open-source platform for developing LLM applications. It combines an intuitive visual interface with agentic AI workflows, [[Retrieval-Augmented Generation (RAG)|RAG]] pipelines, agent capabilities, model management, and observability features; allowing you to quickly move from prototype to production. The platform is designed to be production-ready from day one, making it suitable for enterprise AI transformations that require grounded infrastructure to distribute AI capabilities across multiple departments. ## Key Features ### Workflow Builder Build and test powerful AI workflows on a visual canvas. The drag-and-drop interface makes it accessible to create complex agentic processes without extensive coding. ### Comprehensive Model Support Seamless integration with hundreds of proprietary and open-source LLMs from dozens of inference providers and self-hosted solutions, including GPT, Mistral, Llama3, and any OpenAI API-compatible models. ### Prompt IDE Intuitive interface for crafting prompts, comparing model performance, and adding features such as text-to-speech to chat-based applications. ### RAG Pipeline Extensive [[Retrieval-Augmented Generation (RAG)|RAG]] capabilities covering everything from document ingestion to retrieval, with out-of-box support for text extraction from PDFs, PPTs, and other common document formats. ### Agent Capabilities Define agents based on LLM Function Calling or ReAct, and add pre-built or custom tools. Dify provides 50+ built-in tools for [[AI Agents]], such as Google Search, DALLĀ·E, Stable Diffusion, and WolframAlpha. ### LLMOps Monitor and analyze application logs and performance over time. Continuously improve prompts, datasets, and models based on production data and annotations. ### Backend-as-a-Service All of Dify's offerings come with corresponding APIs, enabling effortless integration into your own business logic. ### Plugin Ecosystem Bridge any models and tools with plugins in seconds without touching the source code. Discover, extend, or submit plugins that bring more capabilities to the community. ## Deployment Options - **Dify Cloud**: Hosted service with zero setup, includes 200 free GPT-4 calls in the sandbox plan - **Self-hosted Community Edition**: Deploy via Docker Compose on your own infrastructure - **Enterprise Edition**: Additional enterprise-centric features for organizations - **AWS Marketplace**: Dify Premium as an affordable AMI with custom branding options ## Getting Started ```bash # Clone and run with Docker Compose cd dify/docker cp .env.example .env docker compose up -d ``` Minimum requirements: 2 CPU cores, 4 GiB RAM. License: Open Source (with enterprise options) ## References - Official Website: https://dify.ai/ - Documentation: https://docs.dify.ai/ - Source code: https://github.com/langgenius/dify - Blog: https://dify.ai/blog - Discord: https://discord.gg/FngNHpbcY7 - Forum: https://forum.dify.ai