Skip to main content

AI DevKit Pi Integration

How to improve AI DevKit's Pi session detection with the @ai-devkit/pi-session-tracker package.

AI DevKit can detect Pi sessions through its agent management system. For the most accurate Pi integration, install the dedicated Pi session tracker package:

pi install npm:@ai-devkit/pi-session-tracker

Package page: https://pi.dev/packages/@ai-devkit/pi-session-tracker

#

What does the Pi session tracker do?

@ai-devkit/pi-session-tracker helps AI DevKit identify active Pi sessions with better session metadata than process detection alone.

This matters when you use commands such as:

ai-devkit agent list
ai-devkit agent detail --id <pi-session>
ai-devkit agent send "What are you working on?" --id <pi-session>

Without the tracker, AI DevKit may still detect Pi through local processes, but the result can be less precise.

#

When should I install it?

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.

#

How do I install it in Pi?

Run this from Pi:

pi install npm:@ai-devkit/pi-session-tracker

After installing, start or restart your Pi session, then check what AI DevKit can see:

ai-devkit agent list
#

Does this replace AI DevKit setup?

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:

ai-devkit init
#

Where can I read more?

More FAQ Topics

Explore related AI DevKit questions and topics.