Skip to main content
PraisonAI uses two directories to organize data: a global directory in your home folder and a project-local directory in your working directory. All paths resolve through a single paths module and honor the PRAISONAI_HOME environment variable.

Directory Layout

Global — ~/.praisonai/

User-level configuration and state. Applies across all projects.

Project-Local — ./.praisonai/

Per-project data in your working directory. Add .praisonai/ to .gitignore.

Customizing Storage Location

PRAISONAI_HOME Environment Variable

Override the global directory location:
Project-local paths (./.praisonai/) are always relative to the current working directory and are not affected by PRAISONAI_HOME.

Legacy Migration

If ~/.praison/ exists but ~/.praisonai/ doesn’t, PraisonAI uses the legacy path with a deprecation warning:

Python API

All paths resolve through the paths module:
If you’re building a plugin or extension, always use these helpers instead of hardcoding paths. They respect PRAISONAI_HOME and ensure consistent directory creation.

CLI

Example output:

Common Patterns


Memory

Agent memory storage

Knowledge

Knowledge base management

Session Management

Conversation sessions

Store Types

Storage backend comparison