Skip to main content

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).

Metadata

Release files for mem0-strands 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mem0-strands 0.1.1
File Size Uploaded Provenance Actions
mem0_strands-0.1.1.tar.gz 14.2 kB With provenance Details for mem0_strands-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mem0-strands 0.1.1
File Interpreter ABI Platform Actions
mem0_strands-0.1.1-py3-none-any.whl Python 3 none any Details for mem0_strands-0.1.1-py3-none-any.whl

Total release size: 25.2 kB

Release files / mem0_strands-0.1.1.tar.gz

Download URL mem0_strands-0.1.1.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
021144eafc4befd355cab9e2996416d02ba07945d89d3783ce84d9a306f75a26
BLAKE2b-256 checksum
How to use checksums
c48c16dbdb67a15c6766415ccda795296f4fb1b9d9b317528786a91b7480d47e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / mem0_strands-0.1.1-py3-none-any.whl

Download URL mem0_strands-0.1.1-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbf19d8763b7165695679ef4086b1f8d4516ec2e5c8bc7133e1cbb4837c7f8c2
BLAKE2b-256 checksum
How to use checksums
ff976cf09951182bdd95ab1281802d739eb3c379fc4db932bbc94038a361dc6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Security for mem0-strands 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mem0_strands-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page