Compare

khoj vs cognee

khoj and cognee share 4 technologies: Next.js, React, FastAPI, and OpenAI. Both are written in Python.

Read it as markdown

What they share and what sets them apart

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.

Python37.9kRead on November 1, 2026, at commit ae229caWhat is khoj built with?
topoteretes

cognee

Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free

Python33kRead on November 1, 2026, at commit 525b1d1What is cognee built with?

In common

Only in khoj

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
khoj71,518 lines written229 code files
cognee653,245 lines written2,198 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
khoj0% of its commits signed by AI
cognee17.2% of its commits signed by AIWith Claude Code, CodeRabbit, Cursor, GitHub Copilot, and OpenHands
ActivityFrom GitHub and its history, on the day SeeRepo read it.
khojLast push August 2, 20264,763 commits37,920 stars
cogneeLast push November 1, 20268,651 commits32,980 stars
TestsThe files that test the code, and the share of code files a test imports.
khoj30 test files12.7% of its code files have a test that imports them
cognee1,483 test files11.1% of its code files have a test that imports them

Frequently asked questions

Which is bigger, khoj or cognee?
cognee, with 653,245 lines written in 2,198 code files; khoj has 71,518 in 229.

The proof: topoteretes/cognee's code at commit 525b1d1

Which has more GitHub stars, khoj or cognee?
khoj, with 37,920 stars; cognee has 32,980.

The proof: khoj-ai/khoj on GitHub

Which has more tests, khoj or cognee?
cognee, with 1,483 test files; khoj has 30.

The proof: topoteretes/cognee's code at commit 525b1d1

Which was updated more recently, khoj or cognee?
cognee: its last push was on November 1, 2026, and khoj's on August 2, 2026.

The proof: topoteretes/cognee's commits on GitHub

Which has more commits signed by AI, khoj or cognee?
cognee: an AI signed 17.2% of its commits, with Claude Code, CodeRabbit, Cursor, GitHub Copilot, and OpenHands.

The proof: the commits each tool signed in topoteretes/cognee

What is your repo built with?

Paste your public repo and see it drawn.

Free, no account.

Or look inside SeeRepo's own →