Khoj logo

Khoj

Self-hostable AI second brain — answers from your docs and the web

AGPL-3.00 official clientsData verified
GitHub stars
38,212
Docker pulls
Not documented
LibreChat logo

LibreChat

LibreChat brings together all your AI conversations in one unified, customizable interface

MIT1 official clientData verified
GitHub stars
46,321
Docker pulls
620,327

What are Khoj and LibreChat?

Screenshots, feature checklists and deployment channels from the same database rows.

Khoj — product screenshot
Screenshot from https://khoj.dev/social-banner.jpg · captured 2026-10-29 · Nominative fair use illustration for factual comparison; takedown requests honoured within 48h.

Khoj

Self-hostable AI second brain — answers from your docs and the web

Key features

  • Chat with local or online LLMs
  • Answer from web and personal docs
  • Access from browser, Obsidian, Emacs, phone
  • Create custom agents for any role

AI-drafted from upstream quotes — pending human review

System requirements
Not documented
  • Build from source
  • Docker
  • Package (deb/rpm)
Full profile
LibreChat — product screenshot
Screenshot from https://www.librechat.ai/api/og?v=a40e77512dc1 · captured 2026-10-29 · Nominative fair use illustration for factual comparison; takedown requests honoured within 48h.

LibreChat

LibreChat brings together all your AI conversations in one unified, customizable interface

Key features

  • Multi-provider AI model selection
  • Sandboxed code interpreter
  • Agents with MCP tools
  • Secure multi-user auth

AI-drafted from upstream quotes — pending human review

System requirements
Not documented
  • Build from source
  • Docker
Full profile

Quick verdict

Khoj is a Python AGPL-3.0 second brain with native package installs, while LibreChat is a TypeScript MIT-licensed multi-provider chat UI with more stars and Docker images.

ai:verdict:schema · ai_extract · confidence mediumupdated Nov 23, 2026AI-drafted · pending human review

YouPick
You want a self-hosted second brain that answers from your own docs and the web.Khoj
You need one interface for Anthropic, OpenAI, Azure, AWS, and Google models.LibreChat
You require an MIT license for your deployment.LibreChat
You want to install through a native package manager like WinGet.Khoj
You need enterprise SSO, MCP tools, and a code interpreter.LibreChat
You want the larger GitHub community and more forks.LibreChat

Scenario rows are drafted from database facts only (stars, forks, open issues, Docker pulls, license, language, deployment officiality, client platforms). No RAM, price or performance claim appears — the schema has no such fields.

What I'd do

I would deploy LibreChat if I needed a unified front end for multiple model providers and enterprise features like SSO and MCP tools; its MIT license and TypeScript stack fit a team portal. If my goal were a personal document-aware assistant, I would run Khoj, which ships as a native package and answers from local docs. For my own homelab, I would start with LibreChat because the Docker images are official and the community is larger, but I would watch the repository move and ClickHouse announcement before committing.

Cited from the database (16)
  • Khojprimary_languagePython
  • KhojlicenseAGPL-3.0
  • KhojtaglineSelf-hostable AI second brain — answers from your docs and the web
  • Khojserver_deployments.packageofficial
  • LibreChatprimary_languageTypeScript
  • LibreChatlicenseMIT
  • LibreChatdescriptionunifies Anthropic, OpenAI, Azure, AWS, Google and other model providers
  • Khojgithub_stars37845
  • LibreChatgithub_stars46321
  • LibreChatserver_deployments.dockerofficial
  • Khojdescriptiona Homebrew cask and a WinGet package
  • LibreChatdescriptionagents, code interpreter, MCP tool support, artifacts, message search, memory, web search and enterprise SSO
  • Khojgithub_forks2530
  • LibreChatgithub_forks9516
  • LibreChatdescriptionThe repository moved from danny-avila/LibreChat to LibreChat-AI/LibreChat on 2026-10-26
  • LibreChatdescriptionthe site announces LibreChat is joining ClickHouse

Every value above is a database value or a standard written variant of it (for example 29,401 / 29.4k), verified field by field by the QA gate. A = Khoj, B = LibreChat (alphabetical order, same as this page's URL).

Side-by-side comparison

DimensionKhojLibreChat
CategoryAI / LLM Chat UIAI / LLM Chat UI
LicenseAGPL-3.0MIT
Primary languagePythonTypeScript
GitHub stars38,212▲46,321
GitHub forks2,561▲9,516
Open issues179981
Docker pullsNot documented620,327
Latest version2.0.0-beta.28Not documented
Platforms with an official client0▲1 — Web
Third-party clients00
Deployment methods33
Data last verifiedNov 23, 2026Oct 29, 2026

▲ = leads on countable metrics only (stars, forks, Docker pulls, official-client platforms, third-party clients, deployment methods). License, language, latest version, open issues and verification dates are shown side by side without a verdict — they are facts, not scores. Verification state per platform is on each app profile page.

Where each side leads

Where Khoj leads0

No countable metric where Khoj is ahead of LibreChat in the database.

Where LibreChat leads3

  • GitHub stars — 46,321
  • GitHub forks — 9,516
  • Platforms with an official client — 1 — Web

Pricing

Khoj

Not documented

The schema has no pricing or paid-tier field, so no price is claimed for this app.

LibreChat

Not documented

The schema has no pricing or paid-tier field, so no price is claimed for this app.

Licence (AGPL-3.0 vs MIT) is the only cost-related field the database records, and it is a fact rather than a price.

Frequently asked questions

Are Khoj and LibreChat open source?

Khoj is licensed under AGPL-3.0, verified Oct 27, 2026. LibreChat is licensed under MIT, verified Oct 26, 2026.

Which one has more github stars?

Khoj has 38,212 stars and LibreChat has 46,321, both captured Nov 23, 2026.

Does Khoj have an official Web client?

No first-party Web client is recorded for Khoj. LibreChat does have one.

Can I run Khoj and LibreChat with Docker?

Khoj: yes — 1 Docker image recorded (ghcr.io/khoj-ai/khoj). LibreChat: yes — 2 Docker images recorded (librechat/librechat, ghcr.io/danny-avila/librechat).

All comparisons →

Platform matrices