OpenSourceProjects logo
khoj logo

khojYour 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.

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.

34,180 stars
2,162 forks
Python
AGPL-3.0
khoj screenshot

khoj

Khoj is a self-hostable personal AI second brain that lets you chat with any local or online LLM while accessing answers from the web and your documents. It scales seamlessly from a private on-device setup to enterprise deployment with advanced capabilities like custom agents, automated research, and semantic search.

Key Features

  • Multi-LLM Support: Chat with any local or online LLM including GPT, Claude, Gemini, Llama, Qwen, and Mistral
  • Document Intelligence: Get answers from PDFs, Markdown, Notion, Word docs, org-mode files and other formats
  • Custom Agents: Build agents with custom knowledge, personas, chat models and tools for specialized tasks
  • Semantic Search: Find relevant documents quickly using advanced semantic search capabilities
  • Multi-Platform Access: Use from Browser, Obsidian, Emacs, Desktop, Phone or WhatsApp
  • Automation & Research: Automate repetitive research tasks and receive personal newsletters and smart notifications
  • Self-Hosted & Private: Fully open-source and can run privately on your computer or be deployed on-premises

Use Cases

  • Personal Knowledge Management: Build a private AI second brain with your documents, notes and web research
  • Research & Deep Dives: Automate research tasks and generate comprehensive analysis from multiple sources
  • Productivity Enhancement: Get instant answers from your docs and the web without switching contexts
  • Custom AI Roles: Create specialized agents that act as experts in specific domains with custom knowledge
  • Enterprise Deployment: Deploy as cloud service, on-premises, or hybrid solution for team and organizational use

Who Is It For

Khoj is designed for individuals, teams, and enterprises who want a private, customizable AI assistant. It appeals to knowledge workers, researchers, developers, and organizations seeking alternatives to cloud-dependent AI solutions with control over their data and the ability to integrate custom LLMs.

Trending Open Source Projects