登录 注册
AI 应用与 AI AgentAI 模型与开发框架效率与办公工具 agentaiassistantchatchatgptemacs
38,112
Stars
2,544
Forks
179
Watchers
171
Open Issues
AGPL-3.0
许可证
Python
语言
2021-08-16
创建时间
2026-08-02
最近更新

项目能做什么

支持自托管的个人 AI 第二大脑,可从网络或本地文档检索问答,构建 Agent 与自动化任务。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center"><img src="https://assets.khoj.dev/khoj-logo-sideways-1200x540.png" width="230" alt="Khoj Logo"></p>

<div align="center">

[![test](https://github.com/khoj-ai/khoj/actions/workflows/test.yml/badge.svg)](https://github.com/khoj-ai/khoj/actions/workflows/test.yml)
[![docker](https://github.com/khoj-ai/khoj/actions/workflows/dockerize.yml/badge.svg)](https://github.com/khoj-ai/khoj/pkgs/container/khoj)
[![pypi](https://github.com/khoj-ai/khoj/actions/workflows/pypi.yml/badge.svg)](https://pypi.org/project/khoj/)
[![discord](https://img.shields.io/discord/1112065956647284756?style=plastic&label=discord)](https://discord.gg/BDgyabRM6e)

</div>

<div align="center">
<b>Your AI second brain</b>
</div>

<br />

<div align="center">

[📑 Docs](https://docs.khoj.dev)
<span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
[🌐 Web](https://khoj.dev)
<span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
[🔥 App](https://app.khoj.dev)
<span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
[💬 Discord](https://discord.gg/BDgyabRM6e)
<span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
[✍🏽 Blog](https://blog.khoj.dev)

<a href="https://trendshift.io/repositories/10318" target="_blank"><img src="https://trendshift.io/api/badge/repositories/10318" alt="khoj-ai%2Fkhoj | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>

</div>

***

### 🎁 New
* Meet 🌶️ **[Pipali](https://pipali.ai)** - our [open-source](https://github.com/khoj-ai/pipali) AI coworker that runs on your computer.
* [Read](https://blog.khoj.dev/posts/evaluate-khoj-quality/) about Khoj's excellent performance on modern retrieval and reasoning benchmarks.

***

## Overview

[Khoj](https://khoj.dev) is a personal AI app to extend your capabilities. It smoothly scales up from an on-device personal AI to a cloud-scale enterprise AI.

- Chat with any local or online LLM (e.g llama3, qwen, gemma, mistral, gpt, claude, gemini, deepseek).
- Get answers from the internet and your docs (including image, pdf, markdown, org-mode, word, notion files).
- Access it from your Browser, Obsidian, Emacs, Desktop, Phone or Whatsapp.
- Create agents with custom knowledge, persona, chat model and tools to take on any role.
- Automate away repetitive research. Get personal newsletters and smart notifications delivered to your inbox.
- Find relevant docs quickly and easily using our advanced semantic search.
- Generate images, talk out loud, play your messages.
- Khoj is open-source, self-hostable. Always.
- Run it privately on [your computer](https://docs.khoj.dev/get-started/setup) or try it on our [cloud app](https://app.khoj.dev).

***

## See it in action

![demo_chat](https://github.com/khoj-ai/khoj/blob/master/documentation/assets/img/quadratic_equation_khoj_web.gif?raw=true)

Go to https://app.khoj.dev to see Khoj live.

## Full feature list
You can see the full feature list [here](https://docs.khoj.dev/category/features).

## Self-Host

To get started with self-hosting Khoj, [read the docs](https://docs.khoj.dev/get-started/setup).

## 
阅读完整原文

商业机会分析 AI 生成

垂直知识管理工具生态的高级同步与检索服务

产品构想针对 Obsidian 和 Emacs 用户,提供无需自建 GPU/服务器的即插即用型 Khoj 云端增强端点及多端向量同步中继服务。
核心功能一键对接笔记软件、开箱即用的混合检索(文档+网络)、多端加密向量索引同步、离线/云端模型无缝切换网关。
目标用户Obsidian/Emacs 重度笔记用户、缺乏自建服务器能力的独立研究者。
难度/周期中等 · 4-6周 · 成本:服务器与向量数据库托管成本、LLM 及网络搜索 API 费用。
收费模式按月/按年阶梯订阅(提供不同存储配额与高级模型调用额度)。
竞争风险官方已提供云服务(推测),需面对官方标准服务的竞争;AGPL-3.0 许可证要求修改后的服务端代码必须开源。
依据 数据支持的判断

隐私优先型私有化知识库一键部署套件与运维支持

产品构想为中小型专业机构(如律所、咨询工作室、诊所)提供基于 Khoj 的全本地化/私有云端到端落地解决方案。
核心功能本地大模型(Llama/Qwen 等)硬件一体化配置脚本、内网数据打通(WhatsApp、文档归档)、自动备份与安全权限审计模块。
目标用户对合规及隐私有极高要求的专业服务机构、小型研发团队。
难度/周期低至中等 · 2-4周 · 成本:测试硬件采购或租用成本、客户现场或远程实施时间成本。
收费模式一次性实施部署费 + 年度技术支持与升级维保费。
竞争风险非标需求多,客户服务与维护成本容易超出预算;获客周期较长。
依据 AI推测

深度研究与自动化 Agent 定制模板市场

产品构想基于 Khoj 的 Custom Agents 与自动化调度能力,构建面向特定行业研究流程的即用型智能体和自动化工作流方案。
核心功能预配置的深度行业研报检索 Agent、定时网络与文献监控工作流、多源数据交叉验证汇总输出工具包。
目标用户投资分析师、学术研究员、内容创作者。
难度/周期低 · 2-3周 · 成本:几乎无固定基础架构成本,主要是 Prompt 与工作流调试的时间投入及 API 消耗。
收费模式模板包单次付费下载,或结合托管实例打包按月订阅。
竞争风险工作流容易被抄袭,纯内容型壁垒较低,复购率依赖持续的内容迭代更新。
依据 尚需验证的假设
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
morluto/rea 中文介绍暂未生成
Reverse engineer anything with agents, from app behavior dow
449,650 TypeScript
mattpocock/skills 中文介绍暂未生成
Skills for Real Engineers. Straight from my .agents director
320,774 Shell
obra/superpowers 中文介绍暂未生成
An agentic skills framework & software development methodolo
315,680 Shell
affaan-m/ECC 中文介绍暂未生成
The agent harness performance optimization system. Skills, i
300,723 JavaScript
NousResearch/hermes-agent 中文介绍暂未生成
The agent that grows with you
262,413 Python
anomalyco/opencode 中文介绍暂未生成
The open source coding agent.
225,880 TypeScript
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2021-08-16,最近推送 2026-08-02,发布过 100 个 Release
社区活跃Star 38,112 / Fork 2,544 / Issue 171(数据支持,可自行核实)
许可证AGPL-3.0 商用需注意传染性条款
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/khoj-ai/khoj.git
cd khoj
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。