Source: https://seerepo.com/compare/getzep/graphiti/vs/khoj-ai/khoj
Markdown source: https://seerepo.com/compare/getzep/graphiti/vs/khoj-ai/khoj.md
Description: graphiti and khoj share 3 technologies: FastAPI, OpenAI, and PostHog. Both are written in Python.

# graphiti vs khoj

graphiti and khoj share 3 technologies: FastAPI, OpenAI, and PostHog. Both are written in Python.

- [getzep/graphiti](https://seerepo.com/r/getzep/graphiti): Build Real-Time Knowledge Graphs for AI Agents
- [khoj-ai/khoj](https://seerepo.com/r/khoj-ai/khoj): 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.

## What they share and what sets them apart

- In common: FastAPI, OpenAI, PostHog
- Only in graphiti: None
- Only in khoj: Next.js, React, Android, Django, Postgres, Anthropic, Resend

## Side by side

| | graphiti | khoj |
|---|---|---|
| Size | 77,773 lines written, 192 code files | 71,518 lines written, 229 code files |
| Who writes it | 16.6% of its commits signed by AI. With Claude Code, Devin, Cursor, GitHub Copilot, and Gemini CLI | 0% of its commits signed by AI |
| Activity | Last push November 1, 2026, 1,053 commits, 32,413 stars | Last push August 2, 2026, 4,763 commits, 37,920 stars |
| Tests | 93 test files. 3.6% of its code files have a test that imports them | 30 test files. 12.7% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, graphiti or khoj?

graphiti, with 77,773 lines written in 192 code files; khoj has 71,518 in 229.

The proof: [getzep/graphiti's code at commit 16bf514](https://github.com/getzep/graphiti/tree/16bf514380de4e44884aed6779bece220e6fe470)

### Which has more GitHub stars, graphiti or khoj?

khoj, with 37,920 stars; graphiti has 32,413.

The proof: [khoj-ai/khoj on GitHub](https://github.com/khoj-ai/khoj)

### Which has more tests, graphiti or khoj?

graphiti, with 93 test files; khoj has 30.

The proof: [getzep/graphiti's code at commit 16bf514](https://github.com/getzep/graphiti/tree/16bf514380de4e44884aed6779bece220e6fe470)

### Which was updated more recently, graphiti or khoj?

graphiti: its last push was on November 1, 2026, and khoj's on August 2, 2026.

The proof: [getzep/graphiti's commits on GitHub](https://github.com/getzep/graphiti/commits)

### Which has more commits signed by AI, graphiti or khoj?

graphiti: an AI signed 16.6% of its commits, with Claude Code, Devin, Cursor, GitHub Copilot, and Gemini CLI.

The proof: [the commits each tool signed in getzep/graphiti](https://seerepo.com/r/getzep/graphiti/ai)

## Sources

- getzep/graphiti: Read on November 1, 2026, at commit 16bf514 (https://github.com/getzep/graphiti/tree/16bf514380de4e44884aed6779bece220e6fe470)
- khoj-ai/khoj: Read on November 1, 2026, at commit ae229ca (https://github.com/khoj-ai/khoj/tree/ae229ca894c0b80ad84664afcfdde523b5e87057)

## 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.
