0
Fork 0
mirror of https://github.com/mem0ai/mem0.git synced 2026-11-17 19:02:25 +00:00
mem0/integrations/mem0-strands/python
History 2026-09-08 23:32:25 +05:30
..
src/mem0_strands feat(deepseek-plugin,mem0-strands): add usage telemetry (#7110) 2026-08-27 13:48:30 +05:30
tests feat(deepseek-plugin,mem0-strands): add usage telemetry (#7110) 2026-08-27 13:48:30 +05:30
pyproject.toml refactor(integrations): shared agent plugin runtimes and native adapters (#7203) 2026-09-08 23:32:25 +05:30
README.md refactor(integrations): rename dsh-mem0 to deepseek-plugin, strands-mem0 to mem0-strands (#7098) 2026-08-24 19:21:23 +05:30

mem0-strands (Python)

Persistent long-term memory for Strands Agents, backed by Mem0.

See the repository README for full usage. Quick start:

pip install mem0-strands

As a MemoryStore that plugs into the agent loop (Strands >= 1.45):

from strands import Agent
from strands.memory import MemoryManager
from mem0_strands import Mem0MemoryStore

store = Mem0MemoryStore(user_id="alex", writable=True, extraction=True)
agent = Agent(memory_manager=MemoryManager(stores=[store]))

Set MEM0_API_KEY for the hosted platform, or pass config=... for a self-hosted Mem0 OSS backend.

Local development

pip install hatch
hatch run test        # pytest (mocked client, no live server)
hatch run prepare     # format + lint + typecheck + test

Release

Publish a GitHub release tagged mem0-strands-v* (e.g. mem0-strands-v0.1.0). The release router (.github/workflows/release.yml) dispatches mem0-strands-cd.yml, which builds the wheel and publishes it to PyPI via trusted publishing (OIDC).