Skip to content
Is there an AI for this?

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

21
  • 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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    Stars
    149,870
    Licence
    Other
    In stacks
    4

    Shares: Private company chatgpt · Internal knowledge search · Document qa


03Repository facts

RepositoryStarsHealth
Mintplex-Labs/anything-llmHealth not measuredunknown
goauthentik/authentikHealth not measuredunknown
chroma-core/chromaHealth not measuredunknown
comfyanonymous/ComfyUIHealth not measuredunknown
docling-project/doclingGet your documents ready for gen AI66kMaintenance 100%, Releases 100%, Contributors 50%, Issues 85%, Community 96%90
FlowiseAI/FlowiseHealth not measuredunknown
keycloak/keycloakHealth not measuredunknown
Cinnamon/kotaemonHealth not measuredunknown
langchain-ai/langchainHealth not measuredunknown
langflow-ai/langflowHealth not measuredunknown
langfuse/langfuseHealth not measuredunknown
danny-avila/LibreChatHealth 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]57kMaintenance 100%, Releases 100%, Contributors 50%, Issues 14%, Community 95%83
livekit/agentsHealth not measuredunknown
run-llama/llama_indexHealth not measuredunknown
milvus-io/milvusHealth 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.202kMaintenance 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.179kMaintenance 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 LLM32kMaintenance 100%, Releases 100%, Contributors 50%, Issues 87%, Community 90%89
open-webui/open-webuiUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)150kMaintenance 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.

  1. 01What is a self-hosted alternative to Dify that we can run ourselves?