Open-source personal AI for chat, semantic search and agents

36.1k stars 2.3k forks last commit first released AGPL-3.0

Actively maintained

Last commit 24 Jun 2026.

Khoj screenshot

Khoj is an open-source personal AI platform that combines chat, semantic document search, custom agents and scheduled automations. It can run locally or as a cloud-hosted service and integrates with local or remote LLMs to answer questions, generate content and automate research.

Key Features

  • Multi-client access: web, desktop, Obsidian, Emacs, mobile (PWA) and chat integrations (e.g., WhatsApp).
  • Model-agnostic LLM support: connect local GGUF models or remote OpenAI-compatible, Anthropic and Google-compatible endpoints; supports on-device and cloud models.
  • Semantic search and embeddings: document ingestion (PDF, Markdown, Word, org-mode, Notion, images) with vector storage and retrieval for fast, contextual search.
  • Custom agents and automations: build agents with distinct personas, tools and knowledge bases; schedule research tasks and email newsletters.
  • Document processing and code tools: built-in extractors, simple code execution sandbox support (local Terrarium or remote sandboxes) and image generation features.
  • Enterprise & self-hosting options: deploy via Docker or pip, use Postgres with pgvector for embeddings, and configure authentication and domains.

Use Cases

  • Personal knowledge management: query a private document corpus and get grounded answers across notes, PDFs and files.
  • Research automation: schedule recurring research queries and receive summarized results by email.
  • Team/private deployments: host a private assistant for a team with custom agents, model selection and on-premise data control.

Limitations and Considerations

  • Some optional integrations require extra setup or external services (e.g., code sandboxes, email providers); self-hosting needs correct environment configuration.
  • A few plugins/integrations may be unmaintained or platform-specific; users should check the chosen connectors and follow the docs for compatibility and maintenance status.

Khoj is designed to be extensible and model-agnostic, emphasizing private data control and flexible deployment. It is suited for individuals and teams who need a searchable, automatable assistant that can run with local or cloud language models.

Categories:

Tags:

Tech Stack:

Share:

Similar to Khoj

LibreChat logo

LibreChat

Self-hosted multi-provider AI chat UI with agents and tools

41.4k
8.5k
Last commit

LibreChat is a self-hosted AI chat platform that supports multiple LLM providers, custom endpoints, agents/tools, file and image chat, conversation search, and presets.

MITActively maintained
Alternative to:
ChatGPT logo
ChatGPT
+11

Scriberr

Offline AI audio and video transcription with transcript chat

2.9k
224
Last commit

Scriberr is a self-hosted, privacy-focused AI transcription app for audio and video, with speaker diarization, word-level timestamps, summaries, and transcript chat.

MITActively maintained
Alternative to:
Otter.ai logo
Otter.ai
+6
Tiledesk logo

Tiledesk

Open-source platform for AI chatbots and multichannel live chat

313
109
Last commit

Open-source conversational platform to build AI chatbots, multichannel live chat, and human-in-the-loop customer support with knowledge base and RAG capabilities.

MITActively maintained
Alternative to:
Tiledesk logo
Tiledesk
+19
AnythingLLM logo

AnythingLLM

All-in-one AI chat app with RAG, agents, and multi-model support

64k
7k
Last commit

AnythingLLM is an all-in-one desktop and Docker app for chatting with documents using RAG, running AI agents, and connecting to local or hosted LLMs and vector databases.

MITActively maintained
Alternative to:
AnythingLLM Cloud logo
AnythingLLM Cloud
+19

SecureAI Tools

Self-hosted private AI chat and document Q&A with local inference

1.7k
87
Last commit

Self-hosted private AI tools for chat and document Q&A, supporting local Ollama inference or OpenAI-compatible APIs, with built-in authentication and user management.

AGPL-3.0Likely dormant
Alternative to:
ChatGPT logo
ChatGPT
+13

Perplexica

Privacy-focused AI answering engine with web search and citations

35.9k
4k
Last commit

Self-hosted AI answering engine that combines web search with local or hosted LLMs to generate cited answers, with search history and file uploads.

MITActively maintained
Alternative to:
Perplexity logo
Perplexity
+5