selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

dify logo

Self-host dify

1.19.0

Open-source platform for agentic AI workflows and RAG

ReleaseSource AvailableOther
Updatedlast week
LanguagePython
Setup difficultyModerate
Stars
161 262
CPU
2 Core
RAM
4 GiB
Ports
80 (HTTP (nginx reverse proxy)), 443 (HTTPS (nginx reverse proxy))
Docker
langgenius/dify-api
Install with Docker Compose
Dify Workflow Studio canvas showing connected nodes for an AI workflowDify agent configuration with tools and memoryDify Knowledge Pipeline turning documents into an indexed knowledge baseDify plugin marketplace with model providers and toolsDify publishing options and monitoring dashboard

What is dify?

Dify is an open-source LLM application development platform by LangGenius that lets teams build, deploy, and manage AI applications through a visual interface. It provides a workflow studio for designing agentic logic, a knowledge pipeline for RAG with document ingestion and retrieval, autonomous agents with sandboxed tool use, comprehensive model provider support, prompt engineering tools, and LLMOps observability. The Community Edition is self-hosted via Docker Compose with a single command, requiring at least 2 CPU cores and 4 GiB RAM. It uses PostgreSQL, Redis, and Weaviate as default dependencies. An Enterprise edition adds SSO/SAML, RBAC, audit logs, and dedicated support under a commercial license. The source code uses a modified Apache 2.0 license that restricts multi-tenant SaaS use and requires preserving branding.

Should you self-host dify?

dify scores 90/100 on selfhost.directory (how scoring works) and ranks #1 of 7 in AI Workflows. It has 161 262 GitHub stars, +2 975 in the last 30 days.

It shipped 16 stable releases in the past year. The latest, 1.19.0, came out on 4 November 2026. New versions land roughly every 2 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is llama-swap (72/100, 6 258 stars). dify scores higher overall. See dify vs llama-swap side by side.

Features

  • Autonomous Agents
  • Backend-as-a-Service APIs
  • Comprehensive Model Support
  • LLMOps Observability
  • MCP (Model Context Protocol) Support
  • Multi-format Document Processing
  • Plugin Marketplace
  • Prompt IDE
  • RAG Pipeline
  • Third-party Observability Integrations
  • Visual Workflow Builder

dify README

How to install dify

Install dify with Docker Compose

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

Requires Docker and Docker Compose v2.24.0+

dify releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How do I create a backup before upgrading Dify?

Copy the entire dify directory to a timestamped backup folder: cp -r dify "dify.bak.$(date +%Y%m%d%H%M%S)"

What should I do if git clone fails with 'Remote branch null not found'?

The GitHub API rate limit caused the version lookup to fail. Clone with an explicit version number from the Dify releases page instead.

How do I install an older version of Dify?

Use the --branch flag with git clone to specify a version, e.g., git clone --branch 0.15.3 https://github.com/langgenius/dify.git

More in AI Workflows

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…