Skip to main content

Persistence Quickstart

Enable automatic conversation persistence with memory configuration.

Installation

Docker Setup

Basic Usage

SQLite (Zero Config)

Backend Options

Environment Variables

CLI Usage

Continue a Session from the CLI

praisonai session resume restores chat history, model, and agent name — then optionally continues with a new prompt:

Serverless Database Tuning

For serverless databases that may experience cold starts, tune the retry parameters:
Supported serverless platforms with auto-retry:
  • PlanetScale: .psdb.cloud hosts (exponential backoff)
  • Neon: .neon.tech hosts
  • CockroachDB: .cockroachlabs.cloud, .cockroachlabs.com
  • Supabase: .supabase.com, .supabase.co
  • Xata: .xata.sh

Next Steps