Free, open-source alternatives to Glean
AI search across a company's apps. 3 apps you can run yourself instead of Glean, sorted by how well they replace it. Each one is open source, so your data stays with you.
Onyx Community EditionBest match
Chat UI that works with any LLM. It comes loaded with advanced features like agents, web search, RAG, MCP, deep research, Connectors to 40+ knowledge sources, and more.
AnythingLLM
All-in-one desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Khoj
Your AI second brain. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI.
Side by side
| App | Stars | License | Activity | Runs on |
|---|---|---|---|---|
| Onyx Community Edition | 32,427 | MIT | Docker, Kubernetes | |
| AnythingLLM | 66,995 | MIT | Node.js, Docker | |
| Khoj | 37,664 | AGPL-3.0 | Python, Docker |
Why replace Glean?
Glean works, but your data lives in someone else's account, the price can change at any time, and features can disappear. An open-source app you run yourself is yours: you choose where it runs, who can see the data, and when to update.
Questions
What is the best free alternative to Glean?
Onyx Community Edition is the closest open-source replacement for Glean in our list. AnythingLLM and Khoj are worth a look too, depending on what you need.
Can I self-host an alternative to Glean?
Yes. All 3 apps on this page are open source and can run on your own server, usually with Docker, or on a managed host that installs them for you.