Dify logo

4 self-hosted Dify alternatives

Hosted platform for building, deploying, and operating LLM applications—chatbots, autonomous agents, and RAG pipelines. Provides orchestration, prompt management, plugin integrations, observability, and open-source–friendly tooling.

Alternatives to Dify

Feature-rich, self-hosted AI interface that integrates Ollama and OpenAI-compatible APIs, offers RAG, vector DB support, image tools, RBAC and observability.

Open WebUI screenshot

150k stars21.9k forkslast commit Actively maintained

AnythingLLM is an all-in-one desktop and Docker app for chatting with documents using RAG, running AI agents, and connecting to local or hosted LLMs and vector databases.

AnythingLLM screenshot

65.3k stars7.2k forksMITlast commit Actively maintained

Self-hostable personal AI 'second brain' for chat, semantic search, custom agents, automations and integration with local or cloud LLMs.

Khoj screenshot

36.7k stars2.4k forksAGPL-3.0last commit Actively maintained

What replacing Dify actually involves

Every option on this page is open source and free to run on your own hardware, so you own the data and there is no subscription to cancel. 4 of 4 shipped a commit in the last six months. Licences in this list: MIT, AGPL-3.0. In exchange you take on hosting, backups and updates yourself.

Browse everything in AI Interfaces (Chatbots, Agents, RAG Apps).

Other tools people replace alongside Dify