Metadata-Version: 2.5
Name: strands-storage-mongodb
Version: 0.1.0
Summary: MongoDB implementation of the Strands Agents Storage interface — durable bytes-under-keys for sessions, context offload, and memory (aka strands-mongodb-storage)
Project-URL: Homepage, https://github.com/skamalj/strands-agents-session
Project-URL: Repository, https://github.com/skamalj/strands-agents-session.git
Author-email: Kamal <skamalj@gmail.com>
Keywords: context-offload,memory,mongodb,session,storage,strands,strands-agents
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: strands-mongodb-storage>=0.1.0
Description-Content-Type: text/markdown

# strands-storage-mongodb

A **MongoDB** implementation of the [Strands Agents](https://strandsagents.com) unified `Storage` interface — durable bytes-under-string-keys for session snapshots, context offloading, memory stores, and anything that consumes `strands.storage.Storage`.

```bash
pip install strands-storage-mongodb
```

```python
from strands_storage_mongodb import MongoDBStorage

storage = MongoDBStorage("mongodb://localhost:27017")
await storage.write("sessions/abc/state.json", b"...bytes...")
```

> This is an alternate distribution name for [`strands-mongodb-storage`](https://pypi.org/project/strands-mongodb-storage/); both install the same MongoDB `Storage` backend. Part of the [strands-agents-session](https://github.com/skamalj/strands-agents-session) family.

## License

MIT
