Open source repo

What's inside khoj-ai/khoj

khoj-ai/khoj is a Python repo with 71,518 lines written in 229 files. khoj is built with Next.js, React, Android, and 2 more and uses Postgres, OpenAI, Anthropic, and 2 more.

Its description on GitHub: “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.”

PythonAGPL-3.037,920

Read on November 1, 2026, at commit ae229ca.

What the card proved: what it’s built with on the left, what it uses on the right.

See each one with its proof

Its folders

In figures

lines written
71,518
The ones people and agents wrote: product, tests, schemas and tooling. Generated code doesn’t count.
files
229
The product’s, not counting tests.
test files
30
The files that test the code.

SeeRepo read its code facts-only: no AI, and none of its code is kept.

Frequently asked questions

What is khoj-ai/khoj?
khoj-ai/khoj is a Python repo with 71,518 lines written in 229 files. Its description on GitHub: “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.”

The proof: its page on GitHub

What is khoj built with?
khoj is built with Next.js, React, Android, and 2 more and uses Postgres, OpenAI, Anthropic, and 2 more.

The proof: each technology with its file and line

What license does khoj have?
khoj is released under the AGPL-3.0 license.

The proof: its page on GitHub

How many stars does khoj have on GitHub?
khoj had 37,920 stars on GitHub on November 1, 2026.

The proof: its page on GitHub

What is your repo built with?

Paste your public repo and see it drawn.

Free, no account.

Or look inside SeeRepo's own →

Is it your repo? Add its badge, keep it up to date or take it down →