Metadata-Version: 2.5
Name: strands-storage-postgres
Version: 0.1.0
Summary: PostgreSQL implementation of the Strands Agents Storage interface — durable bytes-under-keys for sessions, context offload, and memory (aka strands-postgres-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,postgres,postgresql,session,sqlalchemy,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-postgres-storage>=0.1.0
Description-Content-Type: text/markdown

# strands-storage-postgres

A **PostgreSQL** 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-postgres
```

```python
from strands_storage_postgres import PostgresStorage

storage = PostgresStorage("postgresql://user:pass@localhost:5432/db")
await storage.write("sessions/abc/state.json", b"...bytes...")
```

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

## License

MIT
