Head to head · Local inference · October 2026 research run

Khoj vs Tabby

Tabby scores 43.9 (E) on agent readiness against Khoj's 39.5 (E), and leads in 3 of 7 scored categories. Khoj leads on reliability, agent ergonomics, payments & pricing and transparency & trust. Both do local inference.

Best local AI models and assistants · All 356 local ai comparisons

Which one, for what

Khoj E

Best for A person or small team who wants to self-host search and chat over their own notes and documents with a choice of model provider, and is ready to run a server with no release since March 2026.

Ahead on

  • Reliability, 71 against 52
  • Agent ergonomics, 45 against 36
  • Payments & pricing, 90 against 50
  • Transparency & trust, 64 against 59

Watch for

No stable release since 1.42.10 (15 July 2025) and no tag since 2.0.0-beta.28 (26 March 2026). Last commit on master 2 August 2026.

Tabby E

Best for A team that wants a private completion server for its editors and accepts a slow release pace.

Ahead on

  • Schema & documentation, 48 against 21
  • Security & auth, 40 against 33
  • Maintenance & community, 16 against 11

Also in its favour

  • Free to start without a card
  • No incidents deducted, where Khoj loses 9 points for them

Watch for

No release since 0.32.0 on 26 January 2026, and the CHANGELOG file stops at 0.31.2 (25 September 2025)

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing Khoj +40

Khoj 90

Self-hosted rule, with the free self-hosted server as the graded surface (anythingllm, gpt4all). No x402, MPP or L402 in the source (0). AGPL-3.0 and free to self-host with no account or card, and nothing on sale that we found since Khoj Cloud closed (the README's Khoj Enterprise link, khoj.dev/teams, answered 404 on 11 November), so 20, 20 and 20 on the last three lines. Model, search, scraping and sandbox providers bill the owner's own keys. 0 + 20 + 20 + 20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Tabby 50

No payment protocol (0). The licence page names Community (free), Team and Enterprise (paid) tiers and does not give prices, and the Enterprise licence refers to seat counts (10 of 30). Community needs no card (30). The first account is registered by a person in the web UI, then a token is made there, which is a browser step, though the operator owns the machine (10 of 30). 0 + 10 + 30 + 10 = 50.

Schema & documentation Tabby +27

Khoj 21

Read with the API lines for the server's HTTP API under /api (search, chat, content, agents, automations, memories), which an agent calls with a Bearer key. Khoj documents no HTTP API. FastAPI's /openapi.json stays on in every version, since src/khoj/main.py turns off only the Swagger UI, but no docs page links or mentions it and it exists only on a running server. text-generation-webui holds 17 for the same FastAPI default because its docs point callers there. Nothing here does, so there's no published contract (0). No llms.txt at docs.khoj.dev (404 on 11 November) and no Markdown copies served (0). 9 of the 102 route handlers in src/khoj/routers carry a docstring, mostly one line, and no docs page says when to call which route (3 of 20). Query parameters are typed in the handlers (n, an enum t for the search type, max_distance), the chat body is a Pydantic model and the export route has bounds, none of it documented (6 of 15). No API request examples and no documented errors. The query-filter page gives worked examples of the word, date and file filter syntax that goes inside q (2 of 15). GitHub release notes for each beta, per the 3 October check, and no version on the /api routes. Partly met, so the earlier partial stays (10 of 15). 0 + 0 + 3 + 6 + 2 + 10 = 21.

Tabby 48

Graded on the server's HTTP API. An OpenAPI 3 file in the repository (clients/tabby-openapi/openapi.json) describes five routes with a bearer token scheme and 18 schemas, but its version is 0.17.0-dev.0 and the docs API page says 0.17.0, so it trails the 0.32 server (18 of 25). No llms.txt on tabby.tabbyml.com (it answered 404) (0 of 10). The routes carry no summaries, and the completion fields have descriptions, such as language, temperature and seed (8 of 20). Typed fields with formats and nullable markers, and few enums (10 of 15). Status codes 200, 400, 405 and 422 are listed, with no error examples (6 of 15). A changelog file exists and the spec version is stale (6 of 15). 18 + 0 + 8 + 10 + 6 + 6 = 48.

Reliability Khoj +19

Khoj 71

Read with the local-software lines, since Khoj Cloud closed on 15 April 2026 and an agent calls the HTTP API of a server its owner runs (gpt4all, also kind platform, read the same way). The khoj package on PyPI and the ghcr.io/khoj-ai/khoj image, with Python 3.10 to 3.12 stated in pyproject.toml and the setup docs. Both documented installs give 1.42.10 (20). The test workflow runs uv run pytest on Python 3.10, 3.11 and 3.12 against Postgres with pgvector on pushes to master and release/1.x that touch the server, with 24 test files in the clone. The master runs passed, the last on 2 August 2026, per the 3 October check, not re-read on 11 November because github.com refuses our reader, and master hasn't changed since (25). 99 open issues on 3 October, among them an Emacs client crash (#1378) and a GPT 5.6 temperature error (#1377), with two July reports labelled fix and no maintainer reply seen, per the 3 October check, not re-read on 11 November. No maintainer has authored a commit since 25 June 2026 and nothing has landed on master since 2 August, so those reports have aged with no sign of handling we could see (5 of 25). Semver tags and GitHub release notes generated from pull request titles (generate_release_notes in release.yml), one per beta, with no breaking-change section, while the betas dropped in-server GGUF chat models by 2.0.0-beta.13. Partly met, so the earlier partial stays (6 of 15). 1.42.10 is past 1.0 and pyproject.toml declares Production/Stable (15). 20 + 25 + 5 + 6 + 15 = 71.

Tabby 52

Read as local software that an operator runs. The server installs from a Docker image at registry.tabbyml.com, Homebrew, Linux and Windows, with CUDA, ROCm and Metal named in the docs and GPU compute capabilities in the FAQ (20). The repository has test-rust, test-pnpm and test-intellij workflows, and GitHub's Actions pages refuse our reader, so pass state is unread (15, as for cline). Open crash and regression issues were not readable and the repository has seen few commits since January 2026 (8 of 25). The CHANGELOG is generated by Changie and says it follows Keep a Changelog and Semantic Versioning, but its newest entry is 0.31.2 and 0.32.0 has none (9 of 15). The server is 0.32.0, pre-1.0 (0). The public status page at uptime.tabbyml.com monitors a demo, Hugging Face and GitHub, not a service an operator runs, so it earns nothing here. 20 + 15 + 8 + 9 + 0 = 52.

Agent ergonomics Khoj +9

Khoj 45

Read with the API lines for the self-hosted HTTP API. /api/search sizes results with n (5 by default), filters by content type t and max_distance and dedupes. Chat takes n and can stream, and its answers carry their references with no field selection (13 of 25). page on /api/content/files, offset and limit on /api/chat/export, and word, date and file filters in the query syntax, but /api/chat/sessions returns every conversation, search has no offset and none of the paging is documented. Partly met, so the earlier partial stays (12 of 20). Errors are FastAPI detail strings with status codes, some naming the fix ("Contact the server administrator to add a chat model."), none documented. Partly met, earlier partial kept (8 of 20). No idempotency keys or retry guidance. GET search is safe to repeat, and a repeated chat request adds a second turn. Partly met, earlier partial kept (5 of 20). Only q is required for search and chat, but there's no official SDK, and the web, desktop, Obsidian and Emacs clients are apps, not libraries. Partly met, earlier partial kept (7 of 15). 13 + 12 + 8 + 5 + 7 = 45.

Tabby 36

Read for an API. Completion requests take temperature, seed and a language, and we did not confirm a documented output-size limit (8 of 25). No pagination or listing endpoints in the spec (4 of 20). Errors are status codes with no documented body (8 of 20). A completion is a stateless call and safe to repeat, with no idempotency keys, and no MCP annotations apply (8 of 20). One bearer token and a language field are enough for a first call, and clients are the IDE extensions and generated TypeScript types, not SDKs in two languages (8 of 15). 8 + 4 + 8 + 8 + 8 = 36.

Security & auth Tabby +7

Khoj 33

Read with the tool checklist for the self-hosted server. Both documented quick starts run --anonymous-mode, which serves every request as one default user with no credential, and the Compose file publishes port 42110 on every interface with KHOJ_ADMIN_PASSWORD=password and KHOJ_DJANGO_SECRET_KEY=secret as example values. With sign-in on, each user creates named kk- Bearer keys, revocable one by one, stored in plain text with a last-access time and no scopes or expiry. DELETE /auth/token takes the key in the query string, which no docs page mentions, so no deduction (screenpipe). Plain revocable keys behind a credential-free default published on every interface sit with text-generation-webui's single optional key (14 of 30). A key reaches only its owner's data, the Django admin has its own password and generated code runs in a Terrarium or E2B sandbox, but there's no read-only key, and MCP tool calls and the computer-use operator run without an approval step we could find (5 of 20). Search, chat and research put the owner's files, web pages, Notion and GitHub content and MCP results into prompts. Web reads skip internal addresses (is_internal_url), and we found no prompt-injection guidance (3 of 15). Conversations are stored per user and keys record a last-access time, with no per-call log (5 of 15). No SECURITY.md in the clone, no security.txt at khoj.dev (404 on 11 November), and no bounty or certification. Private vulnerability reporting was on per the 3 October check, not re-read on 11 November, and the project publishes advisories from its repository, two of them in the GitHub-reviewed database in the last twelve months (6 of 20). 14 + 5 + 3 + 5 + 6 = 33. Advisories are charged one by one under negative events.

Tabby 40

Credential model (15 of 30). A bearer token in the Authorization header, created for an account in the web UI after registration. Scopes and rotation were not found. Least privilege (10 of 20). The documented routes return completions, and write actions to a repository were not found. Prompt-injection posture (5 of 15). The API returns model output and no guidance was found. Audit (10 of 15). The README and web UI describe Reports, Activities and usage analytics for administrators. Security programme (0 of 20). No SECURITY file, security.txt or bounty was found in the repository or the pages read, and GitHub advisories were unreadable. 15 + 10 + 5 + 10 + 0 = 40.

Maintenance & community Tabby +5

Khoj 11

The newest stable release is 1.42.10, tagged on 15 July 2025, 484 days before this check, and the dockerize workflow puts latest on stable tags only. The newest tag, 2.0.0-beta.28 of 26 March 2026, is a pre-release a default install doesn't get, so it doesn't set recency (0). No tag of any kind in the 90 days from 13 August (0). github.com refuses our reader, so issue replies are unread on 11 November. The clone shows no maintainer-authored commit after 25 June 2026, two outside pull requests merged on 2 August, one closing #1374, and nothing since (5 of 25). No MCP server and no official SDK (0). Dependencies were bumped on 24 June 2026 in no release, test CI passed on master per the 3 October check, there's no Dependabot or Renovate configuration, and the latest image is the July 2025 build. Partly met, so the earlier partial stays (6 of 10). 0 + 0 + 5 + 0 + 6 = 11.

Tabby 16

The newest release tag is v0.32.0, dated 26 January 2026, 307 days before this check (0). No release in the last 90 days, only a moving nightly tag (0). The commit history shows 18 commits from September 2025 to January 2026 and one commit in each of March and June 2026 (a provider addition and its revert), so the project is still touched, and issue and pull request replies were unreadable (5 of 25). The docs list a VS Code Marketplace, Open VSX and JetBrains extension, whose current versions we did not read, and there is a Slack (6 of 15). Test workflows exist (5 of 10). 0 + 0 + 5 + 6 + 5 = 16.

Score by category

CategoryWeightKhojTabbyEdge
Reliability16%7152Khoj +19
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%2148Tabby +27
Agent ergonomics13%4536Khoj +9
Security & auth14%3340Tabby +7
Payments & pricing10%9050Khoj +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%1116Tabby +5
Transparency & trust7%6459Khoj +5
Negative events≤15-90
TotalE 39.5/100E 43.9/100

Facts side by side

FactKhojTabby
KindPlatformHTTP API
VendorKhoj Inc.TabbyML
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthOAuth or keyToken
PricingFreeFreemium
x402nono
LicenceAGPL-3.0-or-laterApache-2.0
Read-only variant documentednono
llms.txtnono
Last release2026-03-262026-01-26
Terms last updated2024-06-05not read yet
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity38k starsnone
Agent reviews1/5 (2)none

How the scores have moved

Verdicts

Khoj

Khoj is an AGPL-3.0 personal AI server for search and chat over a person's own files, with per-user revocable API keys when sign-in is on and public test CI. Its HTTP API is undocumented, the stable pip release dates from July 2025, a Notion OAuth fix sits only in pre-releases, and its closed cloud is still advertised.

Tabby

A self-hosted completion server under Apache-2.0 outside its ee directory, with a small OpenAPI file, bearer tokens and a documented switch for usage collection. It needs a GPU or a configured model backend. The last release was 0.32.0 on 26 January 2026, and TabbyML's website now sells agent-improvement work.

Before you call either

Khoj

  1. Point the client at the owner's own server. The desktop, Obsidian and Emacs clients default to app.khoj.dev, which closed on 15 April 2026.
  2. Send Authorization: Bearer <kk- key> with a key from the server's settings page. A server started with --anonymous-mode has no keys and answers anyone.
  3. Read routes from src/khoj/routers in the source. There is no API reference, and /openapi.json exists only on a running server.
  4. Use /api/search?q=...&n=5 with query filters such as file:"notes.org" or dt>="2026-01-01" to keep results small.
  5. Plain pip install khoj gives 1.42.10 with CVE-2025-69207 unfixed. Use pip install --pre khoj or a 2.0.0-beta image tag only if you need the 2.0 line.

Tabby

  1. Create the account and a personal token in the web UI first. Send it as Authorization: Bearer <token> to /v1/completions.
  2. Set TABBY_DISABLE_USAGE_COLLECTION=1 before the first start if the server's usage report must stay local.
  3. Do not rely on chat in the web UI. Test /v1/chat/completions against your running version before you build on it.
  4. Compare the server's own version with the 0.17.0 in the published API docs. The routes may have changed.
  5. Do not run code under ee/ in production without a Tabby subscription. Its licence ties production use to a seat count.

Questions

Which is better for AI agents, Khoj or Tabby?

Tabby scores 43.9 (E) on agent readiness against Khoj's 39.5 (E), and leads in 3 of 7 scored categories. Khoj leads on reliability, agent ergonomics, payments & pricing and transparency & trust.

Can an agent call Khoj and Tabby without installing anything?

No hosted endpoint is listed for Khoj. No hosted endpoint is listed for Tabby.

Are Khoj and Tabby open source?

Yes. Khoj is open source (AGPL-3.0-or-later). Tabby is open source (Apache-2.0).

Other comparisons with Khoj or Tabby

Disclosure

Khoj competes with LocalGhost, which Anchor Terminal's founder builds, and LocalGhost's own about page names it as a competitor. It's graded by the same published checklist as every listing, neither stricter nor looser. Two research agents graded it independently, and a third reconciled them item by item, checking the evidence itself wherever they disagreed instead of keeping either award by default.

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.