MemorySync
Official SDK

Strands Agents + MemorySync

A MemoryStore with automatic recall before every model call, turn-by-turn extraction, and a crash-proof lifecycle — zero framework dependencies.

Overview

Install strands-memorysync and Strands agents get automatic long-term memory: the MemoryManager consults MemorySyncStore before every model call (real injection — not the tool-gated recall of the official Mem0 strands tool, where a distracted model simply skips memory), and conversation turns persist through the extraction sink with deterministic idempotency seeds. Because MemorySync’s writes are cheap and idempotent, turn-by-turn extraction is safe and recommended — memories are recallable from the first exchange, where zep-strands batches five turns before anything is stored. The lifecycle is crash-proof by design: initialize() deliberately makes no network calls (zep-strands 0.1.0 shipped an event-loop binding crash there), search fails open under a hard 1.2s budget instead of surfacing AggregateMemoryError into application code, and the model-facing tools are search and save only — no delete, so a prompt injection cannot wipe a user’s memories (the official Mem0 tool exposes one). Zero framework dependencies: the store duck-types the MemoryStore Protocol, so it can never version-conflict with your Strands release.

Setup status and requirements

Supported version
strands-memorysync 1.0.0 (PyPI)
Last setup review
2026-08-24
Permissions
A MemorySync API key with read and write scopes.
Limits
Requires a strands-agents release with the MemoryManager seam (2026+, Python 3.10+). The store itself has no framework dependency.
Open setup documentation →

Capabilities

Quick Start

from strands import Agent
from strands.memory import MemoryManager
from strands_memorysync import MemorySyncStore
store = MemorySyncStore(
api_key="ms_...",
user_id="customer-42",
session_id="support",
)
agent = Agent(
memory_manager=MemoryManager(stores=[store]),
)
agent("which seat should I book?")

Use Cases

AWS-stack agents with portable, cloud-agnostic memory

Replacing tool-gated Mem0 recall with real automatic injection

Multi-store setups pairing MemorySync with Bedrock Knowledge Bases

Explore More

Built for production AI systems

Build AI systems that remember

MemorySync provides the infrastructure layer for persistent memory, adaptive retrieval, and enterprise AI intelligence.

Start free. No credit card required.