Skip to content

Commit b0c3d45

Browse files
committed
docs: document Pi agent integration
1 parent cadd685 commit b0c3d45

2 files changed

Lines changed: 70 additions & 2 deletions

File tree

‎web/content/docs/8-agent-management.md‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,18 @@ To use the `agent open` command, your environment must meet these requirements:
2929

3030
AI DevKit detects active sessions from the following tools:
3131

32-
- **Claude Code**: Automatically detects running `claude` processes and correlates them with your active projects.
33-
- **Codex**: Detects running Codex sessions and exposes the same list, open, send, and detail workflows.
32+
- **[Claude Code](https://www.claude.com/product/claude-code)**: Automatically detects running `claude` processes and correlates them with your active projects.
33+
- **[Codex](https://chatgpt.com/en-SE/features/codex)**: Detects running Codex sessions and exposes the same list, open, send, and detail workflows.
34+
- **[Gemini CLI](https://geminicli.com/)**: Detects running Gemini CLI sessions and exposes them through the same agent management commands.
35+
- **[GitHub Copilot](https://github.com/features/copilot)**: Detects running Copilot coding agent sessions and exposes them through the agent list, detail, and send workflows.
36+
- **[OpenCode](https://opencode.ai/)**: Detects running OpenCode sessions and exposes them through the same agent management commands.
37+
- **[Pi](https://pi.dev/)**: Detects Pi sessions. For more accurate Pi integration, install the [`@ai-devkit/pi-session-tracker`](https://pi.dev/packages/@ai-devkit/pi-session-tracker) package inside Pi:
38+
39+
```bash
40+
pi install npm:@ai-devkit/pi-session-tracker
41+
```
42+
43+
The tracker gives AI DevKit better session information than process detection alone.
3444

3545
## Commands
3646

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: AI DevKit Pi Integration
3+
description: How to improve AI DevKit's Pi session detection with the @ai-devkit/pi-session-tracker package.
4+
order: 12
5+
---
6+
7+
AI DevKit can detect Pi sessions through its agent management system. For the most accurate Pi integration, install the dedicated Pi session tracker package:
8+
9+
```bash
10+
pi install npm:@ai-devkit/pi-session-tracker
11+
```
12+
13+
Package page: https://pi.dev/packages/@ai-devkit/pi-session-tracker
14+
15+
## What does the Pi session tracker do?
16+
17+
`@ai-devkit/pi-session-tracker` helps AI DevKit identify active Pi sessions with better session metadata than process detection alone.
18+
19+
This matters when you use commands such as:
20+
21+
```bash
22+
ai-devkit agent list
23+
ai-devkit agent detail --id <pi-session>
24+
ai-devkit agent send "What are you working on?" --id <pi-session>
25+
```
26+
27+
Without the tracker, AI DevKit may still detect Pi through local processes, but the result can be less precise.
28+
29+
## When should I install it?
30+
31+
Install it if you use Pi with AI DevKit agent management features, especially if you want AI DevKit to more reliably list, inspect, or message your active Pi sessions.
32+
33+
## How do I install it in Pi?
34+
35+
Run this from Pi:
36+
37+
```bash
38+
pi install npm:@ai-devkit/pi-session-tracker
39+
```
40+
41+
After installing, start or restart your Pi session, then check what AI DevKit can see:
42+
43+
```bash
44+
ai-devkit agent list
45+
```
46+
47+
## Does this replace AI DevKit setup?
48+
49+
No. The Pi session tracker improves Pi session visibility for AI DevKit. You should still initialize AI DevKit in your project when you want skills, memory, workflow docs, or other AI DevKit project configuration:
50+
51+
```bash
52+
ai-devkit init
53+
```
54+
55+
## Where can I read more?
56+
57+
- Pi package: https://pi.dev/packages/@ai-devkit/pi-session-tracker
58+
- AI DevKit Agent Management: https://ai-devkit.com/docs/8-agent-management

0 commit comments

Comments
 (0)