Where each harness keeps the record of past sessions, how to get back into one, and how to keep, export or remove them. Every record type and field inside a transcript is on the Transcript format page. Automatic notes carried between sessions are on the Memories page.
What is saved
| Question | pichecked at 1.5.2 |
|---|---|
| Where sessions are saved | Each session is one file at
Run |
| Subagent and forked sessions | Partly Pi has no built-in subagents. Third-party subagent extensions can save child sessions any way they like. |
| Prompt history | Pi doesn't keep a separate prompt-history file. Up-arrow recall ( Prompts sent with |
Getting back to a session
| Question | pichecked at 1.5.2 |
|---|---|
| Resume or continue | Run If Pi 1.3.0 restores the active tool selection from the session. --tools +name/-name modifies that restored selection; explicit tool lists, --no-tools or --no-builtin-tools override it. |
| Find a past session |
Session files are plain JSONL, so |
| Export or share |
Exports and shares can contain prompts, command output, file contents and any credentials that appeared in the conversation. Review them before sharing. Since 1.3.0, sessionShareDestination selects auto (default: Radius when authenticated, otherwise gist), gist (always GitHub), or radius (requires Radius authentication, with no gist fallback). |
| Read sessions from code | The SDK ( You can also parse the JSONL files directly; |
Keeping and removing
| Question | pichecked at 1.5.2 |
|---|---|
| How long they are kept | Pi keeps sessions until you delete them; there's no automatic expiry or retention setting. Delete a session by removing its You can't delete the session that's currently open from the picker. A session file is only created once the session has a user or assistant message, so opening and closing Pi without chatting leaves no file. |
| Don't save this session | Start Pi with There's no setting that turns persistence off for every run; pass the flag (or a shell alias) each time.
|
| Cloud sync and upload | Sessions stay on local disk and aren't synced to any cloud or other device. They only leave your machine when you run
Since 1.3.0, sessionShareDestination selects auto (default: Radius when authenticated, otherwise gist), gist (always GitHub), or radius (requires Radius authentication, with no gist fallback). |
Notes and sources
pi, 24 sources
- 2026-11-15 source refresh: v1.5.2 at b4afdddf44e059c67ccf5097e5317d913521b470. Source inspection, not a harness runtime probe. Historical supplements keep their independent evidence and dates.