Metadata-Version: 2.5
Name: strands-mongodb-session-manager
Version: 0.2.0
Summary: MongoDB session manager for Strands Agents — persists sessions, agent state, and messages
Project-URL: Homepage, https://github.com/skamalj/strands-agents-session
Project-URL: Repository, https://github.com/skamalj/strands-agents-session.git
Project-URL: Documentation, https://skamalj.github.io/agentstate-reducer/strands/providers/mongodb/
Author-email: Kamal <skamalj@github.com>
Keywords: agent-state,memory,mongodb,persistence,session,session-manager,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-session-mongodb>=0.2.0
Description-Content-Type: text/markdown

# strands-mongodb-session-manager

**MongoDB** session manager for [Strands Agents](https://strandsagents.com) — durably persists sessions, agent state, and messages so conversations resume across runs.

```bash
pip install strands-mongodb-session-manager
```

```python
from strands import Agent
from strands_mongodb_session_manager import MongoDBSessionManager

session = MongoDBSessionManager(session_id="user-123", connection_string="mongodb://localhost:27017")
agent = Agent(session_manager=session)
```

> This is the catalog-named distribution of [`strands-session-mongodb`](https://pypi.org/project/strands-session-mongodb/); both install the same MongoDB session manager. Part of the [strands-agents-session](https://github.com/skamalj/strands-agents-session) family.

📖 **Docs:** https://skamalj.github.io/agentstate-reducer/strands/providers/mongodb/

## License

MIT
