Skip to main content

Pi

Pi gets a skill and an auto-discovered extension. The extension rewrites the search command with the session, the call, the assistant text that led to the search and the compaction count, all read back from the session Pi saved, so a resumed session keeps its place in the trace.

Install​

Setup finds Pi when pi is on PATH.

jevlin setup # sets up every agent it finds
jevlin setup -with pi # found or not
jevlin agents install -client pi # later, without the rest of setup

Restart Pi if it was already open.

What is written​

pathwhat
~/.pi/agent/skills/jevlin/The skill, rendered for your OS and shell.
~/.pi/agent/extensions/jevlin.tsThe extension. Pi discovers it on its own.

Use it​

Ask Pi anything that needs the web, or be explicit:

/jevlin what changed in Vite 7's rollup migration

/jevlin off, /jevlin on, /jevlin status and /jevlin tier <tier> work as in every agent with the skill. Pi runs Bash everywhere, Git Bash on Windows. See Search from your agent.

What to know​

A resumed session keeps its place. The extension reads the session branch Pi persisted, not an in-memory counter, so the compaction count and the assistant text are right after a resume, a restart or a fork.

Observer, never an authority. The extension only attaches a trace to a command Pi has already decided to run. Any failure leaves the command untouched and the search runs with its per-shell trace instead.

The turn end. A turn is named by the id Pi saved for the message you wrote: two searches under one prompt share it, and a fork is a session of its own. Pi can run several loops for one prompt, retrying a failed request or continuing after it compacts; the turn end waits for agent_settled, which comes once, after the last of them. With [search] turn_end = true, a turn that searched is reported with the same content as opencode's: what you asked, the assistant's text along the way, each tool's name, duration and outcome, the final answer, the model and its token counts. See The turn end.

At a session's start the extension also starts the daily release check, as Claude Code's session-start hook does. It pipes nothing to that process and reads nothing back. See Upgrading.

Known limits​

  • The turn end needs Pi 0.80.4 or later, the first to report a settled run. Searches are unaffected.
  • Before Pi 1.1.0, which reports whether a run was aborted, a turn is reported as interrupted only when its last answer says so.
  • A run an extension starts with a message of its own belongs to your last message: its searches share that turn, which has by then been reported, and are joined to no turn end.

Remove​

jevlin agents uninstall -client pi

Removes the skill and the extension. See Removing and coming back.