Khoj is a self-hosted artificial intelligence platform designed for personal knowledge management and semantic information retrieval. It functions as a private assistant that indexes your local documents, notes, and external workspaces, allowing you to interact with your data through natural language queries and conversational chat. By maintaining a local-first architecture, the system ensures that your information remains under your control while providing context-aware responses grounded in your personal knowledge base.
The platform distinguishes itself through a modular, cross-platform integration layer that embeds intelligent search and chat capabilities directly into your existing workflows. Whether you are working within text editors, web browsers, or mobile messaging applications, Khoj provides a unified interface to your data. It supports advanced retrieval strategies, such as dual-model architectures for semantic mapping and real-time internet grounding, which allow the assistant to synthesize private notes with external information while providing clear source citations.
Beyond its core retrieval capabilities, the system offers a comprehensive suite of tools for data orchestration and research automation. It includes a pluggable ingestion pipeline for diverse file formats, automated query scheduling, and the ability to execute code or generate visual content directly within the chat interface. Users can configure custom agents, manage model routing, and secure their deployments with multi-user authentication, making it suitable for both individual use and enterprise-grade environments.