Head to head · Memory store · October 2026 research run
Amazon Bedrock AgentCore Memory vs LangMem
Amazon Bedrock AgentCore Memory scores 79.4 (A) on agent readiness against LangMem's 47.9 (D), and leads in 6 of 7 scored categories. LangMem leads on payments & pricing. Both do memory store.
Which one, for what
Amazon Bedrock AgentCore Memory A
Good for Teams already on AWS that want per-user memory under IAM, KMS and Regional controls, with extraction run for them.
Ahead on
- Reliability, 88 against 32
- Schema & documentation, 92 against 55
- Agent ergonomics, 86 against 66
- Security & auth, 87 against 45
- Maintenance & community, 83 against 15
- Transparency & trust, 76 against 59
Also in its favour
- Agent-ready, a grade of BB or better
- A hosted endpoint, with nothing to install
- Runs on your own machine
Watch for
Long-term extraction is asynchronous. The docs say records appear within seconds to minutes after a write
LangMem D
Good for Teams already on LangGraph that want memory tools and background extraction over a store they run.
Ahead on
- Payments & pricing, 60 against 30
Also in its favour
- No key needed to call it
- Open source
Watch for
The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to src on main is older than that
Score by category
| Category | Weight this run | Amazon Bedrock AgentCore Memory | LangMem | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 88 | 32 | Amazon Bedrock AgentCore Memory +56 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 92 | 55 | Amazon Bedrock AgentCore Memory +37 |
| Agent ergonomics | 13%16.2 | 86 | 66 | Amazon Bedrock AgentCore Memory +20 |
| Security & auth | 14%17.5 | 87 | 45 | Amazon Bedrock AgentCore Memory +42 |
| Payments & pricing | 10%12.5 | 30 | 60 | LangMem +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 83 | 15 | Amazon Bedrock AgentCore Memory +68 |
| Transparency & trust | 7%8.8 | 76 | 59 | Amazon Bedrock AgentCore Memory +17 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 79.4 · A | 47.9 · D |
Facts side by side
| Fact | Amazon Bedrock AgentCore Memory | LangMem |
|---|---|---|
| Kind | HTTP API | SDK + MCP |
| Vendor | Amazon Web Services | LangChain |
| Hosted endpoint | https://bedrock-agentcore.{region}.amazonaws.com | no (local only) |
| Transports | HTTP, stdio | |
| Auth | OAuth or key | None |
| Pricing | Pay per use | Free |
| x402 | no | no |
| Licence | Proprietary service under the AWS Customer Agreement and Service Terms. The bedrock-agentcore Python SDK and the @aws/agentcore CLI are Apache-2.0 | MIT |
| Tools exposed | 21 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-06 | 2025-10-27 |
| Terms last updated | 2026-10-01 | no document linked |
| Privacy policy last updated | 2026-05-18 | no document linked |
| Customer content may train models | yes, with an opt-out | |
| Terms restrict automated access | yes | |
| Terms restrict benchmarking | yes | |
| Terms or service can change without notice | yes | |
| Arbitration or class-action waiver | not found in the text | |
| Popularity | 776 stars, 1.1M npm/wk | 1.7k stars, 214k PyPI/wk |
Verdicts
Amazon Bedrock AgentCore Memory
Access is IAM-controlled down to one namespace, with published per-second quotas for every operation and a clientToken on event writes. Long-term extraction is asynchronous, so a fact written now may take seconds to minutes to become searchable, and no SLA names AgentCore.
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.
Before you call either
Amazon Bedrock AgentCore Memory
- Create the memory resource first and wait for it to become active (the guide says 2 to 3 minutes). Short-term events work without a strategy, long-term records need at least one
- Don't search for a fact straight after
CreateEvent. Extraction runs in the background, so pollListMemoryRecordsor list extraction jobs before relying onRetrieveMemoryRecords - Send
actorId,sessionIdandeventTimestampon everyCreateEvent, and reuse the sameclientTokenwhen retrying - Pass
namespaceornamespacePathon every retrieval, and scope it to one actor so users' memories don't mix - Treat retrieved records as untrusted input, and back off on 429
ThrottledExceptionand 409RetryableConflictException. A quota breach returns 402ServiceQuotaExceededException
LangMem
- Pass a store with an embedding index (
index={"dims": 1536, "embed": "openai:text-embedding-3-small"}), orsearch_memorycannot rank by meaning - Use a database-backed store such as
AsyncPostgresStorefor anything that must survive a restart.InMemoryStoreloses 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
idwithupdateanddelete, and never withcreate. A retriedcreatewrites a duplicate under a new UUID - Run on Python 3.11 or later.
src/langmem/knowledge/extraction.pyusestyping.NotRequired, which Python 3.10 lacks
Questions
Which is better for AI agents, Amazon Bedrock AgentCore Memory or LangMem?
Amazon Bedrock AgentCore Memory scores 79.4 (A) on agent readiness against LangMem's 47.9 (D), and leads in 6 of 7 scored categories. LangMem leads on payments & pricing.
Can an agent call Amazon Bedrock AgentCore Memory and LangMem without installing anything?
Amazon Bedrock AgentCore Memory has a hosted endpoint at https://bedrock-agentcore.{region}.amazonaws.com. No hosted endpoint is listed for LangMem.
Are Amazon Bedrock AgentCore Memory and LangMem open source?
No open-source release is listed for Amazon Bedrock AgentCore Memory. LangMem is open source (MIT).
Other comparisons with Amazon Bedrock AgentCore Memory or LangMem
- Amazon Bedrock AgentCore Memory vs Cognee
- Amazon Bedrock AgentCore Memory vs Graphiti
- Amazon Bedrock AgentCore Memory vs Hindsight
- Amazon Bedrock AgentCore Memory vs Honcho
- Amazon Bedrock AgentCore Memory vs LocalGhost
- Amazon Bedrock AgentCore Memory vs Mem0 Platform + MCP
- Amazon Bedrock AgentCore Memory vs Supermemory API + MCP
- Amazon Bedrock AgentCore Memory vs Zep
- Cognee vs LangMem
- Graphiti vs LangMem
- Hindsight vs LangMem
- Honcho vs LangMem
- LangMem vs LocalGhost
- LangMem vs Mem0 Platform + MCP
- LangMem vs Supermemory API + MCP
- LangMem vs Zep
Machine-readable
- This page as Markdown
/compare/agentcore-memory-vs-langmem.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/agentcore-memory.json·/api/v1/tools/langmem.json - From a terminal
anchor compare agentcore-memory langmem(the CLI) - Over MCP
compare_tools {"a": "agentcore-memory", "b": "langmem"}at/mcp, no key