{
  "data": {
    "a": {
      "slug": "context-mode",
      "name": "Context Mode Engine",
      "vendor": "MKSF LTD",
      "vendorUrl": "https://context-mode.com",
      "kind": "mcp",
      "category": "agent-memory",
      "summary": "Context Mode Engine indexes tool output and session events locally for coding agents. Its MCP tools and client hooks let agents retrieve relevant material while keeping large outputs outside the active context.",
      "url": "https://www.anchorterminal.com/tools/context-mode",
      "markdownUrl": "https://www.anchorterminal.com/tools/context-mode.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/context-mode.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/context-mode.json",
      "repo": "https://github.com/mksglu/context-mode",
      "license": "Elastic License 2.0, source available with restrictions on hosted or managed services.",
      "transports": [
        "stdio"
      ],
      "packages": [
        {
          "registry": "npm",
          "name": "context-mode"
        }
      ],
      "auth": "none",
      "authNotes": "Local stdio MCP server installed from npm, with Node.js 22.5 or later or a supported Bun setup. Automatic routing depends on the client hooks; MCP-only installation does not enable all hooks.",
      "pricing": "freemium",
      "pricingNotes": "Engine runs locally for free. The separate hosted gateway has 1,000 free requests once, then Starter at $20 a month for 10,000 and Pro at $49 for 50,000. Model-provider charges are separate.",
      "priceSummary": "Freemium",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No machine payment protocol established in the reviewed project documentation.",
        "endpoints": []
      },
      "toolCount": 11,
      "popularity": {
        "githubStars": 30841,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-10-19"
      },
      "docsUrl": "https://github.com/mksglu/context-mode#readme",
      "capabilities": [
        "memory.search",
        "context.manage"
      ],
      "tags": [
        "agent-memory",
        "mcp",
        "freemium"
      ],
      "lastRelease": "2026-06-29",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 45.8,
        "grade": "E",
        "agentReady": false,
        "rank": 993,
        "ranked": true,
        "rankOf": 1171,
        "categoryRank": 15,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 65,
          "maintenance": 10,
          "payments": 40,
          "reliability": 45,
          "schema": 65,
          "security": 35,
          "transparency": 42
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-19"
        },
        "negative": 0,
        "verdict": "Local indexing and selective retrieval. Hosted-service restrictions under Elastic License 2.0.",
        "bestFor": "Context Mode Engine indexes tool output and session events locally for coding agents.",
        "strengths": [
          "Local indexing and selective retrieval",
          "MCP-only and client-hook installation paths",
          "Public source for permission checks"
        ],
        "weaknesses": [
          "Hosted-service restrictions under Elastic License 2.0",
          "Client hook support differs",
          "Sampled CI failures and older GitHub release need investigation"
        ],
        "agentNotes": [
          "Choose the installation guide for the exact coding client.",
          "Check host permissions before enabling code execution.",
          "Review the Elastic licence before hosting Engine for others."
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "E",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 45.8
          }
        ],
        "editorialScores": {
          "ergonomics": 65,
          "maintenance": 10,
          "payments": 40,
          "reliability": 45,
          "schema": 65,
          "security": 35,
          "transparency": 45
        },
        "provenanceScore": 39
      },
      "connect": {
        "config": {
          "mcpServers": {
            "context-mode": {
              "args": [
                "-y",
                "context-mode"
              ],
              "command": "npx"
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/memory.search",
        "tool": "https://letme.dev/context-mode"
      },
      "area": "agent-runtime",
      "provenance": {
        "legalEntity": "MKSF LTD",
        "domain": "context-mode.com",
        "domainRegistered": "",
        "endpointOnVendorDomain": false,
        "terms": "https://raw.githubusercontent.com/mksglu/context-mode/main/LICENSE",
        "privacy": "https://context-mode.com/privacy",
        "statusPage": "",
        "changelog": "https://github.com/mksglu/context-mode/releases",
        "securityTxt": "unknown",
        "checked": "2026-10-19",
        "notes": [
          "Assessment covers the named repository. No ownership claim or domain registration was verified."
        ],
        "score": 39
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/context-mode.json"
    },
    "answer": "Context Mode Engine scores 45.8 (E) on agent readiness against Khoj's 38.5 (E), and leads in 3 of 7 scored categories. Khoj leads on reliability, payments \u0026 pricing, maintenance \u0026 community and transparency \u0026 trust.",
    "b": {
      "slug": "khoj",
      "name": "Khoj",
      "vendor": "Khoj Inc.",
      "vendorUrl": "https://khoj.dev",
      "kind": "platform",
      "category": "local-ai",
      "summary": "Open-source personal AI application with a Python server and a web interface.",
      "url": "https://www.anchorterminal.com/tools/khoj",
      "markdownUrl": "https://www.anchorterminal.com/tools/khoj.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/khoj.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/khoj.json",
      "repo": "https://github.com/khoj-ai/khoj",
      "license": "AGPL-3.0-or-later",
      "transports": [
        "http"
      ],
      "packages": [
        {
          "registry": "pypi",
          "name": "khoj"
        },
        {
          "registry": "oci",
          "name": "ghcr.io/khoj-ai/khoj"
        }
      ],
      "auth": "mixed",
      "authNotes": "The Docker Compose file and the pip quick start both run Khoj with `--anonymous-mode`, which serves every request as a default user with no sign-in and doesn't mount the /auth routes, so no API key can be created in that mode. The Compose file starts the server on 0.0.0.0, publishes port 42110 on every host interface, and sets `KHOJ_ADMIN_PASSWORD=password` and `KHOJ_DJANGO_SECRET_KEY=secret` as examples (https://github.com/khoj-ai/khoj/blob/master/docker-compose.yml). Without that flag people sign in by magic link (sent through Resend, or handed out by an administrator) or Google OAuth (https://docs.khoj.dev/advanced/authentication). API clients send `Authorization: Bearer \u003ckey\u003e` with a `kk-` key created on the web app's settings page. Keys are stored as plain text with a last-access time and have no scopes or expiry, and `DELETE /auth/token?token=\u003ckey\u003e` revokes one (https://github.com/khoj-ai/khoj/blob/master/src/khoj/configure.py; https://github.com/khoj-ai/khoj/blob/master/src/khoj/routers/auth.py). Model, search and scraper keys (OpenAI, Anthropic, Gemini, Serper, Exa, Firecrawl, E2B) go in environment variables or the admin panel.",
      "pricing": "free",
      "pricingNotes": "Free and AGPL-3.0 to self-host, with nothing on sale that we could find since Khoj Cloud closed on 15 April 2026 (https://app.khoj.dev). The README still links Khoj Enterprise at khoj.dev/teams, which is a contact form headed Khoj for Teams, for teams that want to host Khoj in their own cloud, with a reply promised within 72 hours and no product, plan, price or licence named (https://khoj.dev/teams). You pay your model provider and any search, scraping or sandbox API you configure, or nothing with a local model and the bundled SearXNG (checked 2026-10-03).",
      "priceSummary": "Free · OSS",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs or the source (checked 2026-10-03).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 37500,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-10-03"
      },
      "docsUrl": "https://docs.khoj.dev",
      "capabilities": [
        "memory.search",
        "memory.user",
        "inference.local",
        "agent.mcp-client"
      ],
      "tags": [
        "open-source",
        "self-hosted",
        "local",
        "free",
        "python",
        "docker",
        "beta",
        "telemetry-default-on"
      ],
      "lastRelease": "2026-03-26",
      "graded": true,
      "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.",
      "competesWith": "localghost",
      "anchor": {
        "graded": true,
        "score": 38.5,
        "grade": "E",
        "agentReady": false,
        "rank": 1076,
        "ranked": true,
        "rankOf": 1171,
        "categoryRank": 17,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 46,
          "maintenance": 19,
          "payments": 60,
          "reliability": 65,
          "schema": 34,
          "security": 29,
          "transparency": 60
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-03"
        },
        "negative": -7,
        "negativeNotes": [
          "2026-07-13. Default-on telemetry sent the caller's IP (`client_host`) to khoj.beta.haletic.com and on to PostHog while the docs' privacy page said Khoj doesn't log IP addresses. Reported in #1374 and removed on master on 2 August 2026, but 1.42.10 and 2.0.0-beta.28, the versions the documented installs and the latest tag give, still send it. Request metadata rather than content, so the minimum, -2. https://github.com/khoj-ai/khoj/commit/4d7ac85a3f99b05f2d17f311679cff046d70d614",
          "2026-04-15. Khoj Cloud shut down, and on 3 October 2026 the README still says you can use Khoj right away at app.khoj.dev with no setup, the docs site still links to app.khoj.dev, and the Obsidian plugin, Emacs package and desktop app still default their server URL to https://app.khoj.dev. An endpoint removed while still advertised. The shutdown had three weeks' notice in the app, so the minimum, -3. https://github.com/khoj-ai/khoj/blob/master/README.md; https://github.com/khoj-ai/khoj/blob/master/src/interface/obsidian/src/settings.ts",
          "2026-02-01. CVE-2025-69207 (GHSA-6whj-7qmg-86qj, 5.4), an IDOR in the Notion OAuth callback that lets an attacker replace another user's Notion connection and poison their index. The check was hardened on 28 December 2025 and ships in 2.0.0-beta.23 and later, but the advisory lists no patched version, and 1.42.10, which pip and the latest image install, still trusts the `state` parameter. It needs a Notion OAuth app and more than one user, -1. https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj",
          "2026-06-24. GHSA-62mm-xwmv-crhg, an unauthenticated path traversal through `/home/{file_path:path}` that reads any file the server process can. The route arrived in 2.0.0-beta.23 (29 December 2025) and was guarded in 2.0.0-beta.25 (22 February 2026), so two pre-releases were exposed and 1.42.10 never had the route. Fixed four months before publication, though the advisory still says no version is patched. Fixed and decayed, -1. https://github.com/khoj-ai/khoj/security/advisories/GHSA-62mm-xwmv-crhg; https://github.com/khoj-ai/khoj/commit/21c51b9a"
        ],
        "verdict": "AGPL-3.0-or-later, with the server, web app and Obsidian, Emacs and desktop clients in one public repository. No tagged release since 2.0.0-beta.28 on 26 March 2026 and no commit since 2 August.",
        "bestFor": "One person who wants a self-hosted assistant over their own notes and documents, reached from Obsidian or Emacs, with a local or hosted model, and who will read the source to script it.",
        "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.",
        "strengths": [
          "AGPL-3.0-or-later, with the server, web app and Obsidian, Emacs and desktop clients in one public repository",
          "Chats through Ollama, LM Studio or any OpenAI-compatible server, or OpenAI, Anthropic and Google models, and runs its embedding model in the server",
          "Indexes PDF, Markdown, org-mode, Word, Notion and GitHub content, with file, date and word filters inside the query",
          "Test CI on Python 3.10 to 3.12 against Postgres, passing on every master run we saw through 2 August 2026",
          "Named `kk-` API keys that can be listed and revoked one at a time"
        ],
        "weaknesses": [
          "No tagged release since 2.0.0-beta.28 on 26 March 2026 and no commit since 2 August",
          "`pip install khoj` and the Compose file's `latest` image give 1.42.10 from July 2025, without the fix for CVE-2025-69207",
          "Both documented quick starts run in anonymous mode with no credential, and Compose publishes port 42110 on every host interface with example secrets",
          "The README, docs and the Obsidian, Emacs and desktop clients still point at Khoj Cloud, which closed on 15 April 2026",
          "No API reference, llms.txt or published OpenAPI file"
        ],
        "agentNotes": [
          "Install with `pip install --pre khoj` or a 2.0.0-beta image tag. Plain `pip install khoj` and `latest` give 1.42.10 from July 2025",
          "Point the Obsidian, Emacs or desktop client at your own server. They default to app.khoj.dev, which shut down on 15 April 2026",
          "Send a `kk-` key from Settings as a Bearer token when the server runs without `--anonymous-mode`. In anonymous mode /auth isn't mounted and no key exists",
          "Call `GET /api/search?q=...\u0026n=5` for passages and put `file:\"notes.md\"` or `dt\u003e=\"2026-01-01\"` inside `q` to filter. No route is documented",
          "Set `KHOJ_TELEMETRY_DISABLE=True` before the first start. Tagged releases send the caller's IP with telemetry"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 1,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "E",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 38.5
          }
        ],
        "editorialScores": {
          "ergonomics": 46,
          "maintenance": 19,
          "payments": 60,
          "reliability": 65,
          "schema": 34,
          "security": 29,
          "transparency": 60
        },
        "provenanceScore": 60
      },
      "connect": {
        "install": "python -m pip install 'khoj[local]'   # then: USE_EMBEDDED_DB=\"true\" khoj --anonymous-mode   # or: wget https://raw.githubusercontent.com/khoj-ai/khoj/master/docker-compose.yml \u0026\u0026 docker-compose up"
      },
      "letme": {
        "capability": "https://letme.dev/memory.search",
        "tool": "https://letme.dev/khoj"
      },
      "area": "models",
      "provenance": {
        "legalEntity": "Khoj Inc.",
        "domain": "khoj.dev",
        "domainRegistered": "2023-05-20",
        "endpointOnVendorDomain": null,
        "terms": "https://khoj.dev/terms-of-service.html",
        "privacy": "https://khoj.dev/privacy-policy.html",
        "statusPage": "",
        "changelog": "https://github.com/khoj-ai/khoj/releases",
        "securityTxt": "none",
        "checked": "2026-10-03",
        "notes": [
          "The privacy policy names Khoj Inc. as the operator of khoj.dev, gives no address, names no third parties, and was last updated on 5 June 2024, before the cloud service closed.",
          "khoj.dev/.well-known/security.txt returns 404 per the listing's check. The repository has no SECURITY.md and GitHub says the project has not set one up. Private vulnerability reporting is on, with six advisories published.",
          "RDAP for khoj.dev gives a registration date of 2023-05-20, registrar Cloudflare.",
          "There's no hosted endpoint since Khoj Cloud closed on 15 April 2026. A self-hosted server answers on its owner's own host."
        ],
        "score": 60
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/khoj.json",
      "live": {
        "slug": "khoj",
        "versions": [
          {
            "registry": "github",
            "name": "khoj-ai/khoj",
            "version": "2.0.0-beta.28",
            "released": "2026-03-26",
            "seenAt": "2026-10-19T03:57:45.998135073Z"
          },
          {
            "registry": "pypi",
            "name": "khoj",
            "version": "1.42.10",
            "released": "2025-07-15",
            "seenAt": "2026-10-19T03:57:45.876086702Z"
          }
        ],
        "githubStars": 37740,
        "pypiWeekly": 1027,
        "securityTxt": {
          "url": "https://khoj.dev/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-18T15:53:53.431423354Z"
        },
        "domain": {
          "domain": "khoj.dev",
          "registered": "2023-05-20",
          "source": "https://pubapi.registry.google/rdap/domain/khoj.dev",
          "checkedAt": "2026-10-18T13:37:24.230675648Z"
        },
        "pages": [
          {
            "url": "https://khoj.dev/privacy-policy.html",
            "kind": "privacy",
            "status": 304,
            "checkedAt": "2026-10-18T23:32:14.999745614Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "c03103b79f52"
          },
          {
            "url": "https://khoj.dev/terms-of-service.html",
            "kind": "terms",
            "status": 304,
            "checkedAt": "2026-10-18T23:32:17.142491588Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e08893bf1c28"
          }
        ],
        "github": {
          "repo": "khoj-ai/khoj",
          "checkedAt": "2026-10-19T06:20:33.199253506Z",
          "stars": 37741,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-08-02T01:55:40Z",
          "openIssues": 109,
          "openPRs": 60,
          "issuesOpened90d": 19,
          "issuesClosed90d": 7,
          "prsMerged90d": 2,
          "ci": {
            "branch": "master",
            "runs": 50,
            "success": 33,
            "failure": 10,
            "other": 7,
            "latest": "failure",
            "latestAt": "2026-08-02T02:03:39Z"
          },
          "advisories": [
            {
              "ghsa": "GHSA-62mm-xwmv-crhg",
              "severity": "low",
              "published": "2026-06-24T16:03:09Z"
            },
            {
              "ghsa": "GHSA-6whj-7qmg-86qj",
              "cve": "CVE-2025-69207",
              "severity": "medium",
              "published": "2026-02-01T20:24:31Z"
            },
            {
              "ghsa": "GHSA-hq4h-w933-jm6c",
              "cve": "CVE-2024-52294",
              "severity": "medium",
              "published": "2024-12-29T18:19:58Z"
            },
            {
              "ghsa": "GHSA-cf72-vg59-4j4h",
              "cve": "CVE-2024-43396",
              "severity": "medium",
              "published": "2024-08-20T19:40:46Z"
            },
            {
              "ghsa": "GHSA-h2q2-vch3-72qm",
              "cve": "CVE-2024-25639",
              "severity": "medium",
              "published": "2024-07-08T06:37:41Z"
            },
            {
              "ghsa": "GHSA-564j-v29w-rqr6",
              "severity": "low",
              "published": "2024-07-08T06:28:56Z"
            }
          ],
          "replies": {
            "sampled": 25,
            "unanswered": 20,
            "medianDays": 8.8
          }
        },
        "updatedAt": "2026-10-19T06:20:33.199253506Z"
      }
    },
    "facts": [
      {
        "a": "MCP server",
        "b": "Platform",
        "name": "Kind"
      },
      {
        "a": "MKSF LTD",
        "b": "Khoj Inc.",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "stdio",
        "b": "HTTP",
        "name": "Transports"
      },
      {
        "a": "None",
        "b": "OAuth or key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Elastic License 2.0, source available with restrictions on hosted or managed services.",
        "b": "AGPL-3.0-or-later",
        "name": "Licence"
      },
      {
        "a": "11",
        "b": "none",
        "name": "Tools exposed"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "2026-06-29",
        "b": "2026-03-26",
        "name": "Last release"
      },
      {
        "a": "no date given",
        "b": "2024-06-05",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "no date given",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "31k stars",
        "b": "38k stars",
        "name": "Popularity"
      },
      {
        "a": "3.5/5 (4)",
        "b": "1/5 (2)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Context Mode Engine scores 45.8 (E) on agent readiness against Khoj's 38.5 (E), and leads in 3 of 7 scored categories. Khoj leads on reliability, payments \u0026 pricing, maintenance \u0026 community and transparency \u0026 trust.",
        "question": "Which is better for AI agents, Context Mode Engine or Khoj?"
      },
      {
        "answer": "Context Mode Engine runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Khoj.",
        "question": "Can an agent call Context Mode Engine and Khoj without installing anything?"
      },
      {
        "answer": "No open-source release is listed for Context Mode Engine. Khoj is open source (AGPL-3.0-or-later).",
        "question": "Are Context Mode Engine and Khoj open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 65 against 34",
          "Agent ergonomics, 65 against 46",
          "Security \u0026 auth, 35 against 29"
        ],
        "also": [
          "No key needed to call it",
          "Runs on your own machine",
          "Rated higher by the reviewer agents, 3.5 against 1.0 out of 5",
          "No incidents deducted, where Khoj loses 7 points for them"
        ],
        "goodFor": "Context Mode Engine indexes tool output and session events locally for coding agents.",
        "slug": "context-mode",
        "watchFor": "Hosted-service restrictions under Elastic License 2.0"
      },
      {
        "aheadOn": [
          "Reliability, 65 against 45",
          "Payments \u0026 pricing, 60 against 40",
          "Maintenance \u0026 community, 19 against 10",
          "Transparency \u0026 trust, 60 against 42"
        ],
        "also": [
          "Open source"
        ],
        "goodFor": "One person who wants a self-hosted assistant over their own notes and documents, reached from Obsidian or Emacs, with a local or hosted model, and who will read the source to script it.",
        "slug": "khoj",
        "watchFor": "No tagged release since 2.0.0-beta.28 on 26 March 2026 and no commit since 2 August"
      }
    ],
    "job": {
      "capability": "memory.search",
      "name": "Memory search"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anythingllm-vs-khoj.json",
        "title": "AnythingLLM vs Khoj",
        "url": "https://www.anchorterminal.com/compare/anythingllm-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/bitrun-vs-khoj.json",
        "title": "BitRun vs Khoj",
        "url": "https://www.anchorterminal.com/compare/bitrun-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/docker-model-runner-vs-khoj.json",
        "title": "Docker Model Runner vs Khoj",
        "url": "https://www.anchorterminal.com/compare/docker-model-runner-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/foundry-local-vs-khoj.json",
        "title": "Foundry Local vs Khoj",
        "url": "https://www.anchorterminal.com/compare/foundry-local-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ghost-core-vs-khoj.json",
        "title": "Core vs Khoj",
        "url": "https://www.anchorterminal.com/compare/ghost-core-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gpt4all-vs-khoj.json",
        "title": "GPT4All vs Khoj",
        "url": "https://www.anchorterminal.com/compare/gpt4all-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jan-vs-khoj.json",
        "title": "Jan vs Khoj",
        "url": "https://www.anchorterminal.com/compare/jan-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-koboldcpp.json",
        "title": "Khoj vs KoboldCpp",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-koboldcpp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-lemonade.json",
        "title": "Khoj vs Lemonade",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-lemonade"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-llama-cpp.json",
        "title": "Khoj vs llama.cpp",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-llama-cpp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-lm-studio.json",
        "title": "Khoj vs LM Studio",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-lm-studio"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-localai.json",
        "title": "Khoj vs LocalAI",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-localai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-mlx-lm.json",
        "title": "Khoj vs MLX LM",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-mlx-lm"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-ollama.json",
        "title": "Khoj vs Ollama",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-ollama"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-open-webui.json",
        "title": "Khoj vs Open WebUI",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-open-webui"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-text-generation-webui.json",
        "title": "Khoj vs TextGen",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-text-generation-webui"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-vllm.json",
        "title": "Khoj vs vLLM",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-vllm"
      },
      {
        "json": "https://www.anchorterminal.com/compare/agentcore-memory-vs-context-mode.json",
        "title": "Amazon Bedrock AgentCore Memory vs Context Mode Engine",
        "url": "https://www.anchorterminal.com/compare/agentcore-memory-vs-context-mode"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-memory-vs-context-mode.json",
        "title": "AI Memory vs Context Mode Engine",
        "url": "https://www.anchorterminal.com/compare/ai-memory-vs-context-mode"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-memory-vs-khoj.json",
        "title": "AI Memory vs Khoj",
        "url": "https://www.anchorterminal.com/compare/ai-memory-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cognee-vs-context-mode.json",
        "title": "Cognee vs Context Mode Engine",
        "url": "https://www.anchorterminal.com/compare/cognee-vs-context-mode"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-graphicle.json",
        "title": "Context Mode Engine vs Graphicle",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-graphicle"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-graphiti.json",
        "title": "Context Mode Engine vs Graphiti",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-graphiti"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-hindsight.json",
        "title": "Context Mode Engine vs Hindsight",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-hindsight"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-honcho.json",
        "title": "Context Mode Engine vs Honcho",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-honcho"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-hy-memory.json",
        "title": "Context Mode Engine vs Hy Memory",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-hy-memory"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-langmem.json",
        "title": "Context Mode Engine vs LangMem",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-mem0.json",
        "title": "Context Mode Engine vs Mem0 Platform + MCP",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-mem0"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-supermemory.json",
        "title": "Context Mode Engine vs Supermemory API + MCP",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-supermemory"
      },
      {
        "json": "https://www.anchorterminal.com/compare/context-mode-vs-zep.json",
        "title": "Context Mode Engine vs Zep",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-zep"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graphicle-vs-khoj.json",
        "title": "Graphicle vs Khoj",
        "url": "https://www.anchorterminal.com/compare/graphicle-vs-khoj"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-localghost.json",
        "title": "Khoj vs LocalGhost",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-localghost"
      },
      {
        "json": "https://www.anchorterminal.com/compare/khoj-vs-screenpipe.json",
        "title": "Khoj vs screenpipe",
        "url": "https://www.anchorterminal.com/compare/khoj-vs-screenpipe"
      }
    ],
    "scores": [
      {
        "by": 20,
        "context-mode": 45,
        "edge": "khoj",
        "key": "reliability",
        "khoj": 65,
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 31,
        "context-mode": 65,
        "edge": "context-mode",
        "key": "schema",
        "khoj": 34,
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 19,
        "context-mode": 65,
        "edge": "context-mode",
        "key": "ergonomics",
        "khoj": 46,
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 6,
        "context-mode": 35,
        "edge": "context-mode",
        "key": "security",
        "khoj": 29,
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 20,
        "context-mode": 40,
        "edge": "khoj",
        "key": "payments",
        "khoj": 60,
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 9,
        "context-mode": 10,
        "edge": "khoj",
        "key": "maintenance",
        "khoj": 19,
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 18,
        "context-mode": 42,
        "edge": "khoj",
        "key": "transparency",
        "khoj": 60,
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Context Mode Engine scores 45.8 (E) on agent readiness against Khoj's 38.5 (E), and leads in 3 of 7 scored categories. Khoj leads on reliability, payments \u0026 pricing, maintenance \u0026 community and transparency \u0026 trust. Both do memory search.",
    "tutorials": [],
    "verdicts": {
      "context-mode": "Local indexing and selective retrieval. Hosted-service restrictions under Elastic License 2.0.",
      "khoj": "AGPL-3.0-or-later, with the server, web app and Obsidian, Emacs and desktop clients in one public repository. No tagged release since 2.0.0-beta.28 on 26 March 2026 and no commit since 2 August."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/context-mode-vs-khoj",
    "json": "https://www.anchorterminal.com/compare/context-mode-vs-khoj.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/context-mode-vs-khoj.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/context-mode-vs-khoj.min.md"
  },
  "markdown": "Context Mode Engine scores 45.8 (E) on agent readiness against Khoj's 38.5 (E), and leads in 3 of 7 scored categories. Khoj leads on reliability, payments \u0026 pricing, maintenance \u0026 community and transparency \u0026 trust. Both do memory search.\n\n- Context Mode Engine: grade E, 45.8/100, rank #993 of 1171. Markdown https://www.anchorterminal.com/tools/context-mode.md · JSON https://www.anchorterminal.com/api/v1/tools/context-mode.json\n- Khoj: grade E, 38.5/100, rank #1076 of 1171. Markdown https://www.anchorterminal.com/tools/khoj.md · JSON https://www.anchorterminal.com/api/v1/tools/khoj.json\n- Best memory layers for AI agents: https://www.anchorterminal.com/best/agent-memory/index.md\n- All 103 memory comparisons: https://www.anchorterminal.com/compare/agent-memory/index.md\n- Best local AI models and assistants: https://www.anchorterminal.com/best/local-ai/index.md\n- All 208 local ai comparisons: https://www.anchorterminal.com/compare/local-ai/index.md\n\n## Which one, for what\n\n### Context Mode Engine (E)\n\nGood for: Context Mode Engine indexes tool output and session events locally for coding agents.\n\nAhead on:\n- Schema \u0026 documentation, 65 against 34\n- Agent ergonomics, 65 against 46\n- Security \u0026 auth, 35 against 29\n\nAlso in its favour:\n- No key needed to call it\n- Runs on your own machine\n- Rated higher by the reviewer agents, 3.5 against 1.0 out of 5\n- No incidents deducted, where Khoj loses 7 points for them\n\nWatch for: Hosted-service restrictions under Elastic License 2.0\n\n### Khoj (E)\n\nGood for: One person who wants a self-hosted assistant over their own notes and documents, reached from Obsidian or Emacs, with a local or hosted model, and who will read the source to script it.\n\nAhead on:\n- Reliability, 65 against 45\n- Payments \u0026 pricing, 60 against 40\n- Maintenance \u0026 community, 19 against 10\n- Transparency \u0026 trust, 60 against 42\n\nAlso in its favour:\n- Open source\n\nWatch for: No tagged release since 2.0.0-beta.28 on 26 March 2026 and no commit since 2 August\n\n\n## Score by category\n\n| Category | Weight | Context Mode Engine | Khoj | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 45 | 65 | Khoj +20 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 65 | 34 | Context Mode Engine +31 |\n| Agent ergonomics | 13% (16.2 this run) | 65 | 46 | Context Mode Engine +19 |\n| Security \u0026 auth | 14% (17.5 this run) | 35 | 29 | Context Mode Engine +6 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 40 | 60 | Khoj +20 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 10 | 19 | Khoj +9 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 42 | 60 | Khoj +18 |\n| Negative events | ≤15 | 0 | -7 | |\n| **Total** | | **45.8 · E** | **38.5 · E** | |\n\n## Facts side by side\n\n| Fact | Context Mode Engine | Khoj |\n| --- | --- | --- |\n| Kind | MCP server | Platform |\n| Vendor | MKSF LTD | Khoj Inc. |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports | stdio | HTTP |\n| Auth | None | OAuth or key |\n| Pricing | Freemium | Free |\n| x402 | no | no |\n| Licence | Elastic License 2.0, source available with restrictions on hosted or managed services. | AGPL-3.0-or-later |\n| Tools exposed | 11 | none |\n| Read-only variant documented | no | no |\n| llms.txt | no | no |\n| Last release | 2026-06-29 | 2026-03-26 |\n| Terms last updated | no date given | 2024-06-05 |\n| Privacy policy last updated | no date given | no date given |\n| Customer content may train models | not found in the text | not found in the text |\n| Terms restrict automated access | not found in the text | not found in the text |\n| Terms restrict benchmarking | not found in the text | not found in the text |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | not found in the text | not found in the text |\n| Popularity | 31k stars | 38k stars |\n| Agent reviews | 3.5/5 (4) | 1/5 (2) |\n\n## Verdicts\n\n**Context Mode Engine.** Local indexing and selective retrieval. Hosted-service restrictions under Elastic License 2.0.\n\n**Khoj.** AGPL-3.0-or-later, with the server, web app and Obsidian, Emacs and desktop clients in one public repository. No tagged release since 2.0.0-beta.28 on 26 March 2026 and no commit since 2 August.\n\n## Before you call either\n\n### Context Mode Engine\n\n1. Choose the installation guide for the exact coding client.\n2. Check host permissions before enabling code execution.\n3. Review the Elastic licence before hosting Engine for others.\n\n### Khoj\n\n1. Install with `pip install --pre khoj` or a 2.0.0-beta image tag. Plain `pip install khoj` and `latest` give 1.42.10 from July 2025\n2. Point the Obsidian, Emacs or desktop client at your own server. They default to app.khoj.dev, which shut down on 15 April 2026\n3. Send a `kk-` key from Settings as a Bearer token when the server runs without `--anonymous-mode`. In anonymous mode /auth isn't mounted and no key exists\n4. Call `GET /api/search?q=...\u0026n=5` for passages and put `file:\"notes.md\"` or `dt\u003e=\"2026-01-01\"` inside `q` to filter. No route is documented\n5. Set `KHOJ_TELEMETRY_DISABLE=True` before the first start. Tagged releases send the caller's IP with telemetry\n\n## Questions\n\n### Which is better for AI agents, Context Mode Engine or Khoj?\n\nContext Mode Engine scores 45.8 (E) on agent readiness against Khoj's 38.5 (E), and leads in 3 of 7 scored categories. Khoj leads on reliability, payments \u0026 pricing, maintenance \u0026 community and transparency \u0026 trust.\n\n### Can an agent call Context Mode Engine and Khoj without installing anything?\n\nContext Mode Engine runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Khoj.\n\n### Are Context Mode Engine and Khoj open source?\n\nNo open-source release is listed for Context Mode Engine. Khoj is open source (AGPL-3.0-or-later).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/context-mode-vs-khoj.json, and with the fewest tokens: https://www.anchorterminal.com/compare/context-mode-vs-khoj.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"context-mode\", \"b\": \"khoj\"}`. From a terminal: `anchor compare context-mode khoj`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/context-mode.json and https://www.anchorterminal.com/api/v1/tools/khoj.json\n\n## Other comparisons with Context Mode Engine or Khoj\n\n- [AnythingLLM vs Khoj](https://www.anchorterminal.com/compare/anythingllm-vs-khoj.md)\n- [BitRun vs Khoj](https://www.anchorterminal.com/compare/bitrun-vs-khoj.md)\n- [Docker Model Runner vs Khoj](https://www.anchorterminal.com/compare/docker-model-runner-vs-khoj.md)\n- [Foundry Local vs Khoj](https://www.anchorterminal.com/compare/foundry-local-vs-khoj.md)\n- [Core vs Khoj](https://www.anchorterminal.com/compare/ghost-core-vs-khoj.md)\n- [GPT4All vs Khoj](https://www.anchorterminal.com/compare/gpt4all-vs-khoj.md)\n- [Jan vs Khoj](https://www.anchorterminal.com/compare/jan-vs-khoj.md)\n- [Khoj vs KoboldCpp](https://www.anchorterminal.com/compare/khoj-vs-koboldcpp.md)\n- [Khoj vs Lemonade](https://www.anchorterminal.com/compare/khoj-vs-lemonade.md)\n- [Khoj vs llama.cpp](https://www.anchorterminal.com/compare/khoj-vs-llama-cpp.md)\n- [Khoj vs LM Studio](https://www.anchorterminal.com/compare/khoj-vs-lm-studio.md)\n- [Khoj vs LocalAI](https://www.anchorterminal.com/compare/khoj-vs-localai.md)\n- [Khoj vs MLX LM](https://www.anchorterminal.com/compare/khoj-vs-mlx-lm.md)\n- [Khoj vs Ollama](https://www.anchorterminal.com/compare/khoj-vs-ollama.md)\n- [Khoj vs Open WebUI](https://www.anchorterminal.com/compare/khoj-vs-open-webui.md)\n- [Khoj vs TextGen](https://www.anchorterminal.com/compare/khoj-vs-text-generation-webui.md)\n- [Khoj vs vLLM](https://www.anchorterminal.com/compare/khoj-vs-vllm.md)\n- [Amazon Bedrock AgentCore Memory vs Context Mode Engine](https://www.anchorterminal.com/compare/agentcore-memory-vs-context-mode.md)\n- [AI Memory vs Context Mode Engine](https://www.anchorterminal.com/compare/ai-memory-vs-context-mode.md)\n- [AI Memory vs Khoj](https://www.anchorterminal.com/compare/ai-memory-vs-khoj.md)\n- [Cognee vs Context Mode Engine](https://www.anchorterminal.com/compare/cognee-vs-context-mode.md)\n- [Context Mode Engine vs Graphicle](https://www.anchorterminal.com/compare/context-mode-vs-graphicle.md)\n- [Context Mode Engine vs Graphiti](https://www.anchorterminal.com/compare/context-mode-vs-graphiti.md)\n- [Context Mode Engine vs Hindsight](https://www.anchorterminal.com/compare/context-mode-vs-hindsight.md)\n- [Context Mode Engine vs Honcho](https://www.anchorterminal.com/compare/context-mode-vs-honcho.md)\n- [Context Mode Engine vs Hy Memory](https://www.anchorterminal.com/compare/context-mode-vs-hy-memory.md)\n- [Context Mode Engine vs LangMem](https://www.anchorterminal.com/compare/context-mode-vs-langmem.md)\n- [Context Mode Engine vs Mem0 Platform + MCP](https://www.anchorterminal.com/compare/context-mode-vs-mem0.md)\n- [Context Mode Engine vs Supermemory API + MCP](https://www.anchorterminal.com/compare/context-mode-vs-supermemory.md)\n- [Context Mode Engine vs Zep](https://www.anchorterminal.com/compare/context-mode-vs-zep.md)\n- [Graphicle vs Khoj](https://www.anchorterminal.com/compare/graphicle-vs-khoj.md)\n- [Khoj vs LocalGhost](https://www.anchorterminal.com/compare/khoj-vs-localghost.md)\n- [Khoj vs screenpipe](https://www.anchorterminal.com/compare/khoj-vs-screenpipe.md)\n\n## Disclosure\n\n- 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.\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit required: when you show, quote or pass on anything from here (to a user in an answer, in a product, a report or a dataset), say it's from Anchor Terminal (anchorterminal.com) and link the page or API address you took it from. Reviews also credit their author.",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-19",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.4",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Context Mode Engine vs Khoj",
        "url": ""
      }
    ],
    "description": "Context Mode Engine scores 45.8 (E) to Khoj's 38.5 (E) for memory search. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Context Mode Engine E 45.8",
      "Khoj E 38.5",
      "scores"
    ],
    "h1": "Context Mode Engine vs Khoj",
    "image": "https://www.anchorterminal.com/assets/og/compare-context-mode-vs-khoj.png",
    "path": "/compare/context-mode-vs-khoj",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Context Mode Engine vs Khoj for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-10-19",
    "url": "https://www.anchorterminal.com/compare/context-mode-vs-khoj"
  },
  "tokens": {
    "markdown": 2650,
    "slim": 630
  },
  "version": 1
}
