Alternatives to Dify
Self-hosted platform for building AI agent workflows and RAG pipelines. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
Dify
Self-hosted platform for building AI agent workflows and RAG pipelines.
Replacements
Listings that take over the same core job as Dify.
Langflow
Visual builder for creating and deploying AI agent workflows.
Langflow is an MIT licensed, self-hostable visual builder for agent workflows with built-in API and MCP server output, replacing Dify's custom source-available license.
RAGFlow
An open-source, self-hostable RAG engine with document ingestion, hybrid search and a visual agent builder.
RAGFlow is an open-source self-hosted RAG engine with hybrid search, re-ranking and a visual agent builder, focused more on document ingestion than general workflows.
LobeHub
AI agent workspace for building, scheduling and chatting with agents across many models.
LobeHub is a web or self-hosted agent workspace with skill and MCP marketplaces, also under a source-available licence, but centred on chatting with agents rather than RAG pipelines.
MindsHub (formerly MindsDB)
Open source agent workspace for research, coding and business tasks.
MindsHub is an MIT-licensed self-hostable agent workspace for research, coding and business tasks with multiple model providers, recently rebranded from MindsDB.
Also worth comparing
These listings name Dify as their own alternative, so the relationship runs both ways.
PrivateGPT
A self-hosted API layer for building private AI applications on top of local language models.
Dify offers a visual builder for workflows, RAG and agents that can be self-hosted, but uses a custom source-available license and needs your own model provider access.
Similar software
Related functionality, not a direct replacement.
AnythingLLM
A desktop AI app that answers questions about your own documents, with no account and no API key needed.
Open WebUI
A self-hosted chat interface that talks to Ollama and any OpenAI-compatible API, so your local models get a proper front end.
Docling
Open source library that converts documents into AI-ready structured formats.
Ollama
The simplest way to pull down an open language model and run it on your own machine, from one command or a desktop app.
LocalAI
Serve language, image and speech models on your own hardware.
LibreChat
Self-hosted open-source chat interface that brings many AI models and providers into one place.