A collection of pi coding agent extensions, packaged for pi install.
| Package | Description | Version |
|---|---|---|
| @pi-lab/openai | Image generation, ChatGPT Fast controls and native Web Search | |
| @pi-lab/permissions | Permission system — enforce allow / deny / ask rules on tool calls | |
| @pi-lab/webfetch | Fetch URLs as clean Markdown with X/Twitter and Reddit optimizations | |
| @pi-lab/websearch | Search the web with Exa, Parallel, or TinyFish | |
| @pi-lab/env | Load .env into pi sessions |
|
| @pi-lab/input-history | ↑ recalls inputs across all sessions in the same project |
|
| @pi-lab/notify | Desktop notifications | |
| @pi-lab/subagent | A minimal synchronous subagent |
These packages are no longer maintained and are retained for reference. No further updates or fixes are planned.
| Package | Reason | Version |
|---|---|---|
| @pi-lab/ssm-env | No longer maintained. | |
| @pi-lab/codex-image | Deprecated in favor of @pi-lab/openai. | |
| @pi-lab/grok-build | Just using the Grok CLI directly. | |
| @pi-lab/xsearch | Parallel and TinyFish can find some X posts; for more time-sensitive searches, use Grok directly. |
Each package can be installed individually:
pi install npm:@pi-lab/permissionsOr pin to a git ref:
pi install git:github.com/anthod0/pi-lab@mainpnpm install
# type-check all packages
pnpm typecheck
# test an extension locally without installing
pi -e ./packages/<name>/src/index.ts
For packages that publish compiled output:
cd packages/<name>
pnpm build
pi -e ./dist/index.mjsopenai and websearch publish src/index.ts directly. Their build scripts only type-check; they do not produce dist files. Each package uses standard bundledDependencies to include the private @pi-lab/utils TypeScript source, so utils is maintained once but never needs a separate npm release. Tests are excluded from both the extension and bundled utils.
The workspace uses nodeLinker: hoisted, which pnpm requires for this packaging mode. Run pnpm install after updating the workspace configuration; installation and packing must use the same layout. Pi's host packages remain peer dependencies and are not bundled. The release workflow skips private packages.
Packaging regression tests pack both source extensions, install their tarballs offline outside the workspace, and load them through Pi:
pnpm --filter @pi-lab/websearch test