Home
Login

An open-source personal AI assistant that can search documents and the web, supports multiple LLM models, and has intelligent search, dialogue, and automation capabilities.

AGPL-3.0Python 30.5kkhoj-aikhoj Last Updated: 2025-07-03

Khoj AI - Detailed Introduction to the Open-Source Personal AI Assistant

Project Overview

Khoj is a personal AI application designed to augment your capabilities. It can smoothly scale from on-device personal AI to cloud-based enterprise-level AI. This is an open-source project focused on providing users with intelligent document search, knowledge management, and AI conversation features.

Core Features

🤖 Multi-Model AI Conversation

  • Compatible with Multiple LLM Models: Supports local and online LLM models, including:
    • llama3, qwen, gemma, mistral
    • gpt, claude, gemini, deepseek
  • Intelligent Conversation: Enables natural conversations with any supported language model

📚 Intelligent Document Search

  • Multi-Format Document Support:
    • Image files (JPEG, etc.)
    • PDF documents
    • Markdown files
    • Notion pages
    • Word documents
    • Org-mode files
    • GitHub repositories
  • Semantic Search: Quickly find relevant documents using advanced semantic search technology
  • Web Search: Can retrieve answers from the internet and personal documents

🛠️ Custom Agent System

  • Personalized Agents: Anyone can now create custom agents with adjustable personalities, tools, and knowledge bases
  • Role Customization: Create agents with custom knowledge, personality, chat models, and tools to take on any role

🔄 Automation Features

  • Intelligent Automation: Automate repetitive research tasks
  • Personal Communication: Get personal newsletters and smart notifications delivered directly to your inbox
  • Research Mode: Try experimental research mode by adding /research before any message

🎨 Multimedia Features

  • Image Generation: Supports generating images
  • Voice Features: Can speak aloud and play your messages
  • Multi-Platform Access: Supports access via browser, Obsidian, Emacs, desktop application, mobile, and WhatsApp

Deployment Methods

Cloud Service

Private Deployment

  • Local Installation: Supports private deployment on personal computers
  • Enterprise Solutions: Offers cloud services, on-premises deployment, or hybrid solutions
  • Open-Source Nature: Khoj is open-source and self-hostable. Always.

Technical Architecture

Core Technologies

  • Vector Search Technology: Uses advanced vector search and LLM technologies
  • Semantic Understanding: Able to understand and process natural language queries
  • Document Processing: Can process hundreds of documents at once

Performance

Khoj performs excellently in modern retrieval and reasoning benchmarks, providing users with reliable and accurate answers.

Use Cases

Personal Knowledge Management

  • Second Brain: Serves as a personal AI second brain, managing and searching personal knowledge
  • Document Organization: Intelligently organizes and searches documents in various formats
  • Research Assistant: Assists in in-depth research and information gathering

Enterprise Applications

  • Team Collaboration: Supports team-level knowledge sharing and management
  • Enterprise Search: Quickly find relevant information in enterprise documents
  • Workflow Automation: Automates repetitive research and information gathering tasks

Integration and Expansion

Editor Plugins

  • Obsidian Plugin: Deep integration with the Obsidian note-taking application
  • Emacs Support: Provides dedicated integration for Emacs users

API and Development

  • Developer-Friendly: Provides API interfaces for developers to integrate
  • Community Contributions: Active open-source community, continuously improving and adding new features

Quick Start

Cloud Usage

  1. Visit https://app.khoj.dev
  2. Register an account and start using
  3. Upload documents or start a conversation directly

Self-Hosted Deployment

  1. View the documentation: https://docs.khoj.dev/get-started/setup
  2. Follow the installation guide for deployment
  3. Configure the required LLM models and document index

Summary

Khoj AI is a powerful and flexible open-source personal AI assistant that combines advanced AI technology, intelligent search capabilities, and a user-friendly interface. Whether for personal or enterprise users, Khoj can improve the efficiency of knowledge management and information retrieval. Its open-source nature and diverse deployment options make it an ideal choice for building personal or enterprise AI solutions.

Star History Chart