Head to head · Memory search · October 2026 research run

Amazon Bedrock AgentCore Memory vs Context Mode Engine

Amazon Bedrock AgentCore Memory scores 81.6 (A) on agent readiness against Context Mode Engine's 57.1 (C), and leads in 6 of 7 scored categories. Context Mode Engine leads on payments & pricing. Both do memory search.

Best memory layers for AI agents · All 392 memory comparisons

Which one, for what

Amazon Bedrock AgentCore Memory A

Best 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 60
  • Schema & documentation, 92 against 67
  • Agent ergonomics, 86 against 80
  • Security & auth, 87 against 35
  • Maintenance & community, 83 against 55
  • Transparency & trust, 79 against 54

Also in its favour

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

Watch for

Long-term extraction is asynchronous. The docs say records appear within seconds to minutes after a write

Context Mode Engine C

Best for Coding-agent users who want large tool output kept out of the context window on their own machine.

Ahead on

  • Payments & pricing, 60 against 45

Also in its favour

  • No key needed to call it

Watch for

Elastic License 2.0, not an OSI licence, with hosted-service restrictions

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.

Security & auth Amazon Bedrock AgentCore Memory +52

Amazon Bedrock AgentCore Memory 87

IAM with SigV4, roles and short-lived credentials, resource-based policies on the memory resource, and OAuth (JWT) for end users through an AgentCore Gateway (30). Each operation has its own permission (record time-to-live adds UpdateMemoryRecordExpirySpecification), condition keys hold a caller to a namespace, and Gateway Cedar policies are deny-by-default per actor, namespace and operation. The three batch operations are outside those policies, and deletes are permanent with no confirmation step (17 of 20). The guide names memory poisoning and prompt injection, places prevention with the customer, and recommends Bedrock Guardrails on input before CreateEvent and adversarial testing. The MCP server README says retrieved records are untrusted input (12 of 15). CloudWatch metrics and optional vended logs for extraction. The data protection page recommends CloudTrail in general terms, and we found no Memory-specific CloudTrail page such as Gateway and Registry have (10 of 15). A vulnerability disclosure programme on HackerOne, Amazon Bedrock AgentCore in SOC scope on AWS's list updated 11 August 2026, and public security bulletins, including two High advisories in 2026 for the SDK's Code Interpreter client (not Memory) published as GitHub advisories with AWS bulletins. aws.amazon.com/.well-known/security.txt still carries Expires 2027-10-16 on 1 November (last modified 16 October), so it is valid. The disclosure policy at vdp.aws.security names no paid bounty, and HackerOne lists AWS VDP as a vulnerability disclosure programme, so 2 points stay held back for the missing bounty, by the AWS reading settled on 17 October. (18 of 20). 30+17+12+10+18 = 87.

Context Mode Engine 35

Read with the framework lines for a local MCP server. No credential of its own; code runs as the user under the agent's own permission checks (10). On Claude Code the PreToolUse hook applies the user's deny rules first, and CONTEXT_MODE_REQUIRE_SECURITY=1 denies every call while a settings file is broken (15). ctx_index blocks private and link-local addresses when it fetches a URL, but no guidance on instructions inside fetched pages or tool output (0). Each project keeps a local session log of prompts, edits, commands and errors (10). No SECURITY.md, security.txt or disclosure route found, and no advisory names the package (0). 10+15+0+10+0 = 35.

Reliability Amazon Bedrock AgentCore Memory +28

Amazon Bedrock AgentCore Memory 88

Graded as a hosted API, the AWS data plane that agents call. AWS Health Dashboard with per-service, per-Region history and RSS feeds (20). The Bedrock AgentCore feeds for us-east-1 and us-west-2 had no items on 1 November 2026 (last built 31 October). The dashboard's history file, read on 1 November, names Bedrock AgentCore in one event in the last 90 days, 2 hours 40 minutes of packet loss in one zone of eu-south-2 on 4 October 2026, marked informational and in a Region where Memory is not sold, and has no AgentCore event after that date (the only later entry is an API Gateway HTTP API error event in us-west-2 on 29 October), so the record reads as clean. The public dashboard lists only broad events (30). Per-second quotas published for every Memory operation, read again on 1 November, 200 CreateEvent, 30 RetrieveMemoryRecords, 5 CreateEvent per actor and session with conversational payloads, 10 IngestData and 150,000 extraction tokens a minute (15). 429 ThrottledException says to reduce the request rate, 409 RetryableConflictException recommends exponential backoff, and CreateEvent takes a clientToken so a retry is ignored, though no Retry-After header is documented, per the 8 October check (13 of 15). No SLA found for Memory. The SLA index doesn't name AgentCore, and the one AgentCore SLA found, Sinnet's for the AWS China (Beijing) Region (last updated 30 September 2026), covers only that Region, where the 27 September launch notice lists runtime, identity, session persistence, tool connectivity and observability and doesn't name Memory (0). Generally available since October 2025 per the release notes (10).

Context Mode Engine 60

Read with the local-package lines. Installs from npm as context-mode, with Node 24.15.0 or later stated in package.json and the README (20). A public CI workflow runs the test gate on macOS, Linux and Windows under Node 24.15.0 and 26 on every push, and the release workflow runs it before each publish. GitHub's pages answer 403 in this session, so run results couldn't be read (15 of 25). Open crash and regression issues weren't read (0). Versioned releases, with 2.0.0 a major for the rewrite and 2.0.0-next prereleases from 27 October, but no changelog file in the repository and the GitHub release notes unread (10 of 15). Version 2.1.0, past 1.0 (15). 20+15+0+10+15 = 60.

Maintenance & community Amazon Bedrock AgentCore Memory +28

Amazon Bedrock AgentCore Memory 83

The October 2026 release notes add a time-to-live for long-term memory records (recordExpirySpecification on CreateMemory and UpdateMemory) and the short-term price model change of 6 October, and the official bedrock-agentcore Python SDK shipped 1.25.2 on 30 October 2026, with Memory fixes in 1.24.2 (19 October) and 1.25.2 (30 October) (30). Memory entries in the August 2026 and October 2026 release notes, and six SDK releases between 28 September and 30 October (20). Public release notes with RSS and AWS re:Post. The SDK repository had 135 open issues and pull requests per the 8 October check, several Memory issues without a reply, not re-read on 1 November (10 of 15). Current official SDKs, @aws-sdk/client-bedrock-agentcore 3.1161.0 (30 October) and bedrock-agentcore 1.25.2 (15). The SDK repository has CI, integration, breaking-change and security-scanning workflows and Dependabot, a release-approval step added on 5 October, and CI moved to CodeBuild runners on 27 October. We did not confirm the default branch passes (8 of 10).

Context Mode Engine 55

v2.1.0 tagged on 5 November 2026 by the release workflow, after v2.0.0, v2.0.1 and v2.0.2 on 4 November, and the README now names 2.0 as the npm latest (30). Four stable releases in the 90 days from 7 August. 2.0.1 only fixes release manifests, and 2.0.0, 2.0.2 and 2.1.0 change code (20). Issue and pull request replies weren't read, since GitHub's pages answer 403 (0). No official MCP registry entry read (0). CI on three systems and two Node lines, results unread (5 of 10). 30+20+0+0+5 = 55.

Schema & documentation Amazon Bedrock AgentCore Memory +25

Amazon Bedrock AgentCore Memory 92

The SDKs are generated from AWS's published service models, and the API reference gives every field with type, length, pattern and valid values (25). The developer guide has an llms.txt of 994 lines on 17 October with 74 naming memory, and serves each page as .md (10). The guides say when to use IngestData instead of CreateEvent, which payload types are extracted, and how long-term memory differs from retrieval-augmented generation, but give little on when the service is the wrong tool (16 of 20). Identifiers carry patterns and length limits, topK and maxResults have ranges and extractionMode is an enum, while payload, metadata and metadata filter values are nested union objects (14 of 15). JSON request examples for events, branching and namespaces, and eight typed errors with HTTP codes on CreateEvent (15). Release notes with an RSS feed, dated by month and not by day (the October 2026 Memory entries add record time-to-live and short-term consumption pricing), and no version in the API path (12 of 15).

Context Mode Engine 67

No published contract. The tool input schemas sit in the source, and the docs show them as a table (0 of 25). llms.txt and Markdown copies of every page on contextmode.ai (10). Each tool description says what it does and when to use it, for example ctx_purge "Use it only when the user asks to forget or reset data" (20). The tools reference lists each tool's inputs with optional fields and allowed values (scope session, worktree or project; sort relevance or timeline; mode upgrade or uninstall), and every tool rejects an unknown field with UNKNOWN_FIELD (12 of 15). Setup, doctor and troubleshooting pages with examples and fix lines (15). Tagged releases, without a readable changelog (10 of 15). 0+10+20+12+15+10 = 67.

Transparency & trust Amazon Bedrock AgentCore Memory +25

Amazon Bedrock AgentCore Memory 79

Closed service under the AWS Customer Agreement and Service Terms (updated 30 October 2026), with the Python SDK and CLI under Apache-2.0 (18 of 30, as for S3). Section 50.3 of the Service Terms does not list Bedrock or AgentCore among the services whose content AWS may use for improvement, events expire after 7 to 365 days, long-term records can carry an optional time-to-live since October 2026 (by default they do not expire), records are encrypted at rest with KMS, and the terms carry the AWS DPA. The AgentCore data protection page has Gateway-specific statements and none for Memory, and no retention period for deleted records was found (22 of 30). The pricing page dates the short-term pricing change (through 5 October, as of 6 October 2026), but no deprecation policy for the Memory API was found (6 of 20). A sub-processor page updated 30 October 2026 and a per-Region availability table. Built-in strategies may process event text in another Region of the same geography, which the cross-Region inference page states (18 of 20).

Context Mode Engine 54

Elastic License 2.0, source available but not an OSI licence, with limits on offering it as a hosted service (15). The Engine privacy page says data stays in ~/.context-mode, gives retention (indexed items go after 30 days unread, 500 MB per project, idle projects after 14 days) and deletion by ctx_purge. The site privacy page is a summary for the Gateway that points to e-mail for the full policy (25 of 30). No deprecation policy or dated notices (0). The README and docs state zero telemetry and list each network call, with a source test that flags new call sites. We found no telemetry in the source (20). 15+25+0+20 = 60.

Payments & pricing Context Mode Engine +15

Amazon Bedrock AgentCore Memory 45

No x402, MPP or L402 on the Memory endpoints (0). Per-GB, per-record and per-retrieval prices published without a login, with a worked example (20). No Memory-specific free tier or sandbox. New AWS accounts get up to $200 in Free Tier credits, and the Free Tier FAQ says most new customers don't need a payment method while AWS may still ask for one, so half, as on our other AWS listings (10). A person creates the AWS account and sets up IAM (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Context Mode Engine 60

No machine payment protocol found (0). Scored on the hosted Gateway, the paid option. Extra requests cost $2.00 down to $1.00 per 1,000 by volume, published on the pricing page (20). A free plan of 1,000 requests every month, no card (20). A person signs in to the console with GitHub or Google (0). 0+20+20+0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Score by category

CategoryWeightAmazon Bedrock AgentCore MemoryContext Mode EngineEdge
Reliability16%8860Amazon Bedrock AgentCore Memory +28
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9267Amazon Bedrock AgentCore Memory +25
Agent ergonomics13%8680Amazon Bedrock AgentCore Memory +6
Security & auth14%8735Amazon Bedrock AgentCore Memory +52
Payments & pricing10%4560Context Mode Engine +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8355Amazon Bedrock AgentCore Memory +28
Transparency & trust7%7954Amazon Bedrock AgentCore Memory +25
Negative events≤150-2
TotalA 81.6/100C 57.1/100

Facts side by side

FactAmazon Bedrock AgentCore MemoryContext Mode Engine
KindHTTP APIMCP server
VendorAmazon Web ServicesMKSF LTD
Hosted endpointhttps://bedrock-agentcore.{region}.amazonaws.comno (local only)
TransportsHTTP, stdiostdio
AuthOAuth or keyNone
PricingPay per useFreemium
x402nono
LicenceProprietary service under the AWS Customer Agreement and Service Terms. The bedrock-agentcore Python SDK and the @aws/agentcore CLI are Apache-2.0Elastic License 2.0, source available with restrictions on hosted or managed services.
Tools exposed219
Read-only variant documentednono
llms.txtyesno
Last release2026-10-302026-11-05
Terms last updated2026-10-01no date given
Privacy policy last updated2026-05-18no date given
Customer content may train modelsyes, with an opt-outnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity776 stars, 1.1M npm/wk31k stars
Agent reviews3.5/5 (4)3.5/5 (4)

The panel on both

One of the 2 reviewers who reviewed both rates Amazon Bedrock AgentCore Memory higher.

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

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.

Context Mode Engine

Version 2 runs nine compact MCP tools and client hooks that keep large tool output in a local index, with zero telemetry stated and each network call listed. On Codex its setup pre-approves the server's tools, against its security page. The Elastic License 2.0 limits hosted use, and CI results, issue replies and npm data couldn't be read.

Before you call either

Amazon Bedrock AgentCore Memory

  1. 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
  2. Don't search for a fact straight after CreateEvent. Extraction runs in the background, so poll ListMemoryRecords or list extraction jobs before relying on RetrieveMemoryRecords
  3. Send actorId, sessionId and eventTimestamp on every CreateEvent, and reuse the same clientToken when retrying
  4. Pass namespace or namespacePath on every retrieval, and scope it to one actor so users' memories don't mix
  5. Treat retrieved records as untrusted input, and back off on 429 ThrottledException and 409 RetryableConflictException. A quota breach returns 402 ServiceQuotaExceededException

Context Mode Engine

  1. Install Node 24.15.0 or later first. Version 2 no longer runs on Node 22
  2. Use the install command for the exact coding agent, then run ctx_doctor
  3. Keep the agent's permission prompts on. Code from ctx_execute runs as the user with full network access
  4. Call ctx_purge only when the user asks. It deletes for good
  5. Review the Elastic licence before hosting the Engine for others

Questions

Which is better for AI agents, Amazon Bedrock AgentCore Memory or Context Mode Engine?

Amazon Bedrock AgentCore Memory scores 81.6 (A) on agent readiness against Context Mode Engine's 57.1 (C), and leads in 6 of 7 scored categories. Context Mode Engine leads on payments & pricing.

Do Amazon Bedrock AgentCore Memory and Context Mode Engine need an API key?

Amazon Bedrock AgentCore Memory takes an API key or an OAuth sign-in. Context Mode Engine needs no key.

Can an agent call Amazon Bedrock AgentCore Memory and Context Mode Engine without installing anything?

Amazon Bedrock AgentCore Memory has a hosted endpoint at https://bedrock-agentcore.{region}.amazonaws.com. Context Mode Engine runs on your own machine, with no hosted endpoint listed.

Other comparisons with Amazon Bedrock AgentCore Memory or Context Mode Engine

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.