Who it is forA developer who has used Pi in a terminal and now wants to pick up old coding sessions for a project.
The problemPast Pi sessions are hard to find and reopen when they are buried in terminal history or session files.
The outcomeThe user sees their projects in the app, opens a past session, and continues the conversation with the agent.
What you need first
- A supported machine: Apple Silicon Mac on macOS 11 or later, Windows 10/11 x64, or Linux x64 with WebKitGTK 4.1 and GTK 3
- Pi sessions or Pi model keys on this machine (optional, only needed to see existing history)
- For the proxy use case: Node.js 22 and npm, plus a running HTTP proxy address
Steps
- Open the releases page at https://github.com/abcwyc/pi-agent-desktop/releases and download the Apple Silicon
aarch64.dmg, the Linux.deb, or the Windowsx64-setup.exe. - Install the app. On macOS, drag Pi Agent into Applications.
- If macOS blocks the first launch, run
xattr -dr com.apple.quarantine "/Applications/Pi Agent.app"and open the app again. - Open Pi Agent and select your project in the sidebar to see its past sessions.
- Open the session you want and send a new message to continue it.
Prompt for your agent
Using the abcwyc/pi-agent-desktop README, explain how to locate and resume a past Pi session for the project at <project-path>. Expected output: the session name and date the user should open. Verify that Pi reads sessions from ~/.pi/agent/ before reporting success.
Caveat. The app reads Pi's local data directory by default, so sessions created on another machine will not appear unless their files are copied into ~/.pi/agent/ or PI_CODING_AGENT_DIR points there.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for abcwyc/pi-agent-desktop and "Resume past Pi coding sessions from a desktop window"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer