khoj

Your AI second brain. Self-hostable. 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 (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

khoj logo

About khoj

Your AI second brain. Self-hostable. 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 (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

Khoj is a revolutionary, self-hostable AI second brain that transforms how you interact with information and automate tasks. Unlike typical cloud-based tools, Khoj empowers users to deploy locally, ensuring complete data privacy and control while leveraging any LLM—whether online models like GPT and Claude or offline options like Llama and Mistral. It excels at deep research by pulling answers from the web or your personal documents via semantic search and RAG, and it enables building custom autonomous agents for scheduling automations, managing workflows, and even handling image generation. As an open-source, GitHub-hosted Python tool, it's free and highly extensible, integrating seamlessly with platforms like Obsidian, Emacs, and WhatsApp. This makes Khoj uniquely valuable for productivity enthusiasts, researchers, and developers seeking a personalized, secure AI assistant that adapts to their specific needs without vendor lock-in.

Common Use Cases

  • Conduct in-depth research by querying both web sources and your local documents for comprehensive insights.
  • Automate routine tasks like scheduling, data aggregation, or notifications using custom-built AI agents.
  • Enhance productivity in note-taking apps like Obsidian by integrating AI-powered search and content generation.
  • Create and manage autonomous AI assistants for platforms such as WhatsApp to handle queries and interactions.
  • Generate images and perform semantic searches offline with self-hosted LLMs, ensuring data privacy and control.
★★★½☆
3.6
33,840 users
Trending
Image GenerationFreeagentaiassistant

Not sure how we recommend this tool? Learn about our methodology

Key Features

  • Python
  • Open Source
  • GitHub Hosted

How to Get Started

1. Visit the GitHub repository to download Khoj and review installation prerequisites. 2. Set up a local environment using Python, following the provided setup guide for dependencies. 3. Configure your preferred LLM (e.g., GPT, Llama) and connect data sources like documents or web APIs. 4. Start using Khoj via its interface or integrations, such as Obsidian or WhatsApp, to automate tasks and get answers.

Usage Statistics

Active Users

33,840

API Calls

2,109,000

Additional Information

Category

Image Generation

Pricing

Free

Last Updated

4/3/2026

Related Tools