Skip to main content

SQLite

SQLite is the simplest option for local development and testing.

Installation

Quick Start

File Path Options

Environment Variables

CLI

When to Use SQLite

Good for:
  • Local development
  • Testing
  • Single-user applications
  • Prototyping
Not recommended for:
  • Production multi-user apps
  • High concurrency
  • Distributed systems

Storage Backend (Advanced)

For training data, sessions, and general persistence, use the SQLiteBackend:

CLI Usage

See Storage Backends for more details.

Troubleshooting

File permissions:
Database locked:
  • SQLite only allows one writer at a time
  • Use PostgreSQL for concurrent access