Skip to main content

strands-mongodb-session-manager

MongoDB session manager for Strands Agents — durably persists sessions, agent state, and messages so conversations resume across runs.

pip install strands-mongodb-session-manager
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; both install the same MongoDB session manager. Part of the strands-agents-session family.

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

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strands_mongodb_session_manager-0.2.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file strands_mongodb_session_manager-0.2.0.tar.gz.

File metadata

File hashes

Hashes for strands_mongodb_session_manager-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d44c00531bc0bb90c56942ee1f72d1decc6b8f0f90d5aaf75bec9732c677c08d
MD5 f748cc28e40c85a3eb600d1bde13ace3
BLAKE2b-256 a162135e289e3b4386d44a07113a76e8691c0e07b8e3c444b171193ba4f45ad6

See more details on using hashes here.

File details

Details for the file strands_mongodb_session_manager-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for strands_mongodb_session_manager-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d03f89e3f9c5edc4867fdac31f0142c15219f46824184a6f6c6e2de05d592e90
MD5 2c03978ee14292bcf9363a5cd21006ae
BLAKE2b-256 684e8564ac4b89d0df1e3ed205cf0b863422eae01b4721d7e82cc17239faac84

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

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