Source: https://seerepo.com/compare/khoj-ai/khoj/vs/plasma-umass/scalene
Markdown source: https://seerepo.com/compare/khoj-ai/khoj/vs/plasma-umass/scalene.md
Description: khoj and scalene share 5 technologies: Rich, lxml, jinja2, Pydantic, and psutil. Both are written in Python.

# khoj vs scalene

khoj and scalene share 5 technologies: Rich, lxml, jinja2, Pydantic, and psutil. Both are written in Python.

- [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.
- [plasma-umass/scalene](https://seerepo.com/r/plasma-umass/scalene): Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals

## What they share and what sets them apart

- In common: Rich, lxml, jinja2, Pydantic, psutil
- Only in khoj: Django, FastAPI, pgvector, psycopg2-binary, Postgres, OpenAI, Anthropic, PostHog, Resend, anyio, AIOHTTP, uvicorn, electron-store, Electron, React, Next.js, Google, itsdangerous, authlib, einops, openai-whisper, torch, sentence-transformers, LangChain, e2b-code-interpreter, langchain-text-splitters, MCP, tiktoken, transformers, defusedxml, docx2txt, markdown-it-py, pymupdf, pillow, beautifulsoup4, magika, markdownify, email-validator, isomorphic-dompurify, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, React Hook Form, Framer, cmdk, embla-carousel-autoplay, embla-carousel-react, Excalidraw, input-otp, intl-tel-input, Mermaid, vaul, @phosphor-icons/react, Lucide, katex, markdown-it, dompurify, @hookform/resolvers, Zod
- Only in scalene: vega-embed, @aws-sdk/client-bedrock-runtime

## Side by side

| | khoj | scalene |
|---|---|---|
| Size | 71,518 lines written, 205 code files | 60,118 lines written, 87 code files |
| Who writes it | 0% of its commits signed by AI | 4% of its commits signed by AI. With Claude Code and GitHub Copilot |
| Activity | Last push August 2, 2026, 4,763 commits, 38,022 stars | Last push November 9, 2026, 3,270 commits, 13,555 stars |
| Tests | 30 test files. 14.1% of its code files have a test that imports them | 237 test files. 50.6% 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, khoj or scalene?

khoj, with 71,518 lines written; scalene has 60,118.

The proof: [khoj-ai/khoj's code at commit ae229ca](https://github.com/khoj-ai/khoj/tree/ae229ca894c0b80ad84664afcfdde523b5e87057)

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

khoj, with 38,022 stars; scalene has 13,555.

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

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

scalene, with 237 test files; khoj has 30.

The proof: [plasma-umass/scalene's code at commit ba0896d](https://github.com/plasma-umass/scalene/tree/ba0896d85ede0c799545e3bc5589729c73738571)

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

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

The proof: [plasma-umass/scalene's commits on GitHub](https://github.com/plasma-umass/scalene/commits)

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

scalene: an AI signed 4% of its commits, with Claude Code and GitHub Copilot.

The proof: [the commits each tool signed in plasma-umass/scalene](https://seerepo.com/r/plasma-umass/scalene/ai)

## Sources

- khoj-ai/khoj: Read on November 6, 2026, at commit ae229ca (https://github.com/khoj-ai/khoj/tree/ae229ca894c0b80ad84664afcfdde523b5e87057)
- plasma-umass/scalene: Read on November 9, 2026, at commit ba0896d (https://github.com/plasma-umass/scalene/tree/ba0896d85ede0c799545e3bc5589729c73738571)

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