Postgres-backed ChatHistoryStore for AgentForge
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentforge_chat_history_postgres-0.2.4.tar.gz.
File metadata
- Download URL: agentforge_chat_history_postgres-0.2.4.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef8a6ae495e7c1efa994979e8c3ca52e34eb19278631e5151d61f9e4bf18e089
|
|
| MD5 |
b5bbce507d6495320dee3803eb67b2ef
|
|
| BLAKE2b-256 |
3e4abf284d3338ac10a113f6ede2d7e7fba30db7a86590e36c579cbe33b07e83
|
File details
Details for the file agentforge_chat_history_postgres-0.2.4-py3-none-any.whl.
File metadata
- Download URL: agentforge_chat_history_postgres-0.2.4-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f14540a7e048944156f0ff561f3e5bc13e14804017a11236aa0a3320eacc736c
|
|
| MD5 |
62d5cb3d31bd97d912b8846ac1d62d0f
|
|
| BLAKE2b-256 |
db337c5616fe87e9c0ea15cc26459f14cdadbb5a45ee07ad530612ae2dc4ee9f
|