---
slug: "pi9-subagent"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/Chase-C/pi9@main/README.md"
repo: "https://github.com/Chase-C/pi9"
source_file: "README.md"
branch: "main"
---
# Pi9

Pi9 is a collection of extensions for the [Pi coding agent](https://github.com/badlogic/pi-mono).

## Packages

- [`@pi9/ask`](https://github.com/Chase-C/pi9/tree/HEAD/packages/ask) — an interactive tool for asking the user focused questions.
- [`@pi9/context`](https://github.com/Chase-C/pi9/tree/HEAD/packages/context) — an inline breakdown of current context-window usage.
- [`@pi9/subagent`](https://github.com/Chase-C/pi9/tree/HEAD/packages/subagent) — retained-conversation, background, and recursive subagents with live progress and tree-wide concurrency limits.
- [`@pi9/todo`](https://github.com/Chase-C/pi9/tree/HEAD/packages/todo) — phased, session-aware task planning with immutable task names and atomic status transitions.
- [`@pi9/whisper`](https://github.com/Chase-C/pi9/tree/HEAD/packages/whisper) — local agent-to-agent communication.

## Development

```bash
npm install
npm run check
npm run build
```

Run a command for one package with npm's workspace flag:

```bash
npm test --workspace @pi9/ask
npm test --workspace @pi9/context
npm test --workspace @pi9/subagent
npm test --workspace @pi9/todo
npm test --workspace @pi9/whisper
```
