Quick Start
From your project root
Start working in any project directory:Project context is automatically detected from the git root or current directory.
Continue tomorrow, from the same folder
Return to the same project to pick up where you left off:Session continuity works seamlessly across days and terminal sessions.
How project detection works
| Where you are | Project ID derived from |
|---|---|
| Inside a git repo | git rev-parse --show-toplevel (the repo root) |
| Outside a git repo | The current working directory |
| The hash itself | First 8 chars of sha256(absolute_path) |
How --continue finds your session
If no previous session exists, a warning is shown and a new session starts automatically.
Common Patterns
Resume after lunch
Pick up exactly where you left off:Branch a session to try something risky
Experiment without affecting the original conversation:One-off question I don’t want remembered
Ask quick questions without cluttering project history:Best Practices
Run from the project root
Run from the project root
Always start
praisonai run from your project’s root directory so the git root is detected correctly. This ensures consistent project identification regardless of your current subdirectory.Use `--fork` instead of mid-conversation branching
Use `--fork` instead of mid-conversation branching
When exploring alternatives, fork the session rather than continuing in the main conversation thread:
Use `--no-save` for throwaway/PII-sensitive prompts
Use `--no-save` for throwaway/PII-sensitive prompts
For quick questions or sensitive information that shouldn’t be stored:
Use `praisonai session list --all` to clean up across projects
Use `praisonai session list --all` to clean up across projects
Periodically review and delete old sessions from all projects:
Related
Run Command
Complete
praisonai run documentation with session flagsSession Management
Session commands and storage backends

