paths module and honor the PRAISONAI_HOME environment variable.
Directory Layout
Global — ~/.praisonai/
User-level configuration and state. Applies across all projects.
| Path | Purpose | Helper |
|---|---|---|
| (root) | Data root | get_data_dir() |
sessions/ | Global sessions | get_sessions_dir() |
skills/ | User skills | get_skills_dir() |
plugins/ | User-installed plugins | get_plugins_dir() |
mcp/ | MCP config | get_mcp_dir() |
mcp-auth.json | MCP auth tokens | get_mcp_auth_path() |
docs/ | Documentation data | get_docs_dir() |
rules/ | Guardrail rules | get_rules_dir() |
permissions/ | Permission data | get_permissions_dir() |
storage/ | Generic storage | get_storage_dir() |
storage.db | Default SQLite DB | get_storage_path() |
config.yaml → schedules | Schedule jobs | get_config_path() |
schedules/ | Legacy scheduler state | get_schedules_dir() |
checkpoints/ | Checkpoint data | get_checkpoints_dir() |
snapshots/ | Autonomy snapshots | get_snapshots_dir() |
learn/ | Learning stores | get_learn_dir() |
cache/ | Disposable cache | get_cache_dir() |
memory/ | Short/long-term DBs | get_memory_dir() |
workflows/ | Workflow data | get_workflows_dir() |
summaries/ | RAG summaries | get_summaries_dir() |
prp/ | PRP output | get_prp_dir() |
runs/ | Run artifacts | get_runs_dir() |
Project-Local — ./.praisonai/
Per-project data in your working directory. Add .praisonai/ to .gitignore.
| Path | Purpose | Helper |
|---|---|---|
| (root) | Project data root | get_project_data_dir() |
sessions/ | Conversation sessions | get_project_sessions_dir() |
knowledge/ | Knowledge base vectors | get_project_knowledge_dir() |
summaries/ | RAG summaries | get_project_summaries_dir() |
prp/ | Context engineering output | get_project_prp_dir() |
Customizing Storage Location
PRAISONAI_HOME Environment Variable
Override the global directory location:
| Scenario | Setting |
|---|---|
| Docker | ENV PRAISONAI_HOME=/app/data |
| Team shared config | export PRAISONAI_HOME=/shared/team/config |
| CI/CD | PRAISONAI_HOME=/tmp/praisonai |
Legacy Migration
If~/.praison/ exists but ~/.praisonai/ doesn’t, PraisonAI uses the legacy path with a deprecation warning:
Python API
All paths resolve through thepaths module:
CLI
Common Patterns
- Solo Developer
- Multiple Projects
- Docker
- Team / CI
Related
Memory
Agent memory storage
Knowledge
Knowledge base management
Session Management
Conversation sessions
Store Types
Storage backend comparison

