Metadata-Version: 2.5
Name: strands-sql-session-manager
Version: 0.2.0
Summary: SQL (SQLAlchemy) 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/sql/
Author-email: Kamal <skamalj@github.com>
Keywords: agent-state,memory,mysql,persistence,postgresql,session,session-manager,sql,sqlalchemy,sqlite,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-sql>=0.2.0
Description-Content-Type: text/markdown

# strands-sql-session-manager

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

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

```python
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`](https://pypi.org/project/strands-session-sql/); both install the same SQL 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/sql/

## License

MIT
