Pi Subagents
An AI agent extension for pi that coordinates parallel coding tasks, supports Claude Code-compatible workflows, and resumes saved sessions.

Pi Subagents is an extension for developers who want to divide coding work among specialized AI agents in pi. Agents run in separate sessions, so you can assign distinct roles and follow their progress individually.
- Parallel agents: Run tasks concurrently in the background by default, with automatic queuing and completion notifications, and give each agent its own model, prompt and tool permissions.
- Live oversight: FleetView and a status widget show activity and token usage, while the conversation viewer lets you read full exchanges, redirect running agents or stop them.
- Scripted workflows: Coordinate repeatable parallel jobs and pipelines in JavaScript, reuse scripts written for Claude Code's Workflow tool unchanged, and check agent output with commands such as a test suite.
- Isolated coding work: Optional Git worktrees give agents separate repository copies and automatically commit their changes to branches when they finish.
- Continuing work: Resume conversations saved on disk and retain agent memory across project, machine or user scopes; agents without write tools can read memory but can't change it.
Custom roles can preload skills and restrict tools. Optional nested delegation lets an agent manage its allowed children. Scheduled agents support recurring or one-time tasks, but schedules belong to a pi session and reset when you start a new one.
The extension is open source under the MIT license and is developed and tested for pi. Independently maintained adapters for other hosts aren't tested by this project.