# Khoj

> Self-hostable AI second brain that answers over your documents and the web, runs custom agents, and schedules automations. Offers an API plus Obsidian, Emacs, and desktop clients. 35k+ stars.

## Facts

- **Provider:** [Khoj AI](https://khoj.dev)
- **Homepage:** https://github.com/khoj-ai/khoj
- **Official:** No
- **Verified:** Verified: link and access path checked, Jul 2026
- **Last checked:** 2026-07-17
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** api
- **Auth:** API Key (`apiKey`)
- **Categories:** Research & Knowledge (`research`)
- **Tags:** second-brain, personal-search, custom-agents, automations, self-hosted, obsidian, deep-research, agpl-3-0
- **Streaming:** Yes · **Push notifications:** No

## Use it now

### API
- **Auth:** An API key from Khoj AI
- **Docs:** https://github.com/khoj-ai/khoj

## Try this first

Ask your coding agent:

- Use Khoj to index personal documents: ‹what you need›
- Use Khoj to create specialized agents: ‹what you need›
- Use Khoj to run research or notification tasks on a schedule: ‹what you need›

## Limitations

- needs an API key from Khoj AI
- no MCP server

## Skills (3)

- **Document Q&A** (`document-qa`): Indexes personal documents and answers questions over them with citations across PDF, Markdown, and notes.
- **Custom Agents** (`custom-agents`): Creates specialized agents with their own personas, tools, and knowledge bases for recurring workflows.
- **Scheduled Automations** (`scheduled-automations`): Runs research or notification tasks on a schedule and delivers the results to the user automatically.

## Alternatives

- [GPT Researcher](https://agentswitchboard.dev/agents/gpt-researcher.md) (`gpt-researcher`): Both offer API. In common: deep research, search.
- [Linkup](https://agentswitchboard.dev/agents/linkup.md) (`linkup`): Both offer API. In common: deep research, search.
- [LLM Wiki](https://agentswitchboard.dev/agents/llm-wiki.md) (`llm-wiki`): Both offer API. In common: deep research, search.
- [Parallel](https://agentswitchboard.dev/agents/parallel-web.md) (`parallel-web`): Both offer API. In common: deep research, search.
- [Hyperresearch](https://agentswitchboard.dev/agents/hyperresearch.md) (`hyperresearch`): Both offer API. In common: deep research, search.

All 8 alternatives: https://agentswitchboard.dev/agents/khoj/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=khoj&b=gpt-researcher&c=linkup

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/khoj
- Alternatives JSON: https://agentswitchboard.dev/api/agents/khoj/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/khoj
