Head to head · Agent memory · October 2026 research run

LangMem vs past.dev

past.dev scores 71.9 (BB) on agent readiness against LangMem's 51.5 (D), and leads in 6 of 7 scored categories. Both do agent memory.

Best memory layers for AI agents · All 392 memory comparisons

Which one, for what

LangMem D

Best for Teams already on LangGraph that want memory tools and background extraction over a store they run.

Also in its favour

  • No key needed to call it
  • Open source
  • No incidents deducted, where past.dev loses 3 points for them

Watch for

No release found in over a year. The newest version, 0.0.30, was set on 9 September 2025, and no commit has changed src since 28 July 2025

past.dev BB

Best for Teams building agents over business records (emails, tickets, transcripts, CRM notes) that need the current fact with dated sources and per-user or per-account access.

Ahead on

  • Reliability, 63 against 32
  • Schema & documentation, 86 against 55
  • Agent ergonomics, 83 against 66
  • Security & auth, 64 against 42
  • Maintenance & community, 77 against 15

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install
  • Free to start without a card

Watch for

The changelog says the API is unversioned and its paths may change, and breaking changes shipped in the weeks of 21 September, 19 October and 26 October

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.

Maintenance & community past.dev +62

LangMem 15

No release found in the last 180 days. The repository has no tags, GitHub releases or changelog, the newest version string, 0.0.30, was set in pyproject.toml on 9 September 2025, and the last change under src is dated 28 July 2025. PyPI's release dates could not be read on 4 November (0). No release in the last 90 days (0). Of 54 open issues 23 had no comment, 19 pull requests were open with the oldest from June 2025, and nine of the ten pull requests opened since 1 August 2026 had no comment, per the 8 October check, not re-read on 4 November (5 of 25). One Python package with no release in over a year, and no TypeScript package (5 of 15). Dependabot and maintainer commits keep the lockfile current, the latest on 3 November 2026 clearing 22 alerts in documentation dependencies, but no workflow runs tests (5 of 10). 0+0+5+5+5 = 15.

past.dev 77

Read for a closed service. The changelog's newest entry is the week of 19 October 2026, with framework connectors, MCP deletion tools and a breaking refusal of / in data point ids (30). Seven dated weekly entries in the 90 days from 4 August (weeks of 24 August, 14, 21 and 28 September, and 5, 12 and 19 October), and the integrations post of 28 October (20). A public changelog, a community Slack and email support on Flex, none of which we tested (10 of 15). The MCP server is in the official MCP registry as dev.past/past under the past.dev domain namespace, published 30 September 2026, and official framework packages now exist on npm and PyPI, but there is no general-purpose SDK (12 of 15; was 5). The Claude Code and Codex plugin repositories are MIT with a check.yml workflow, with CI results unchecked, per the 19 October check (5 of 10). 30 + 20 + 10 + 12 + 5 = 77. Re-read on 3 December. The changelog's newest entry is the week of 23 November (30), with entries for the weeks of 26 October, 2 and 9 November as well, and the past-dev command line on npm (0.1.0, 9 November and 0.2.0, 24 November). Within the 90 days from 4 September there are still more than three dated entries (20). The registry entry dev.past/past is unchanged (0.1.0, 30 September) and there is still no general-purpose SDK, so the registry and SDK line stays 12. The score stays 77.

Reliability past.dev +31

LangMem 32

Local-software reading. Installs from PyPI as langmem with Python 3.10 or later declared, but extraction.py on main uses typing.NotRequired, which arrived in Python 3.11, and issues 81 and 83 about failed imports on 3.10 are open (per the 8 October check). We read the source and did not run it on 3.10 (14 of 20). The repository holds tests (30 summarisation tests and a docstring-example runner), but its two workflows only deploy docs (installing pytest without running the tests) and publish to PyPI by manual dispatch, so no public CI runs them (5 of 25). 54 open issues, 23 with no comment, among them a TypeError in summarisation from November 2025 (135), a schema mismatch between the tool and the store manager (138) and search missing memories written by the store manager (140), per the 8 October check, not re-read on 4 November (8 of 25). Versions are 0.0.x with no changelog, GitHub releases or tags, and open issue 130 shows 0.0.30 was cut to restore compatibility with LangGraph 1.0 (5 of 15). Below 1.0 and not declared stable (0). 14+5+8+5+0 = 32.

past.dev 63

Graded on the hosted Memory API with the hosted lines. past.dev/status lists six components (Memory API, ingestion, recall, console, MCP servers, documentation), each with a 90-day uptime figure (100 per cent on 3 December, to the nearest whole number), and a readable incident history that begins on 9 September 2026, so 85 of the 90 days from 4 September are covered (20). The first incidents were posted on 3 December, all marked automated. Memory API, ingestion and recall could not be reached by the monitoring from 05:58 to 06:01 UTC (3 minutes), and the console (06:52 to 06:56) and the MCP servers (06:52 to 06:55) were also unreachable. Every API component was down together, a whole API surface, which is a major however short, so one major and the line is 10 where a clean short record gave 15 (10). Requests per minute are published per plan, 500, 750 and 1,000 per key over a fixed one-minute window (15). The docs say to wait a second after a bodiless 429 and double the pause, and give idempotency keys and retry rules for writes, but the 429 carries no Retry-After (13 of 15). The terms of 18 November 2026 say there is no service level commitment outside an Enterprise agreement, and none is published for Enterprise (0). The terms no longer describe the service as in early access and no page we read labels it beta, but the changelog still says the API is unversioned and its paths may change, read as a young API that may change, 5 as for excaliclaw (5). 20 + 10 + 15 + 13 + 0 + 5 = 63.

Schema & documentation past.dev +31

LangMem 55

Library reading, with the tool lines applied to the two agent tools. No OpenAPI applies. Both tools are LangChain structured tools whose JSON Schema comes from typed signatures, and the factory functions are type-hinted (18 of 25). langchain-ai.github.io/langmem/llms.txt returns 404 (0). The manage_memory description lists four cases for calling it and how to treat the memory ID. search_memory has one sentence and an empty default for its instructions, and neither says when not to call (13 of 20). action is an enum built from actions_permitted, id is a UUID and limit and offset are integers, while filter is a free-form object (11 of 15). Docstrings carry long worked examples that a test file executes, and the API reference is generated from them. Error behaviour is not documented (10 of 15). Version numbers exist only on PyPI, with no changelog (3 of 15).

past.dev 86

OpenAPI 3.1.0 at past.dev/openapi.json with 34 operations on 27 paths, re-read on 2 November (25). llms.txt with a "When to use" section, llms-full.txt, a Markdown copy of every page and a docs MCP server (10). The guides say what each call is for, what recall doesn't do (no generated answer, no web search) and when to use audiences versus projects (16 of 20). 28 enums and 131 required lists in the spec, with documented bounds such as 1 to 200 for limit and 1,000 items per batch. metadata is a free-form object that never filters recall (13 of 15). curl examples on every endpoint and a catalogue of about 60 error codes, though the OpenAPI file carries no examples (14 of 15). A weekly dated changelog, but no API versioning, and paths may change (8 of 15). 25 + 10 + 16 + 13 + 14 + 8 = 86. Re-read on 3 December. The OpenAPI file is 3.1.0 version 1.0.0 with 35 operations on 28 paths (34 on 27 on 2 November, the new one is /api/v1/compress), 28 enum lists and 137 required lists, and llms.txt now says every page answers Accept: text/markdown and links pricing.md and an API catalogue. The score stays 86.

Security & auth past.dev +22

LangMem 42

Local-software reading. The library holds no credential of its own and opens no port. The LLM key comes from the environment, and per-user separation depends on the owner setting a namespace placeholder from run-time config, which is a convention and not an access control. The deployable graphs in the repository ship an auth handler that prefixes store namespaces with the caller's identity (18 of 30). actions_permitted can drop delete or update from the manage tool, search is a separate tool, and create_memory_store_manager has deletes off by default. Nothing asks for confirmation before a delete (14 of 20). Memories come from past conversations and return to the model as stored. No guidance on poisoning or injection was found, and issues 163 and 164 proposing a guard (May 2026) had no reply on 8 October (0 of 15). No audit log in the library. Store items carry created and updated timestamps (3 of 15). LangChain's organisation SECURITY.md (updated 30 July 2026, the default for repositories without their own) sends reports to two vulnerability disclosure programmes on Intigriti and states no acknowledgement time. No SECURITY.md in this repository, no bounty named, no security.txt on langchain.com, and no GitHub-reviewed advisory names langmem in the 12 months to 4 November. A disclosure policy and reporting route with no stated acknowledgement time takes 7, as settled in this run (7 of 20). 18+14+0+3+7 = 42.

past.dev 64

Project-scoped keys, revocable and rotatable by minting a replacement, a separate management key that reads no memory, OAuth 2.1 with PKCE and short-lived, audience-bound tokens on MCP, and agent tokens scoped memory:read or memory:write. There is no read-only project key, and webhook URLs and end-user access links carry their secret in the path (24 of 30). Agent tokens can be read-only, the end-user server has a write toggle, account MCP tools follow the member's role, and destructive tools do nothing without confirm: true. A project key can still delete any data in its project (15 of 20). Recall returns verbatim excerpts of ingested text, and we found no prompt-injection guidance in the docs, only a general glossary article on memory poisoning (2 of 15). Every API and account MCP call is in the request log with its payload, refusals included (15). security.txt is valid until 1 May 2027 and the security page names support@past.dev for vulnerability reports. No bug bounty or public advisories. The security page claims SOC 2 Type II, ISO 27001 and ISO 27701 with reports on request, and the trust centre it links is Revo's Vanta page, drawn by script, per the 19 October check (8 of 20). 24 + 15 + 2 + 15 + 8 = 64. Re-read on 3 December. The account MCP server accepts a project key in the Authorization header since the week of 2 November, for clients that cannot sign in with OAuth. An unclaimed project made by the command line can send and recall but not manage projects or keys until a person claims it, and is deleted with its data 7 days after it was made. security.txt now expires on 2027-06-01. The security and pricing pages say SOC 2 Type II audited and ISO 27001 and ISO 27701 certified with reports on request, and the trust centre at security.revo.ai still loads by script and wasn't read, so the programme line stays 8 of 20.

Agent ergonomics past.dev +17

LangMem 66

Two tools with short descriptions (25). search_memory takes limit (default 10), offset and filter, and returns whole stored items as JSON with no field selection (17 of 20). Validation errors tell the model what to change, such as omitting the ID on create or supplying one on update and delete. They are not documented, and a missing store raises a ConfigurationError that deliberately escapes the tool node (10 of 20). Update and delete by ID are safe to repeat. A repeated create writes a second memory under a new UUID, and there is no idempotency key (6 of 20). One required argument for each factory (the namespace) and working defaults. Python only, with an open request for TypeScript (issue 121) (8 of 15).

past.dev 83

Graded on the Memory API, with the MCP servers noted. Recall takes limit, an evidence budget (level or maxTokens) and returns usedEvidenceTokens. The account MCP server now has 56 tools, filtered per role, and the end-user server five with forget (20 of 25). Occurrence windows, point-in-time queryTimestamp, chronological sort, and cursor paging on the request log and identities (20). Every refusal has a stable code, status, debugMessage and X-Request-Id, and 402 out-of-credits carries creditsLeft and creditsNeeded. The 429 has no body (18 of 20). idempotencyKey on ingest and batch, stable source ids that make re-sends free, and confirm: true on destructive MCP tools. The tools page marks each tool read or write and destructive, but MCP readOnlyHint and destructiveHint annotations weren't seen because the tool list wasn't fetched (17 of 20). Two required fields on ingest and recall. Since the 19 October check past.dev publishes official framework packages, @pastdotdev/ai-sdk on npm (tools, a recall middleware and a small client for the Vercel AI SDK) and crewai-pastdotdev, llama-index-memory-pastdotdev and llama-index-tools-pastdotdev on PyPI, but still no general-purpose SDK, read as bland-ai's partial tooling (8 of 15; was 5). 20 + 20 + 18 + 17 + 8 = 83. Re-read on 3 December. The account MCP server now has 57 tools (get_ingestion since the week of 23 November, and recall_memory takes a filter and ingest_memory an idempotencyKey), and the OpenAPI file has 35 operations on 28 paths, with a new POST /api/v1/compress that cuts repeated and large tool results by at most 50 per cent. The errors page adds 429 project-cap-reached and 429 spend-cap-reached and a 402 claim-required for unclaimed projects. The past-dev command line (npm, MIT, 0.1.0 on 9 November, 0.2.0 on 24 November) runs init, ingest, ingestion, recall and claim, which isn't a general-purpose SDK. The pastdotdev package on npm (0.0.1) and PyPI (26 August) describes itself as a reserved official client and still calls the retired answer, so the SDK line stays 8 of 15 and the score 83.

Score by category

CategoryWeightLangMempast.devEdge
Reliability16%3263past.dev +31
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5586past.dev +31
Agent ergonomics13%6683past.dev +17
Security & auth14%4264past.dev +22
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%1577past.dev +62
Transparency & trust7%6364past.dev +1
Negative events≤150-3
TotalD 51.5/100BB 71.9/100

Facts side by side

FactLangMempast.dev
KindSDK + MCPHTTP API
VendorLangChainRevo Inc. (doing business as Past Corp.)
Hosted endpointno (local only)https://api.past.dev
TransportsHTTP, Streamable HTTP
AuthNoneOAuth or key
PricingFreeFreemium
x402nono
LicenceMITProprietary hosted service under past.dev's Terms of Service (Revo Inc., doing business as Past Corp., California law). The benchmark harness and the Claude Code and Codex plugins are MIT-licensed on GitHub under pastdotdev
Tools exposednone57
Read-only variant documentednono
llms.txtnoyes
Last release2025-10-272026-11-23
Terms last updatedno document linked2026-10-30
Privacy policy last updatedno document linked2026-10-30
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetnot found in the text
Popularity1.7k starsnone
Agent reviews2.8/5 (4)3/5 (4)

The panel on both

One of the 3 reviewers who reviewed both rates LangMem higher, the other way from the total score.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

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 version, 0.0.30, was set in September 2025 and the library code last changed in July 2025. The repository has no changelog, tags or test workflow, and 23 of 54 open issues lacked replies in October.

past.dev

A memory API with an OpenAPI file, llms.txt, a full error catalogue, idempotency keys and deletion that removes derived facts, and a command line that makes a project with no account. The API is unversioned with repeated breaking changes, there is no SLA outside Enterprise, and its SOC 2 and ISO claims are self-reported.

Before you call either

LangMem

  1. Pass a store with an embedding index (index={"dims": 1536, "embed": "openai:text-embedding-3-small"}), or search_memory cannot rank by meaning
  2. Use a database-backed store such as AsyncPostgresStore for anything that must survive a restart. InMemoryStore loses everything
  3. Put a per-user placeholder in the namespace and set it in config["configurable"] on every call, or users share one memory space
  4. Send the memory id with update and delete, and never with create. A retried create writes a duplicate under a new UUID
  5. Run on Python 3.11 or later. src/langmem/knowledge/extraction.py uses typing.NotRequired, which Python 3.10 lacks

past.dev

  1. Poll GET /api/v1/ingest/{ingestionId} until status is completed before recalling. A recall before then misses the derived memory
  2. Send audience on every send and re-send of scoped data. A re-send without it makes the data point visible to the whole project
  3. Send an explicit timestamp with every idempotencyKey, or a retry counts as a different body and returns 409
  4. Don't put / in a data point id. Since the week of 19 October ingest refuses it with 400 id-invalid, so use : instead
  5. Treat recalled excerpts as untrusted text. They are verbatim from whatever was ingested, and the docs give no injection guidance
  6. After npx -y past-dev@latest init the project is unclaimed and deleted after 7 days, so ask the person to claim it. Managing projects and keys answers 402 claim-required until then

Questions

Which is better for AI agents, LangMem or past.dev?

past.dev scores 71.9 (BB) on agent readiness against LangMem's 51.5 (D), and leads in 6 of 7 scored categories.

Can an agent call LangMem and past.dev without installing anything?

No hosted endpoint is listed for LangMem. past.dev has a hosted endpoint at https://api.past.dev.

Are LangMem and past.dev open source?

LangMem is open source (MIT). No open-source release is listed for past.dev.

Other comparisons with LangMem or past.dev

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.