agentforge-chat-history-postgres
Postgres-backed ChatHistoryStore for AgentForge (feat-020 v0.2).
Sister package to agentforge-memory-postgres.
Drop-in replacement for SqliteChatHistory when chat sessions
need multi-writer concurrency or managed-database guarantees
(Neon / Supabase / RDS / Cloud SQL).
from agentforge_chat_history_postgres import PostgresChatHistory
history = await PostgresChatHistory.from_dsn(
"postgresql://user:pw@host:5432/agentforge"
)
Implements the locked ChatHistoryStore contract from
agentforge-core plus init_schema() that creates the
chat_sessions + chat_turns tables idempotently
(CREATE TABLE IF NOT EXISTS).
Run live integration tests with:
RUN_LIVE_POSTGRES_DSN=postgresql://postgres:test@localhost:5432/postgres \
uv run pytest -m live packages/agentforge-chat-history-postgres/
Metadata
Release files for agentforge-chat-history-postgres 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentforge_chat_history_postgres-0.4.0.tar.gz | 12.9 kB | With provenance | Details for agentforge_chat_history_postgres-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentforge_chat_history_postgres-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for agentforge_chat_history_postgres-0.4.0-py3-none-any.whl |
Total release size: 26.8 kB
Release files / agentforge_chat_history_postgres-0.4.0.tar.gz
| Download URL | agentforge_chat_history_postgres-0.4.0.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36bf3dd21eacb94b70baa2c1cfabd720e8bc577c96688587fd7807b2bbddc275
|
|
BLAKE2b-256 checksum How to use checksums |
d2c9eb1097b7b0bd9b92092b7909269ddc1a454bad32d0bafbdbe6498f040519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logRelease files / agentforge_chat_history_postgres-0.4.0-py3-none-any.whl
| Download URL | agentforge_chat_history_postgres-0.4.0-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ccf1efc20fb24abe9f1d562a7a08cdfd6ac5d9bf8e49f914ef73a5a5c3d2a96
|
|
BLAKE2b-256 checksum How to use checksums |
ad3cc67f15e1a87d5db0cb44c64c12bdb4e5d00ea3e98ff6917bed0587b4c945
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logSecurity for agentforge-chat-history-postgres 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for agentforge_chat_history_postgres-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.