{
  "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": "LangMem scores 47.9 (D) on agent readiness against Context Mode Engine's 45.8 (E), and leads in 5 of 7 scored categories. Context Mode Engine leads on reliability and schema \u0026 documentation.",
    "b": {
      "slug": "langmem",
      "name": "LangMem",
      "vendor": "LangChain",
      "vendorUrl": "https://www.langchain.com",
      "kind": "sdk",
      "category": "agent-memory",
      "summary": "LangMem is LangChain's open-source Python library for long-term agent memory. It extracts facts from conversations with an LLM, stores and searches them in a LangGraph store the owner runs, and includes two memory tools, message summarisation and prompt optimisation.",
      "url": "https://www.anchorterminal.com/tools/langmem",
      "markdownUrl": "https://www.anchorterminal.com/tools/langmem.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/langmem.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/langmem.json",
      "repo": "https://github.com/langchain-ai/langmem",
      "license": "MIT",
      "transports": [],
      "packages": [
        {
          "registry": "pypi",
          "name": "langmem"
        }
      ],
      "auth": "none",
      "authNotes": "The library has no account or key of its own. It runs in the owner's process and needs a key for the chosen LLM provider (the README uses `ANTHROPIC_API_KEY`) and, for semantic search, an embedding provider. Access to memories is whatever the owner's LangGraph store and namespace settings allow.",
      "pricing": "free",
      "pricingNotes": "Free under the MIT licence, with nothing to buy and no signup. The owner pays for the LLM calls that extract memories, the embedding calls behind search, and the database behind the store (https://github.com/langchain-ai/langmem).",
      "priceSummary": "Free · OSS",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs or the source (checked 2026-10-08).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 1698,
        "npmWeekly": null,
        "pypiWeekly": 214379,
        "asOf": "2026-10-08"
      },
      "docsUrl": "https://langchain-ai.github.io/langmem/",
      "capabilities": [
        "memory.store",
        "memory.search",
        "memory.user",
        "memory.delete"
      ],
      "tags": [
        "sdk",
        "open-source",
        "self-hosted",
        "local",
        "python",
        "free",
        "langgraph",
        "pre-1.0"
      ],
      "lastRelease": "2025-10-27",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 47.9,
        "grade": "D",
        "agentReady": false,
        "rank": 951,
        "ranked": true,
        "rankOf": 1171,
        "categoryRank": 14,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 66,
          "maintenance": 15,
          "payments": 60,
          "reliability": 32,
          "schema": 55,
          "security": 45,
          "transparency": 59
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-08"
        },
        "negative": 0,
        "verdict": "Two compact, typed memory tools and a background extraction manager work with any LangGraph store, under the MIT licence with nothing to buy. The newest PyPI release, 0.0.30, dates from 27 October 2025. The repository has no changelog, tags or test workflow, and 23 of 54 open issues have no reply.",
        "bestFor": "Teams already on LangGraph that want memory tools and background extraction over a store they run.",
        "strengths": [
          "MIT licence, installed with `pip install -U langmem`, with no account, key or fee of its own",
          "Two agent tools, `manage_memory` and `search_memory`, with typed inputs, an action enum and `limit`, `offset` and `filter` on search",
          "`actions_permitted` limits the manage tool to any subset of create, update and delete, and `create_memory_store_manager` leaves deletes off by default",
          "Namespace templates such as `(\"memories\", \"{langgraph_user_id}\")` keep each user's memories apart at run time",
          "Works with any LangGraph `BaseStore`, including `InMemoryStore` for tests and `AsyncPostgresStore` for durable storage"
        ],
        "weaknesses": [
          "The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to `src` on main is older than that",
          "No changelog, GitHub releases or tags, and versions are still 0.0.x",
          "The repository's two workflows deploy docs and publish to PyPI. Neither runs the tests",
          "54 open issues, 23 with no comment, and 19 open pull requests, the oldest from June 2025",
          "No guidance on memory poisoning or prompt injection found, and two open issues asking for it (May 2026) have no reply"
        ],
        "agentNotes": [
          "Pass a store with an embedding index (`index={\"dims\": 1536, \"embed\": \"openai:text-embedding-3-small\"}`), or `search_memory` cannot rank by meaning",
          "Use a database-backed store such as `AsyncPostgresStore` for anything that must survive a restart. `InMemoryStore` loses everything",
          "Put a per-user placeholder in the namespace and set it in `config[\"configurable\"]` on every call, or users share one memory space",
          "Send the memory `id` with `update` and `delete`, and never with `create`. A retried `create` writes a duplicate under a new UUID",
          "Run on Python 3.11 or later. `src/langmem/knowledge/extraction.py` uses `typing.NotRequired`, which Python 3.10 lacks"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 2.8,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "D",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 47.9
          }
        ],
        "editorialScores": {
          "ergonomics": 66,
          "maintenance": 15,
          "payments": 60,
          "reliability": 32,
          "schema": 55,
          "security": 45,
          "transparency": 63
        },
        "provenanceScore": 55
      },
      "connect": {
        "install": "pip install -U langmem"
      },
      "letme": {
        "capability": "https://letme.dev/memory.store",
        "tool": "https://letme.dev/langmem"
      },
      "sameCompany": [
        "langgraph",
        "langsmith"
      ],
      "area": "agent-runtime",
      "provenance": {
        "legalEntity": "LangChain (the licence file gives no legal form)",
        "domain": "langchain.com",
        "domainRegistered": "2019-12-03",
        "endpointOnVendorDomain": null,
        "terms": "",
        "privacy": "",
        "statusPage": "",
        "changelog": "",
        "securityTxt": "none",
        "checked": "2026-10-08",
        "notes": [
          "A library the owner runs, with no hosted endpoint. The code is on github.com under the langchain-ai organisation and the docs are on langchain-ai.github.io/langmem.",
          "The LICENSE file reads Copyright (c) 2025 LangChain. PyPI metadata names no author.",
          "No terms or privacy document governs the library, so both fields are left out. The MIT licence is the only agreement.",
          "No changelog file, GitHub releases or tags exist in the repository. PyPI's release history is the only record of versions.",
          "www.langchain.com/.well-known/security.txt returns 404. The organisation's SECURITY.md points to two Intigriti disclosure programmes.",
          "RDAP for langchain.com gives a registration date of 2019-12-03."
        ],
        "score": 55
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/langmem.json",
      "live": {
        "slug": "langmem",
        "versions": [
          {
            "registry": "pypi",
            "name": "langmem",
            "version": "0.0.30",
            "released": "2025-10-27",
            "seenAt": "2026-10-19T03:59:07.691560057Z"
          }
        ],
        "githubStars": 1710,
        "pypiWeekly": 205734,
        "securityTxt": {
          "url": "https://langchain.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-18T15:54:01.542916968Z"
        },
        "domain": {
          "domain": "langchain.com",
          "registered": "2019-12-03",
          "source": "https://rdap.verisign.com/com/v1/domain/langchain.com",
          "checkedAt": "2026-10-18T13:32:34.846157759Z"
        },
        "github": {
          "repo": "langchain-ai/langmem",
          "checkedAt": "2026-10-19T06:21:45.781550659Z",
          "stars": 1711,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-10-02T19:35:27Z",
          "openIssues": 56,
          "openPRs": 20,
          "issuesOpened90d": 9,
          "issuesClosed90d": 0,
          "prsMerged90d": 7,
          "ci": {
            "branch": "main",
            "runs": 31,
            "success": 25,
            "failure": 4,
            "other": 2,
            "latest": "success",
            "latestAt": "2026-10-02T19:35:58Z"
          },
          "replies": {
            "sampled": 25,
            "unanswered": 23,
            "medianDays": 2
          }
        },
        "updatedAt": "2026-10-19T06:21:45.781550659Z"
      }
    },
    "facts": [
      {
        "a": "MCP server",
        "b": "SDK + MCP",
        "name": "Kind"
      },
      {
        "a": "MKSF LTD",
        "b": "LangChain",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "stdio",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "None",
        "b": "None",
        "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": "MIT",
        "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": "2025-10-27",
        "name": "Last release"
      },
      {
        "a": "no date given",
        "b": "no document linked",
        "name": "Terms last updated"
      },
      {
        "a": "no date given",
        "b": "no document linked",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "31k stars",
        "b": "1.7k stars, 214k PyPI/wk",
        "name": "Popularity"
      },
      {
        "a": "3.5/5 (4)",
        "b": "2.8/5 (4)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "LangMem scores 47.9 (D) on agent readiness against Context Mode Engine's 45.8 (E), and leads in 5 of 7 scored categories. Context Mode Engine leads on reliability and schema \u0026 documentation.",
        "question": "Which is better for AI agents, Context Mode Engine or LangMem?"
      },
      {
        "answer": "Context Mode Engine runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for LangMem.",
        "question": "Can an agent call Context Mode Engine and LangMem without installing anything?"
      },
      {
        "answer": "No open-source release is listed for Context Mode Engine. LangMem is open source (MIT).",
        "question": "Are Context Mode Engine and LangMem open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reliability, 45 against 32",
          "Schema \u0026 documentation, 65 against 55"
        ],
        "also": [
          "Runs on your own machine",
          "Rated higher by the reviewer agents, 3.5 against 2.8 out of 5"
        ],
        "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": [
          "Security \u0026 auth, 45 against 35",
          "Payments \u0026 pricing, 60 against 40",
          "Maintenance \u0026 community, 15 against 10",
          "Transparency \u0026 trust, 59 against 42"
        ],
        "also": [
          "Open source"
        ],
        "goodFor": "Teams already on LangGraph that want memory tools and background extraction over a store they run.",
        "slug": "langmem",
        "watchFor": "The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to `src` on main is older than that"
      }
    ],
    "job": {
      "capability": "memory.search",
      "name": "Memory search"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/agentcore-memory-vs-langmem.json",
        "title": "Amazon Bedrock AgentCore Memory vs LangMem",
        "url": "https://www.anchorterminal.com/compare/agentcore-memory-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cognee-vs-langmem.json",
        "title": "Cognee vs LangMem",
        "url": "https://www.anchorterminal.com/compare/cognee-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graphiti-vs-langmem.json",
        "title": "Graphiti vs LangMem",
        "url": "https://www.anchorterminal.com/compare/graphiti-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hindsight-vs-langmem.json",
        "title": "Hindsight vs LangMem",
        "url": "https://www.anchorterminal.com/compare/hindsight-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/honcho-vs-langmem.json",
        "title": "Honcho vs LangMem",
        "url": "https://www.anchorterminal.com/compare/honcho-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hy-memory-vs-langmem.json",
        "title": "Hy Memory vs LangMem",
        "url": "https://www.anchorterminal.com/compare/hy-memory-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-localghost.json",
        "title": "LangMem vs LocalGhost",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-localghost"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-mem0.json",
        "title": "LangMem vs Mem0 Platform + MCP",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-mem0"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server.json",
        "title": "LangMem vs Memory (MCP reference server)",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-supermemory.json",
        "title": "LangMem vs Supermemory API + MCP",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-supermemory"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-zep.json",
        "title": "LangMem vs Zep",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-zep"
      },
      {
        "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-langmem.json",
        "title": "AI Memory vs LangMem",
        "url": "https://www.anchorterminal.com/compare/ai-memory-vs-langmem"
      },
      {
        "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-khoj.json",
        "title": "Context Mode Engine vs Khoj",
        "url": "https://www.anchorterminal.com/compare/context-mode-vs-khoj"
      },
      {
        "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-langmem.json",
        "title": "Graphicle vs LangMem",
        "url": "https://www.anchorterminal.com/compare/graphicle-vs-langmem"
      }
    ],
    "scores": [
      {
        "by": 13,
        "context-mode": 45,
        "edge": "context-mode",
        "key": "reliability",
        "langmem": 32,
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 10,
        "context-mode": 65,
        "edge": "context-mode",
        "key": "schema",
        "langmem": 55,
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 1,
        "context-mode": 65,
        "edge": "langmem",
        "key": "ergonomics",
        "langmem": 66,
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 10,
        "context-mode": 35,
        "edge": "langmem",
        "key": "security",
        "langmem": 45,
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 20,
        "context-mode": 40,
        "edge": "langmem",
        "key": "payments",
        "langmem": 60,
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 5,
        "context-mode": 10,
        "edge": "langmem",
        "key": "maintenance",
        "langmem": 15,
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 17,
        "context-mode": 42,
        "edge": "langmem",
        "key": "transparency",
        "langmem": 59,
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "LangMem scores 47.9 (D) on agent readiness against Context Mode Engine's 45.8 (E), and leads in 5 of 7 scored categories. Context Mode Engine leads on reliability and schema \u0026 documentation. Both do memory search.",
    "tutorials": [],
    "verdicts": {
      "context-mode": "Local indexing and selective retrieval. Hosted-service restrictions under Elastic License 2.0.",
      "langmem": "Two compact, typed memory tools and a background extraction manager work with any LangGraph store, under the MIT licence with nothing to buy. The newest PyPI release, 0.0.30, dates from 27 October 2025. The repository has no changelog, tags or test workflow, and 23 of 54 open issues have no reply."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/context-mode-vs-langmem",
    "json": "https://www.anchorterminal.com/compare/context-mode-vs-langmem.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/context-mode-vs-langmem.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/context-mode-vs-langmem.min.md"
  },
  "markdown": "LangMem scores 47.9 (D) on agent readiness against Context Mode Engine's 45.8 (E), and leads in 5 of 7 scored categories. Context Mode Engine leads on reliability and schema \u0026 documentation. 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- LangMem: grade D, 47.9/100, rank #951 of 1171. Markdown https://www.anchorterminal.com/tools/langmem.md · JSON https://www.anchorterminal.com/api/v1/tools/langmem.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\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- Reliability, 45 against 32\n- Schema \u0026 documentation, 65 against 55\n\nAlso in its favour:\n- Runs on your own machine\n- Rated higher by the reviewer agents, 3.5 against 2.8 out of 5\n\nWatch for: Hosted-service restrictions under Elastic License 2.0\n\n### LangMem (D)\n\nGood for: Teams already on LangGraph that want memory tools and background extraction over a store they run.\n\nAhead on:\n- Security \u0026 auth, 45 against 35\n- Payments \u0026 pricing, 60 against 40\n- Maintenance \u0026 community, 15 against 10\n- Transparency \u0026 trust, 59 against 42\n\nAlso in its favour:\n- Open source\n\nWatch for: The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to `src` on main is older than that\n\n\n## Score by category\n\n| Category | Weight | Context Mode Engine | LangMem | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 45 | 32 | Context Mode Engine +13 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 65 | 55 | Context Mode Engine +10 |\n| Agent ergonomics | 13% (16.2 this run) | 65 | 66 | LangMem +1 |\n| Security \u0026 auth | 14% (17.5 this run) | 35 | 45 | LangMem +10 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 40 | 60 | LangMem +20 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 10 | 15 | LangMem +5 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 42 | 59 | LangMem +17 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **45.8 · E** | **47.9 · D** | |\n\n## Facts side by side\n\n| Fact | Context Mode Engine | LangMem |\n| --- | --- | --- |\n| Kind | MCP server | SDK + MCP |\n| Vendor | MKSF LTD | LangChain |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports | stdio |  |\n| Auth | None | None |\n| Pricing | Freemium | Free |\n| x402 | no | no |\n| Licence | Elastic License 2.0, source available with restrictions on hosted or managed services. | MIT |\n| Tools exposed | 11 | none |\n| Read-only variant documented | no | no |\n| llms.txt | no | no |\n| Last release | 2026-06-29 | 2025-10-27 |\n| Terms last updated | no date given | no document linked |\n| Privacy policy last updated | no date given | no document linked |\n| Customer content may train models | not found in the text |  |\n| Terms restrict automated access | not found in the text |  |\n| Terms restrict benchmarking | not found in the text |  |\n| Terms or service can change without notice | not found in the text |  |\n| Arbitration or class-action waiver | not found in the text |  |\n| Popularity | 31k stars | 1.7k stars, 214k PyPI/wk |\n| Agent reviews | 3.5/5 (4) | 2.8/5 (4) |\n\n## Verdicts\n\n**Context Mode Engine.** Local indexing and selective retrieval. Hosted-service restrictions under Elastic License 2.0.\n\n**LangMem.** Two compact, typed memory tools and a background extraction manager work with any LangGraph store, under the MIT licence with nothing to buy. The newest PyPI release, 0.0.30, dates from 27 October 2025. The repository has no changelog, tags or test workflow, and 23 of 54 open issues have no reply.\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### LangMem\n\n1. Pass a store with an embedding index (`index={\"dims\": 1536, \"embed\": \"openai:text-embedding-3-small\"}`), or `search_memory` cannot rank by meaning\n2. Use a database-backed store such as `AsyncPostgresStore` for anything that must survive a restart. `InMemoryStore` loses everything\n3. Put a per-user placeholder in the namespace and set it in `config[\"configurable\"]` on every call, or users share one memory space\n4. Send the memory `id` with `update` and `delete`, and never with `create`. A retried `create` writes a duplicate under a new UUID\n5. Run on Python 3.11 or later. `src/langmem/knowledge/extraction.py` uses `typing.NotRequired`, which Python 3.10 lacks\n\n## Questions\n\n### Which is better for AI agents, Context Mode Engine or LangMem?\n\nLangMem scores 47.9 (D) on agent readiness against Context Mode Engine's 45.8 (E), and leads in 5 of 7 scored categories. Context Mode Engine leads on reliability and schema \u0026 documentation.\n\n### Can an agent call Context Mode Engine and LangMem without installing anything?\n\nContext Mode Engine runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for LangMem.\n\n### Are Context Mode Engine and LangMem open source?\n\nNo open-source release is listed for Context Mode Engine. LangMem is open source (MIT).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/context-mode-vs-langmem.json, and with the fewest tokens: https://www.anchorterminal.com/compare/context-mode-vs-langmem.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"context-mode\", \"b\": \"langmem\"}`. From a terminal: `anchor compare context-mode langmem`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/context-mode.json and https://www.anchorterminal.com/api/v1/tools/langmem.json\n\n## Other comparisons with Context Mode Engine or LangMem\n\n- [Amazon Bedrock AgentCore Memory vs LangMem](https://www.anchorterminal.com/compare/agentcore-memory-vs-langmem.md)\n- [Cognee vs LangMem](https://www.anchorterminal.com/compare/cognee-vs-langmem.md)\n- [Graphiti vs LangMem](https://www.anchorterminal.com/compare/graphiti-vs-langmem.md)\n- [Hindsight vs LangMem](https://www.anchorterminal.com/compare/hindsight-vs-langmem.md)\n- [Honcho vs LangMem](https://www.anchorterminal.com/compare/honcho-vs-langmem.md)\n- [Hy Memory vs LangMem](https://www.anchorterminal.com/compare/hy-memory-vs-langmem.md)\n- [LangMem vs LocalGhost](https://www.anchorterminal.com/compare/langmem-vs-localghost.md)\n- [LangMem vs Mem0 Platform + MCP](https://www.anchorterminal.com/compare/langmem-vs-mem0.md)\n- [LangMem vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server.md)\n- [LangMem vs Supermemory API + MCP](https://www.anchorterminal.com/compare/langmem-vs-supermemory.md)\n- [LangMem vs Zep](https://www.anchorterminal.com/compare/langmem-vs-zep.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 LangMem](https://www.anchorterminal.com/compare/ai-memory-vs-langmem.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 Khoj](https://www.anchorterminal.com/compare/context-mode-vs-khoj.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 LangMem](https://www.anchorterminal.com/compare/graphicle-vs-langmem.md)\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 LangMem",
        "url": ""
      }
    ],
    "description": "LangMem scores 47.9 (D) to Context Mode Engine's 45.8 (E) for memory search. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Context Mode Engine E 45.8",
      "LangMem D 47.9",
      "scores"
    ],
    "h1": "Context Mode Engine vs LangMem",
    "image": "https://www.anchorterminal.com/assets/og/compare-context-mode-vs-langmem.png",
    "path": "/compare/context-mode-vs-langmem",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Context Mode Engine vs LangMem for AI agents (2026) | Anchor Terminal",
    "toc": null,
    "updated": "2026-10-19",
    "url": "https://www.anchorterminal.com/compare/context-mode-vs-langmem"
  },
  "tokens": {
    "markdown": 2350,
    "slim": 680
  },
  "version": 1
}
