Skip to main content

strands-sql-session-manager

SQL (SQLAlchemy) session manager for Strands Agents — durably persists sessions, agent state, and messages so conversations resume across runs. Works with any SQLAlchemy-supported database (PostgreSQL, MySQL, SQLite, …).

pip install strands-sql-session-manager
from strands import Agent
from strands_sql_session_manager import SQLSessionManager

session = SQLSessionManager(session_id="user-123", url="postgresql://user:pass@localhost/db")
agent = Agent(session_manager=session)

This is the catalog-named distribution of strands-session-sql; both install the same SQL session manager. Part of the strands-agents-session family.

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

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_sql_session_manager-0.2.0.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

strands_sql_session_manager-0.2.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for strands_sql_session_manager-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6a2055af96765c3d29eea36164afe94abc2e2f614713e0621fbc1dfdb0a4c1ee
MD5 1f7792de577f60868af896eb96e17e60
BLAKE2b-256 7ee79a7704781f20033259ac570671abb825a094cb9103b51916eae5f2b8d7e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for strands_sql_session_manager-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c8b35606f15e55bd4b879a1147018041eebf57e24201b4b6f704b0db3272d64
MD5 0d260dc2c0ca3e163b70566d77d820f1
BLAKE2b-256 db8f189cbfb249597c82e676e83b9ac57de25f58d069ca90f936a5ae66d0bcb8

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