> ## Documentation Index
> Fetch the complete documentation index at: https://docs.entire.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Pi

> Capture Pi transcripts, file changes, tool calls, and token usage with Entire

The Pi integration uses a project-level TypeScript extension and is in preview.

Follow [Set Up an Agent](/agents/setup) for shared installation, verification, and troubleshooting steps.

## Add Pi

```bash theme={null}
entire agent add pi
pi
```

Entire writes `.pi/extensions/entire/index.ts`. The extension captures session boundaries, prompts, and completed turns. Entire reads the full conversation, file changes, tool calls, and token usage from Pi's JSONL transcript.

<div style={{ position: 'relative', paddingTop: '64.51612903225806%', width: '100%', overflow: 'hidden', borderRadius: '0.5rem' }}>
  <iframe src="https://customer-0x5hsk8lh27fm00g.cloudflarestream.com/89f76783a7be608b7c7c646d8dd9ea1f/iframe?loop=true&autoplay=true&poster=https%3A%2F%2Fcustomer-0x5hsk8lh27fm00g.cloudflarestream.com%2F89f76783a7be608b7c7c646d8dd9ea1f%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D%26height%3D600" title="Enable Entire for Pi" loading="lazy" style={{ border: 'none', position: 'absolute', top: 0, left: 0, height: '100%', width: '100%' }} allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture" allowFullScreen />
</div>

## Limitations

Pi does not expose a subagent transcript tree. Entire captures the main session. Pi's `write` and `edit` tools provide file paths in the transcript; files changed through shell commands remain visible in the Git diff but may not appear as transcript tool edits.

## Resume and Import

`entire session resume BRANCH` restores the recorded session data when needed and prints:

```bash theme={null}
pi --session SESSION_ID
```

Entire can import existing Pi transcripts from the previous 30 days as read-only checkpoints.

See the [`session resume` command reference](/cli-reference/session#session-resume) for flags and additional behavior.
