PostgreSQL
PostgreSQL is the recommended production database for conversation persistence.Installation
Docker Setup
Quick Start
Connection String Format
If you use structured configuration (
memory={"host": "...", "user": "...", "password": "..."}) or the PostgresDB(host=..., user=..., password=...) constructor, credentials are URL-encoded for you. Only escape yourself when passing a raw postgresql://... URL string.Environment Variables
CLI
Schema
Tables are auto-created:praison_sessions- Session metadatapraison_messages- Conversation messages
Troubleshooting
Connection refused:- Verify username/password
- Check
pg_hba.conffor connection rules

