npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@groeponline/pi-agent-orchestrator

v0.18.0

Published

Multi-agent orchestration for Pi: autonomous subagents, worktrees, swarms, schedules, handoffs, prompt compression, and live TUI observability.

Readme

@groeponline/pi-agent-orchestrator

Multi-agent orchestration for the Pi coding agent: autonomous subagents, isolated worktrees, swarms, schedules, structured handoffs, prompt compression, and live terminal observability.

npm version npm downloads CI MIT License

Install or try it immediately

Install globally in Pi:

pi install npm:@groeponline/pi-agent-orchestrator

Try the published package for one session without changing your settings:

pi -e npm:@groeponline/pi-agent-orchestrator

For a project-local install:

pi install npm:@groeponline/pi-agent-orchestrator -l

Requires Node.js 22.19.0 or newer and @earendil-works/pi-coding-agent 0.81.1 or newer. Use pi install; running npm install alone does not register the package resources with Pi.

Why this package

| Capability | What it gives you | | --- | --- | | Autonomous subagents | Explore, Plan, Analysis, general-purpose, and custom agents with bounded execution | | Parallel orchestration | Background groups, swarms, structured handoffs, and controlled concurrency | | Safe isolation | Permission inheritance, partition filtering, budgets, depth limits, and optional git worktrees | | Operator control | Interactive /agents dashboard, live status, steering, termination, schedules, and performance views | | Ready-made workflows | Progressive-disclosure orchestration and Pi TypeScript engineering skills plus audit, plan, and implementation prompt templates | | Local execution | No hosted control plane, no package-owned telemetry backend, and no package-owned data service |

The extension runs inside the Pi host process. It does not make outbound network calls of its own and does not store user data on a hosted service.

Real terminal showcase

The preview is rendered from the compiled dashboard, resource top view, and widget implementation. Remotion supplies the framing and encoding; the terminal content comes from the actual product renderers.

Pi Agent Orchestrator terminal preview

First useful run

Start Pi with the package, then run the packaged audit template:

/orchestra-audit src

Open the control surface while the agents run:

/agents

Useful controls:

  • j / k or arrows: navigate agents
  • Space: multi-select
  • t: resource top view
  • z: daemon schedules
  • Shift+K: terminate selected agents
  • ?: help
  • /perf: performance metrics

The Pi footer can expose live running and queued counts through the subagents status slot.

Packaged skills and Orchestra workflows

The npm package includes three skills and three prompt templates. Pi loads only each skill description into the system prompt; the full workflow is read on demand.

| Command | Use | | --- | --- | | /skill:pi-orchestra | Load the complete evidence-first orchestration operating model | | /skill:pi-typescript-extension-engineering | Engineer and review strict TypeScript across Pi tools, sessions, TUI, persistence, tests, and package boundaries | | /skill:real-product-showcase | Record real terminal, browser, or app demos and check framing plus media gates | | /orchestra-audit [scope] | Run three parallel read-only audits and synthesize ranked findings | | /orchestra-plan <goal> | Gather evidence in parallel and produce a mechanically verifiable plan | | /orchestra-implement <goal> | Discover, plan, implement in one isolated writer, and independently verify |

Install skills into Cursor, Codex, Claude Code, or another Agent Skills-compatible client:

npx skills add https://github.com/GroepOnline/pi-agent-orchestrator --skill real-product-showcase
npx skills add https://github.com/GroepOnline/pi-agent-orchestrator --skill pi-typescript-extension-engineering

The templates deliberately avoid automatic merge, publish, tag, or deploy actions unless those actions are explicitly part of the request.

Built-in agent types

| Type | Mode | Use when | | --- | --- | --- | | Explore | read-only | Parallel codebase discovery and evidence collection | | Plan | read-only | Architecture and implementation planning before edits | | Analysis | read-only + ctx_* | Sandboxed data or compute through optional @onlinechef/context-mode | | general-purpose | full tools | Bounded implementation and multi-step execution |

Create project agents in .pi/agents/*.md. See Custom Agents for the complete frontmatter schema.

Core capabilities

  • Interactive TUI dashboard — agent list, resource top, daemon schedules, performance metrics, help, and settings.
  • Subagent lifecycle — spawn, queue, steer, stop, inspect, and collect structured results.
  • Permission inheritance — children cannot silently regain tools or scopes removed by a parent.
  • Worktree isolation — optional branch and filesystem isolation for implementation agents.
  • Prompt compression profiles — static system-prompt guidance with global defaults and per-agent overrides; this does not compact conversation history.
  • Persistent scheduling — cron, interval, and one-shot jobs with a daemon schedule view.
  • Structured handoffs — machine-readable transfer between agents and chained workflows.
  • Swarm coordination — dynamic membership and coordinated completion.
  • Cross-extension RPC — capability-based integration for trusted peer extensions.

Default orchestration mode is single; multi-agent modes are opt-in.

Documentation

Development

npm ci
npm run setup:hooks   # optional local git hooks
npm run typecheck
npm run lint
npm test
npm run build
npm run verify:package

Cursor Cloud

The repository ships a deterministic Cursor Cloud environment in .cursor/environment.json + .cursor/Dockerfile. The Dockerfile pins Node to the .nvmrc version (node:22.19.0-bookworm) so bare shells use a compliant Node by default; it installs with scripts/cursor-cloud-install.sh and exposes one canonical gate:

npm run verify:cloud   # typecheck + lint + test + build + verify:package + release policy
npm run cloud:smoke    # load the built extension through the real Pi host (no API key)

License

MIT © GroepOnline