Alternatives
Self-hosted alternatives to Dify
Projects in the registry that can run on your own hardware and serve at least one of the same use cases as Dify.
- Source
- Registry relations over fetched repository records — the evidence sits on each repository page
- Verified
- Evidence not verified
- Confidence
- High
01How this list was built
- Compared against
- Dify
- Delivery
- Hybrid — hosted or self-hosted
- Shared use cases
- Private company ChatGPT, AI customer-support agent, Internal company search, Document Q&A, Marketing workflow
- Selection rule
- open source, or self-hostable, and shares a use case
- Candidates found
- 21
02Alternatives
AnythingLLM
Hybrid — hosted or self-hosted
Desktop and server application that turns a document set into a chat workspace, with per-workspace embeddings, multiple model back ends and a built-in vector store.
- Repository
- Mintplex-Labs/anything-llm
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Private company chatgpt · Document qa · Internal knowledge search
authentik
Hybrid — hosted or self-hosted
Identity provider with OpenID Connect, SAML and proxy-based authentication, application-level policies and a forward-auth outpost for services that have no login of their own.
- Repository
- goauthentik/authentik
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Private company chatgpt · Internal knowledge search
Chroma
Hybrid — hosted or self-hosted
Embedded and server-mode vector store with a small API surface, often used for prototypes and single-node retrieval before a larger engine is justified.
- Repository
- chroma-core/chroma
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Document qa · Internal knowledge search
ComfyUI
Self-hosted projects
Node-based interface for image and video generation models, where a pipeline is an explicit graph that can be saved, versioned and re-run. Runs locally on your own GPU.
- Repository
- comfyanonymous/ComfyUI
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Marketing workflow
Docling
Libraries
Document conversion toolkit that parses PDF, Office and image files into structured Markdown or JSON, preserving reading order, tables and figures for downstream retrieval.
- Repository
- docling-project/docling
- Stars
- 65,519
- Licence
- MIT
- In stacks
- 4
Shares: Document qa · Internal knowledge search
Flowise
Hybrid — hosted or self-hosted
Visual builder for LLM chains and agents, with retrieval nodes, tool calling and an API or embeddable chat widget for the finished flow.
- Repository
- FlowiseAI/Flowise
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Customer support agent · Document qa · Internal knowledge search
Keycloak
Self-hosted projects
Identity and access management server providing OpenID Connect and SAML single sign-on, user federation, groups and roles for self-hosted applications.
- Repository
- keycloak/keycloak
- Stars
- —
- Licence
- unknown
- In stacks
- 3
Shares: Private company chatgpt · Internal knowledge search
Kotaemon
Self-hosted projects
Document question-answering application with a configurable retrieval pipeline, inline citations that highlight the source passage, and support for local or hosted models.
- Repository
- Cinnamon/kotaemon
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Document qa · Internal knowledge search
LangChain
Frameworks
Library for composing model calls, retrieval and tools into applications, with adapters for most providers and vector stores. A building block, not a deployable product.
- Repository
- langchain-ai/langchain
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Document qa · Internal knowledge search · Customer support agent
Langflow
Hybrid — hosted or self-hosted
Visual environment for composing LLM pipelines and agents from components, with export to a Python application or an API endpoint.
- Repository
- langflow-ai/langflow
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Document qa · Customer support agent · Internal knowledge search
Langfuse
Hybrid — hosted or self-hosted
Tracing, evaluation and prompt management for LLM applications, self-hostable so prompts and responses can stay inside the network being audited.
- Repository
- langfuse/langfuse
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Private company chatgpt · Customer support agent · Internal knowledge search
LibreChat
Self-hosted projects
Self-hosted multi-model chat application with authentication, per-conversation model switching, plugins, file upload and an admin configuration file. Familiar interface for staff moving off consumer tools.
- Repository
- danny-avila/LibreChat
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Private company chatgpt · Document qa
LiteLLM
Cloud platforms
Gateway that presents one OpenAI-compatible API in front of many providers and local servers, with per-team keys, budgets, rate limits, fallbacks and request logging.
- Repository
- BerriAI/litellm
- Stars
- 57,216
- Licence
- Other
- In stacks
- 2
Shares: Private company chatgpt
LiveKit Agents
Hybrid — hosted or self-hosted
Framework for real-time voice and video agents on LiveKit’s WebRTC infrastructure, with turn detection, interruption handling and pluggable speech and model providers.
- Repository
- livekit/agents
- Stars
- —
- Licence
- unknown
- In stacks
- 1
Shares: Customer support agent
LlamaIndex
Frameworks
Data framework for retrieval applications: loaders for many document types, indexing and query pipelines, and evaluation helpers for retrieval quality.
- Repository
- run-llama/llama_index
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Document qa · Internal knowledge search
LM Studio
Hybrid — hosted or self-hosted
Desktop application for downloading and running open-weight models locally, with a chat interface and a local OpenAI-compatible server. Windows, macOS and Linux.
- Repository
- none linked
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Document qa
Milvus
Hybrid — hosted or self-hosted
Distributed vector database designed for large collections, with several index types, GPU indexing options and a separated storage and compute architecture.
- Repository
- milvus-io/milvus
- Stars
- —
- Licence
- unknown
- In stacks
- 0
Shares: Internal knowledge search · Document qa
n8n
Hybrid — hosted or self-hosted
Workflow automation tool with several hundred integrations, branching logic, code steps and AI nodes. Can be self-hosted, which is why it appears in on-premise automation stacks.
- Repository
- n8n-io/n8n
- Stars
- 202,375
- Licence
- Other
- In stacks
- 4
Shares: Marketing workflow
Ollama
Model servers
Local model runtime with a one-command install, a model library and an OpenAI-compatible API. The usual starting point for running open-weight models on a workstation or small server.
- Repository
- ollama/ollama
- Stars
- 179,403
- Licence
- MIT
- In stacks
- 3
Shares: Private company chatgpt
Onyx
Hybrid — hosted or self-hosted
Open-source enterprise search and chat over company systems, with connectors to common SaaS tools, permission-aware indexing and a self-hosted deployment path.
- Repository
- onyx-dot-app/onyx
- Stars
- 31,754
- Licence
- Other
- In stacks
- 0
Shares: Internal knowledge search · Document qa · Customer support agent
Open WebUI
Self-hosted projects
Self-hosted chat interface for local and hosted models, with user accounts, groups, document upload and built-in retrieval. Runs in Docker against Ollama, vLLM or any OpenAI-compatible endpoint.
- Repository
- open-webui/open-webui
- Stars
- 149,870
- Licence
- Other
- In stacks
- 4
Shares: Private company chatgpt · Internal knowledge search · Document qa
03Repository facts
| Repository | Stars | Health |
|---|---|---|
| Mintplex-Labs/anything-llm | — | Health not measuredunknown |
| goauthentik/authentik | — | Health not measuredunknown |
| chroma-core/chroma | — | Health not measuredunknown |
| comfyanonymous/ComfyUI | — | Health not measuredunknown |
| docling-project/doclingGet your documents ready for gen AI | 66k | Maintenance 100%, Releases 100%, Contributors 50%, Issues 85%, Community 96%90 |
| FlowiseAI/Flowise | — | Health not measuredunknown |
| keycloak/keycloak | — | Health not measuredunknown |
| Cinnamon/kotaemon | — | Health not measuredunknown |
| langchain-ai/langchain | — | Health not measuredunknown |
| langflow-ai/langflow | — | Health not measuredunknown |
| langfuse/langfuse | — | Health not measuredunknown |
| danny-avila/LibreChat | — | Health not measuredunknown |
| BerriAI/litellmThe fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM] | 57k | Maintenance 100%, Releases 100%, Contributors 50%, Issues 14%, Community 95%83 |
| livekit/agents | — | Health not measuredunknown |
| run-llama/llama_index | — | Health not measuredunknown |
| milvus-io/milvus | — | Health not measuredunknown |
| n8n-io/n8nFair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations. | 202k | Maintenance 100%, Releases 100%, Contributors 50%, Issues 95%, Community 100%92 |
| ollama/ollamaGet up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models. | 179k | Maintenance 100%, Releases 100%, Contributors 50%, Issues 79%, Community 100%90 |
| onyx-dot-app/onyxOpen Source AI Platform - AI Chat with advanced features that works with every LLM | 32k | Maintenance 100%, Releases 100%, Contributors 50%, Issues 87%, Community 90%89 |
| open-webui/open-webuiUser-friendly AI Interface (Supports Ollama, OpenAI API, ...) | 150k | Maintenance 100%, Releases 80%, Contributors 50%, Issues 99%, Community 100%88 |
04Ask about your own case
Which alternative is right depends on how many people will use it, what the data is and what you can operate. Ask and the answer is researched for your organisation.