对话界面、知识库与智能体AGPL-3.0Python

Khoj

Self-hostable AI second brain that searches and chats over your notes and the web.

Star 数
38.3K
Fork 数
2.6K
未关闭 Issue
180
最近提交
2026-08-02

数据来自 GitHub API · 更新于 2026-11-30

Khoj 是什么?

Khoj is a personal AI assistant that answers questions from your documents (PDF, Markdown, Org-mode, Notion, Word) and the internet. It offers custom agents, scheduled research automations and clients for the browser, desktop, Obsidian, Emacs and WhatsApp, with local or cloud LLMs.

主要功能

  • Chat and semantic search over personal documents
  • Online research with citations
  • Custom agents and scheduled automations
  • Obsidian, Emacs, desktop and web clients
  • Works with local (Ollama, llama.cpp) or cloud models

系统要求

平台
Docker · Windows · macOS · Linux
内存
8 GB+ recommended

如何安装 Khoj

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

Docker Compose

  1. 1
    Download the compose file and start Khoj.
    mkdir ~/.khoj && cd ~/.khoj
    wget https://raw.githubusercontent.com/khoj-ai/khoj/master/docker-compose.yml
    docker compose up
  2. 2
    Open http://localhost:42110 and configure a chat model.

pip

  1. 1
    Install and start the server with the embedded database.
    pip install 'khoj'
    USE_EMBEDDED_DB="true" khoj --anonymous-mode

优势

  • Many client integrations
  • Good for personal knowledge bases

不足

  • AGPL license
  • Self-hosting has many moving parts

Khoj 替代品对比

软件Star 数许可证平台显存
Khoj

Self-hostable AI second brain that searches and chats over your notes and the web.

38.3KAGPL-3.0—
AnythingLLM

All-in-one desktop and Docker app for private document chat and agents.

68.8KMIT—
PrivateGPT

Ask questions about your documents with LLMs, 100% offline.

57.7KApache-2.0—
Open WebUI

Self-hosted ChatGPT-style interface for Ollama and OpenAI-compatible APIs.

159.8KOpen WebUI License (BSD-3-Clause based)—
Onyx

Self-hosted AI chat and enterprise search over your team’s documents and apps.

33.6KMIT—
LibreChat

Open-source ChatGPT clone supporting every major AI provider.

47.7KMIT—

常见问题

Khoj 免费吗?

是的——Khoj 是开源软件,采用 AGPL-3.0 许可证。商用前请确认软件及模型权重的许可条款。

Khoj 支持 Windows、Mac 和 Linux 吗?

Khoj 支持:Docker, Windows, macOS, Linux。

运行 Khoj 需要什么配置?

RAM: 8 GB+ recommended

如何安装 Khoj?

1. Download the compose file and start Khoj. 2. Open http://localhost:42110 and configure a chat model.

Khoj 有哪些好的替代品?

常见替代品包括 AnythingLLM, PrivateGPT, Open WebUI, Onyx,详见本页对比表。