Metadata-Version: 2.4
Name: agentledger-postgres
Version: 1.2.0
Summary: Postgres StateStore adapter package for AgentLedger
Project-URL: Homepage, https://github.com/yaogdu/AgentLedger
Project-URL: Repository, https://github.com/yaogdu/AgentLedger
Project-URL: Documentation, https://github.com/yaogdu/AgentLedger/tree/main/docs
Project-URL: Issues, https://github.com/yaogdu/AgentLedger/issues
Author: AgentLedger Contributors
License: Apache-2.0
Keywords: agents,postgres,runtime,state-store
Requires-Python: >=3.11
Requires-Dist: agentledger-runtime<2,>=1.2
Requires-Dist: psycopg[binary]>=3.1
Description-Content-Type: text/markdown

# agentledger-postgres

Postgres StateStore adapter package for AgentLedger.

```bash
pip install agentledger-postgres
pip install "agentledger-runtime[postgres]"
```

```python
from agentledger_postgres import PostgresStore, PostgresStoreConfig

store = PostgresStore(PostgresStoreConfig.from_env())
store.init()
```

This package keeps the runtime core dependency-light while making Postgres an explicit opt-in. It re-exports the stable adapter classes from `agentledger.storage_postgres` in the `1.2.x` line.

Certification:

```bash
python3 -m agentledger adapter certify --kind postgres --adapter-version 1.2.0
```

