Source: https://seerepo.com/r/khoj-ai/khoj/built
Markdown source: https://seerepo.com/r/khoj-ai/khoj/built.md
Description: khoj is a Python repo built with Next.js, React, Android, Django, and FastAPI. It stores its data in Postgres and sends email with Resend.

# What is khoj built with?

khoj is a Python repo built with Next.js, React, Android, Django, and FastAPI. It stores its data in Postgres, sends email with Resend, uses AI through OpenAI and Anthropic, and measures its use with PostHog. It has 229 files and 71,518 written lines, with 30 test files.

Read on November 1, 2026, at commit ae229ca.

Repository: https://github.com/khoj-ai/khoj

## Frontend

### The base

- **[Next.js](https://seerepo.com/uses/nextjs)**: [in package.json](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/package.json)
- **[React](https://seerepo.com/uses/react)**: [in package.json](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/package.json)
- **Android**: [in package.json](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/package.json)

## Backend

### The base

- **Django**: [in package.json](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/package.json)
- **[FastAPI](https://seerepo.com/uses/fastapi)**: [in package.json](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/package.json)

### Data

- **[Postgres](https://seerepo.com/uses/postgres)**: 3 files · [src/khoj/database/adapters/__init__.py, line 35](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/src/khoj/database/adapters/__init__.py#L35)

### Services

- **[OpenAI](https://seerepo.com/uses/openai)**: 12 files · [src/khoj/configure.py, line 9](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/src/khoj/configure.py#L9)
- **[Anthropic](https://seerepo.com/uses/anthropic)**: 6 files · [src/khoj/processor/conversation/anthropic/utils.py, line 7](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/src/khoj/processor/conversation/anthropic/utils.py#L7)
- **[PostHog](https://seerepo.com/uses/posthog)**: 2 files · [src/telemetry/telemetry.py, line 10](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/src/telemetry/telemetry.py#L10)
- **Resend**: 1 file · [src/khoj/routers/email.py, line 6](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/src/khoj/routers/email.py#L6)

## Other repos with a similar stack

- [Significant-Gravitas/AutoGPT](https://seerepo.com/r/Significant-Gravitas/AutoGPT/built): Next.js, React, FastAPI, Postgres, OpenAI, Anthropic, PostHog · [Compare](https://seerepo.com/compare/khoj-ai/khoj/vs/Significant-Gravitas/AutoGPT)
- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book/built): Next.js, React, FastAPI, Postgres, OpenAI, Anthropic, PostHog · [Compare](https://seerepo.com/compare/bojieli/ai-agent-book/vs/khoj-ai/khoj)
- [Dokploy/dokploy](https://seerepo.com/r/Dokploy/dokploy/built): Next.js, React, Postgres, OpenAI, Anthropic, PostHog, Resend · [Compare](https://seerepo.com/compare/Dokploy/dokploy/vs/khoj-ai/khoj)
- [lobehub/lobehub](https://seerepo.com/r/lobehub/lobehub/built): Next.js, React, Postgres, OpenAI, Anthropic, Resend · [Compare](https://seerepo.com/compare/khoj-ai/khoj/vs/lobehub/lobehub)
- [BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm/built): Next.js, React, FastAPI, Postgres, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/BerriAI/litellm/vs/khoj-ai/khoj)
- [multica-ai/multica](https://seerepo.com/r/multica-ai/multica/built): Next.js, React, Postgres, OpenAI, PostHog, Resend · [Compare](https://seerepo.com/compare/khoj-ai/khoj/vs/multica-ai/multica)

## Frequently asked questions

### What language is khoj written in?

khoj is written in Python: 229 files and 71,518 written lines.

### What framework does khoj use?

khoj is built with Next.js, React, Android, Django, and FastAPI.

The proof: [in package.json](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/package.json)

### What database does khoj use?

khoj stores its data in Postgres.

The proof: [src/khoj/database/adapters/__init__.py, line 35](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/src/khoj/database/adapters/__init__.py#L35)

### Does khoj use AI?

Yes. khoj uses AI through OpenAI and Anthropic.

The proof: [src/khoj/configure.py, line 9](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/src/khoj/configure.py#L9)

### What services does khoj use?

khoj sends email with Resend and measures its use with PostHog.

The proof: [src/khoj/routers/email.py, line 6](https://github.com/khoj-ai/khoj/blob/ae229ca894c0b80ad84664afcfdde523b5e87057/src/khoj/routers/email.py#L6)

### Does khoj have tests?

Yes. khoj has 30 test files.

### Which repos have a stack like khoj's?

The ones that share most of its stack: Significant-Gravitas/AutoGPT, bojieli/ai-agent-book, and Dokploy/dokploy.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
