Metadata-Version: 2.5
Name: mem0-strands
Version: 0.1.0
Summary: Persistent long-term memory for Strands agents, backed by Mem0.
Project-URL: Homepage, https://mem0.ai
Project-URL: Documentation, https://github.com/mem0ai/mem0/tree/main/integrations/mem0-strands#readme
Project-URL: Repository, https://github.com/mem0ai/mem0
Project-URL: Issues, https://github.com/mem0ai/mem0/issues
Author-email: Mem0 <founders@mem0.ai>
License-Expression: Apache-2.0
Keywords: agents,ai,mem0,memory,personalization,strands,strands-agents,vector-search
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: mem0ai>=2.0.11
Requires-Dist: strands-agents>=1.45.0
Provides-Extra: dev
Requires-Dist: hatch; extra == 'dev'
Requires-Dist: mypy<2.0.0,>=1.15.0; extra == 'dev'
Requires-Dist: pytest-asyncio<1.0.0,>=0.25.0; extra == 'dev'
Requires-Dist: pytest<9.0.0,>=8.0.0; extra == 'dev'
Requires-Dist: ruff<1.0.0,>=0.11.0; extra == 'dev'
Description-Content-Type: text/markdown

# mem0-strands (Python)

Persistent long-term memory for [Strands Agents](https://github.com/strands-agents/sdk-python),
backed by [Mem0](https://mem0.ai).

See the [repository README](../README.md) for full usage. Quick start:

```bash
pip install mem0-strands
```

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

```python
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

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