Core Concepts
Reasoning
Memory & Retrieval
Agent Types
Design Patterns
Training & Alignment
Frameworks
Tools
Safety & Security
Evaluation
Meta
Core Concepts
Reasoning
Memory & Retrieval
Agent Types
Design Patterns
Training & Alignment
Frameworks
Tools
Safety & Security
Evaluation
Meta
Dify is an open-source agentic workflow platform that enables developers and non-technical users to build, deploy, and manage LLM-powered applications through a visual workflow designer and programmatic APIs. With over 134,000 GitHub stars, Dify has become one of the most popular platforms for orchestrating AI agents and RAG pipelines.
| Repository | github.com/langgenius/dify |
| License | Apache 2.0 |
| Language | Python, TypeScript |
| Stars | 134K+ |
| Category | Agentic Workflow Platform |
Dify employs a Beehive modular architecture where each component can be developed, tested, and deployed independently. The platform comprises three core operational layers:
Model suppliers and models are configured declaratively using YAML-based DSL, standardizing the process of adding new models while maintaining API consistency across integration points.
The Agent Node functions as a decision center within workflows, supporting multiple reasoning strategies:
Developers can create custom strategy plugins using CLI tools and customize configuration forms.
import requests DIFY_API_KEY = "app-your-api-key" BASE_URL = "https://api.dify.ai/v1" def run_workflow(inputs, user_id="default"): response = requests.post( f"{BASE_URL}/workflows/run", headers={ "Authorization": f"Bearer {DIFY_API_KEY}", "Content-Type": "application/json" }, json={ "inputs": inputs, "response_mode": "blocking", "user": user_id } ) return response.json() result = run_workflow({"query": "Summarize this document"}) print(result["data"]["outputs"])