Pelican Docs

Reference

How it works

What runs where, and how Pelican follows and continues your sessions.

Your phone talks to the Pelican server on your computer, which runs Claude Code through the Agent SDK and reads the transcripts in ~/.claude that every Claude Code app writes
  1. The web app talks to the server over REST and a WebSocket, which carries Claude’s reply as it is written, permission requests and status changes. Each terminal has a WebSocket of its own, for its output and your keys; the server keeps a copy of its screen to show a page that comes back.
  2. To run a turn, the server starts Claude Code with the Agent SDK, resuming the session, and passes your approvals back. An idle process closes after a while; the next message resumes the session.
  3. Everything else comes from Claude Code’s own files. The transcripts in ~/.claude/projects, read incrementally and across compactions, give each session’s history, whichever app wrote it; they are followed while anyone watches. The process registry in ~/.claude/sessions tells which sessions another app is running, and whether they are working or waiting for you.