Enterprise knowledge search4 projects, checked September 17, 2026

Open-source alternatives to Glean

The open-source alternatives to Glean are Onyx, AnythingLLM, Open WebUI and Khoj. Onyx, formerly Danswer, is the closest: more than 50 connectors, agentic retrieval over a hybrid index, deep research and custom agents, with an MIT Community Edition and enterprise sign-on sold separately. AnythingLLM and Open WebUI cover document chat with citations and roles for smaller teams, and Khoj answers from your notes and files as well as the web. A company switches to keep its documents and its model in-house.

Company-wide search with agents
Onyx
Documents plus roles and single sign-on
Open WebUI
Document chat with citations
AnythingLLM

3 of 4 carry an OSI licence. 4 of 4 run on your own machines. Figures read from GitHub on September 17, 2026.

Pick by need

One project per need, with the reason from its own README and the one thing to know before you choose it.

Company-wide search with agents

Onyx

Formerly Danswer: 50+ connectors, agentic retrieval over a hybrid index, deep research and custom agents, with an MIT Community Edition and any local or hosted model.

Know firstSingle sign-on, SCIM and role-based access are paid Enterprise features.

OSI32,149 stars

Documents plus roles and single sign-on

Open WebUI

Document search across 9 vector databases with hybrid retrieval, web search, and roles, LDAP, OAuth and SCIM in the free edition.

Know firstSource available: its branding may not be removed above 50 users without a paid licence.

Source available152,426 stars

Document chat with citations

AnythingLLM

MIT, chatting with your documents with source citations over 39 model providers, as a desktop app or a multi-user Docker server.

Know firstMulti-user support is Docker only, and telemetry is on until you turn it off.

OSI66,155 stars

Notes, files and the web together

Khoj

AGPL-3.0, answering from your documents and the internet with any model, with agents, scheduled research and clients for Obsidian and WhatsApp.

Know firstIts README does not describe citations or name its search engine.

OSI37,399 stars

What to take away

  • Onyx is the closest match to Glean's shape, and its Community Edition is MIT.
  • Open WebUI is the one with roles, LDAP and single sign-on at no cost.
  • None of them mirrors each source's permissions the way a hosted service does.
  • Glean still wins on maintained connectors, tuned ranking and support as one product.

The projects, side by side

The facts that decide most choices. Each project's page carries the full panel.

ProjectBest forOpennessLicenceRuns asOwn machinesStars
OnyxCompany-wide search with agentsOSISee LICENSEInstall script, Docker, Kubernetes (Helm, Terraform), Hosted cloudYes32,149
Open WebUIDocuments plus roles and single sign-onSource availableSee LICENSEpip, Docker, KubernetesYes152,426
AnythingLLMDocument chat with citationsOSIMITDesktop app, Docker, Bare metalYes66,155
KhojNotes, files and the web togetherOSIAGPL-3.0Self-hosted server, Hosted app, Browser, Obsidian, Emacs, desktop, phone and WhatsApp clientsYes37,399

Licence and star figures read from GitHub on September 17, 2026. Stars are shown as a dated fact and were not used to rank this page.

Each project, in turn

Onyx

OSICompany-wide search with agents

An AI platform, formerly Danswer, that searches your company's knowledge through 50+ connectors with agentic retrieval, deep research, agents and actions, using any hosted or self-hosted model, with an MIT Community Edition.

Formerly Danswer: 50+ connectors, agentic retrieval over a hybrid index, deep research and custom agents, with an MIT Community Edition and any local or hosted model.

Know firstSingle sign-on, SCIM and role-based access are paid Enterprise features.

Licence
See the LICENSE file
Runs as
Install script, Docker, Kubernetes (Helm, Terraform), Hosted cloud
Platforms
Docker, Kubernetes, Major cloud providers
Hosted option
Sold by the maintainers
Last release
v4.7.7, Sep 16, 2026

Open WebUI

Source availableDocuments plus roles and single sign-on

A self-hosted chat platform for Ollama and OpenAI-compatible models with document search over 9 vector databases, web search, image generation, roles and single sign-on, under a BSD-3 licence with an added branding clause.

Document search across 9 vector databases with hybrid retrieval, web search, and roles, LDAP, OAuth and SCIM in the free edition.

Know firstSource available: its branding may not be removed above 50 users without a paid licence.

Licence
See the LICENSE file
Runs as
pip, Docker, Kubernetes
Platforms
Any browser, including an installable web app on phones, Server on Docker, Kubernetes or Python 3.11
Hosted option
None from the maintainers
Last release
v0.11.3, Aug 31, 2026

AnythingLLM

OSIDocument chat with citations

An MIT all-in-one AI app from Mintplex Labs for chatting with your documents with citations, running agents with MCP, and using any of 39 model providers including local llama.cpp and Ollama, as a desktop app or a multi-user Docker server.

MIT, chatting with your documents with source citations over 39 model providers, as a desktop app or a multi-user Docker server.

Know firstMulti-user support is Docker only, and telemetry is on until you turn it off.

Licence
MIT
Runs as
Desktop app, Docker, Bare metal
Platforms
macOS, Windows, Linux, Docker, Mobile app (separate repository)
Hosted option
Sold by the maintainers
Last release
v1.16.1, Aug 27, 2026

Khoj

OSINotes, files and the web together

An AGPL-3.0 personal AI that answers from the web and your own documents with any local or hosted model, builds custom agents, sends scheduled research by email, and runs self-hosted or in its maintainers' cloud.

AGPL-3.0, answering from your documents and the internet with any model, with agents, scheduled research and clients for Obsidian and WhatsApp.

Know firstIts README does not describe citations or name its search engine.

Licence
AGPL-3.0
Runs as
Self-hosted server, Hosted app, Browser, Obsidian, Emacs, desktop, phone and WhatsApp clients
Platforms
Browser, Obsidian, Emacs, Desktop, Phone, WhatsApp
Hosted option
Sold by the maintainers
Last release
2.0.0-beta.28, Mar 26, 2026

How to choose

The questions that settle it, in the order they usually come up.

  1. How many sources must it connect to?

    Onyx lists 50+ connectors. The others work from documents you upload or point them at.

  2. Do you need single sign-on today?

    Open WebUI has it free; Onyx sells it in its Enterprise Edition.

  3. Where should the model run?

    All four support local models, so documents and model can stay in your network.

Where Glean is still the better choice

Glean, in the vendor's own words, is "the Enterprise AI platform connected to your enterprise's data. Find, create, and automate anything", by its own description. glean.com. The cases below are where that still wins.

  • You want dozens of connectors maintained for you, with permissions mirrored from each source automatically.
  • You want ranking tuned on your company's behaviour with no work from your team.
  • You want enterprise sign-on, audit and support as one product rather than a paid add-on.
  • You have no team to run an index, a vector database and model infrastructure.

How this page was checked

Numbers from GitHub, dated

Stars, licence, last commit and last release are read from the GitHub API by a script every week and carry the date they were read. Nobody types them.

Claims from the README

What each project does is written from its own README and LICENSE, read in full on the date shown, and phrased as the project's claim. The sources are listed at the end.

What is never said

That a project is faster, better or cheaper than Glean. A price for anyone. A user count. A roadmap. If a fact is not on this page, it was not in the source.

OSI Open source (OSI licence)
The code, and the weights where the project is a model, carry a licence on the OSI approved list.
Source available Source available
The code is public, and the licence limits what you may do with it. Read the LICENSE file before commercial use.
Open weights Open weights
The model weights can be downloaded and run. The training data or code is closed, or the weights carry a restriction the code does not.

Questions people ask

What is the best open-source alternative to Glean?

Onyx, formerly Danswer, with 50+ connectors, agentic retrieval, deep research and custom agents, free under MIT in its Community Edition. AnythingLLM and Open WebUI handle document chat with citations for smaller deployments, and Khoj searches your notes and files alongside the web.

Do the open options handle permissions?

Not the way a hosted service mirrors each source's permissions. Open WebUI has roles, groups, LDAP and single sign-on in its free edition; Onyx puts single sign-on, SCIM and role-based access in its paid Enterprise Edition; AnythingLLM has multi-user permissions in its Docker version.

Can we keep everything inside our network?

Yes. Onyx runs self-hosted with models through Ollama, LiteLLM or vLLM; AnythingLLM and Open WebUI both work with local models. The documents, the index and the model can all sit on your own servers, which is the usual reason to move off a hosted service.

How many sources can they connect to?

Onyx lists more than 50 indexing connectors out of the box or through MCP. The others work from documents you upload or point them at: AnythingLLM supports many file types with citations, Open WebUI searches across 9 vector databases, and Khoj reads PDF, Markdown, Word and Notion files.

Are they free?

The core of each is. Onyx's Community Edition is MIT, AnythingLLM is MIT, Khoj is AGPL-3.0, and Open WebUI is BSD-3 with a branding clause that applies above 50 users. Onyx's enterprise features and Khoj's enterprise edition are paid.

Sources

  1. Glean homepage, the vendor's own description, read September 17, 2026
  2. Onyx README and licences, read September 17, 2026
  3. AnythingLLM README, read September 17, 2026
  4. Open WebUI README and licence, read September 17, 2026
  5. Khoj README, read September 17, 2026

Running one of these inside your own environment, with your own data and your own security rules, is the kind of work Reveneau does. Read how a forward deployed engagement works.