On this page
  1. From inside pi
  2. From the terminal
  3. Share it as a link
  4. What a pi session contains
  5. Privacy
  6. Questions
  7. Does the person I send it to need pi or slink?
  8. Do I need an account?
  9. Does this work in omp?
  10. More guides

How to share a pi coding agent session

For slink 0.9.0 · updated 2026-10-09.

Type /slink view inside pi, or run slink view --from pi in the project, to read a pi session in your browser, then publish it as an end-to-end encrypted link. The session is the transcript pi already keeps: your messages, its answers, the tool calls and their results. Nothing is uploaded until you publish, and the person you send the link to needs only a browser.

From inside pi

The pi extension adds two commands to pi. To read the session you are in:

/slink view

It opens the current session in a local browser preview and returns control to pi. Nothing is uploaded. Choose Share this view in the browser when you are ready.

To publish the session directly:

/slink

It publishes the whole session as an encrypted link and copies the link to your clipboard.

The extension is not on npm yet. Install it from a checkout of the session-link repository with pi install ./packages/pi-extension. It needs slink 0.6.0 or later; Install has the three ways to get it.

From the terminal

slink view --from pi

slink finds the session history pi keeps for this project, under ~/.pi/agent/sessions or the directory PI_CODING_AGENT_DIR names. A session directory set through PI_CODING_AGENT_SESSION_DIR or sessionDir is followed too. It takes a snapshot of the session you choose and opens it in a local web reader. No account is needed.

In the reader, choose Share this view. The panel starts with your message and the agent's answer and shows exactly what will be shared. Add a title and a comment if the reader will need them, then choose Publish link and who can open it: anyone with the link, or up to ten people by email address.

To share one passage and not the whole conversation, select the text in the reader and choose Comment and share. Share in the user guide covers each step.

What a pi session contains

slink is checked against the session format of pi 0.67.68 and 1.0.4. The handoff design lists the evidence and the limits.

Privacy

Privacy and security has the detail.

Questions

No. They open the link in a browser.

Do I need an account?

Only to publish. Reading a session, in pi or from the terminal, needs none. Run slink login once before the first /slink.

Does this work in omp?

slink view --from omp reads oh-my-pi's sessions, which keep pi's transcript format. Whether the pi extension loads in omp is untested.