transcript high
The Pi coding agent auto-saves tree-structured JSONL sessions under ~/.pi/agent/sessions (this is the CLI agent, not the Inflection chatbot).
Where it lives
- all
~/.pi/agent/sessionsdir
What you can do
- Set PI_CODING_AGENT_DIR to relocate the store, or prune ~/.pi/agent/sessions.
Source: github.com
config with secrets high
Pi stores OAuth access/refresh tokens and any saved API keys in ~/.pi/agent/auth.json.
Where it lives
- all
~/.pi/agent/auth.json
What you can do
- Restrict permissions on ~/.pi and keep it off cloud sync.
Source: github.com
This describes where Pi stores data. Metadata only, never your content. Confidence: likely. Spot a mistake? Tell us.