# Differences from Pi

pic does what Pi does. Where it does something differently, or leaves something out, it is listed
here.

## Sessions and state

- A session is a conversation in the journal, not a file; `pic export --pi` writes Pi session lines
  when you need them.
- pic has no extensions and no subscription login.
- There is no `--resume` or `-r`: continue the latest conversation with `-c`, another with
  `--session ID`, or pick one with `/resume` in the terminal interface.
- `/import` and `pic import` keep the text of a Pi session's messages, not its tool calls, images or
  other entries.
- Settings are pic's own, in `~/.pic/pic.sqlite`; there are no project-level settings files.

## Tools

- `write` replaces a file unconditionally in Pi. In pic it is refused once, with the file's current
  text, when another conversation running in the same project changed the file after this one last
  saw it; writing again replaces it ([tools](tools.md#a-file-another-conversation-changed)). It
  cannot happen with one conversation at a time.

## Modes

- `--mode json` is refused: pic's JSON events come with `--json`. `--mode rpc` is the only mode
  besides the default.
- pic has no MCP client: no `/mcp` and no `pi mcp`.

## RPC mode

Where pic differs: a session is a conversation in the journal, so `sessionFile` is left out,
`switch_session` takes a conversation id (or a file `pic export --pi` wrote) as `sessionPath`, and
`get_entries` and `get_tree` cover the conversation's own path; a model or thinking change applies
from the next request; `set_auto_retry` is saved as Pi's `retry.enabled`, which only RPC mode reads.
pic has no extensions or subscription login, so `extension_ui_response`, `login` and `logout` are
answered with an error that says so.

## The terminal interface

- Images are attached and sent, but not drawn inline in the transcript.
- Some default keys are Claude Code's rather than Pi's; [the key reference](../reference/keys.md)
  lists them with the reasons.
- pic warns about a key two actions claim; Pi detects the conflict but shows no message.
- Transcript search edits the query at its end only, its arrows are not clickable, and case folding
  covers ASCII, Latin, Greek and Cyrillic ([the terminal
  interface](tui.md#transcript-search-fullscreen)).
- pic does not generate Pi's terminal-palette `system` theme ([themes](themes.md)).
- `system` and `light/dark` ask the terminal for its background colour before falling back to Pi's
  `COLORFGBG` rule ([themes](themes.md)).
- When a reply is ready and the window is not focused, pic rings the bell and asks for a desktop
  notification; Pi sends neither ([the terminal interface](tui.md#when-a-reply-is-ready)).

## Benchmarks

- Trial labels have no place on a message in Pi's session format, so the Pi export leaves them out
  ([benchmarks](benchmarks.md)).
