Khoj

Khoj is an AI 'second brain' that answers from your documents and the web, with agents and automations. Self-hosted, it keeps your knowledge base and searches completely private.

Project summary: 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.

Stars
35,250
License
AGPL-3.0
Platform
Python, Docker
Version
2.0.0-beta.28
Screenshot of Khoj Preview of the official site ↗

Similar alternatives

Ollama

★ 174,743

Ollama runs large language models (LLMs) like Llama, Mistral and Gemma locally, on your own hardware, with a single command. It's the foundation for private AI at home: nothing goes to the cloud, no per-token cost, and it works offline.

Generative Artificial Intelligence (GenAI) MIT

Open-WebUI

★ 142,641

Open WebUI is a ChatGPT-like chat interface for LLMs that connects to Ollama or any OpenAI-compatible API. Hosted by you, it becomes a private ChatGPT for your family or team, with history and users under your control.

Generative Artificial Intelligence (GenAI) BSD-3-Clause

LobeHub

★ 78,968

LobeChat (LobeHub) is a modern AI chat interface supporting multiple models, plugins and custom assistants. Hosted by you, it offers a ChatGPT-like experience with your own providers and full conversation privacy.

Generative Artificial Intelligence (GenAI) ⊘ Proprietary

AnythingLLM

★ 61,942

AnythingLLM is a full AI application that chats with your documents (RAG), with agents and multiple models. Self-hosted, it becomes a private AI knowledge base for you or your team.

Generative Artificial Intelligence (GenAI) MIT

LocalAI

★ 47,061

LocalAI runs AI models (text, image, audio) locally, with an API compatible with OpenAI's. Self-hosted, it's a drop-in replacement to run AI without sending data to the cloud or paying per token.

Generative Artificial Intelligence (GenAI) MIT

LibreChat

★ 39,643

LibreChat is a ChatGPT-style chat interface that connects multiple AI providers, with multi-user, search and plugins. Self-hosted, it centralizes LLM access with your data kept private.

Generative Artificial Intelligence (GenAI) MIT