> ## Documentation Index
> Fetch the complete documentation index at: https://docs.entire.com/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.

Follow [Set Up an Agent](/agents/setup.md) 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.

[Enable Entire for Pi](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)

## 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.
