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

@emiliosp/pi-maestro

v0.7.4

Published

A spec-driven multiagent development workflow for Pi.

Readme

pi-maestro

Coverage

Pi extension for a spec-driven multiagent development workflow.

Maestro workflow

The idea

A specification (spec) describes one reversible change. The builder implements it. An independent verifier checks every acceptance criterion. The owner performs the final review.

Four principles hold the workflow together:

  1. The approved spec defines the required work for the builder and verifier.
  2. No agent approves its own work.
  3. Every acceptance criterion is checked independently.
  4. The owner decides requirements, scope, and unresolved questions.

The roles

| Role | Responsibility | |---|---| | Owner | Brings the problem, approves the spec, decides questions and findings, and reviews the final code. | | Maestro | Works directly with the owner, prepares the spec, runs the other agents, records decisions, and summarizes results. | | Builder | Implements the approved spec and checks each acceptance criterion. | | Verifier | Independently checks the project files against the spec and reports technical issues. |

An escalation asks the owner to decide an implementation question. A finding records a technical issue reported by the verifier. The owner discusses both with Maestro, not directly with the builder or verifier.

Prerequisites

  1. macOS.
  2. Node.js 26 or later.
  3. Pi 1.0.0 or later.
  4. pi-subagents installed and enabled in Pi.
  5. Access to the configured builder and verifier models.
  6. A project directory that Pi trusts.

Installation

The owner installs pi-subagents and Maestro with these commands:

pi install npm:pi-subagents
pi install npm:@emiliosp/pi-maestro

Usage

The owner starts Pi from the project directory:

cd /path/to/project
pi

Activate Maestro:

/maestro

During activation, Maestro checks project trust, configuration, models, and agent availability. If a check fails, Maestro stays disabled and reports the problem.

The owner follows this workflow:

  1. Describes one change to Maestro.
  2. Reviews the spec, including its acceptance criteria and concrete examples.
  3. Replies GREEN FLAG when Maestro asks for approval. Maestro records the approval and starts the builder.
  4. Reviews every current builder escalation and gives Maestro an answer and reason for each question.
  5. Reviews verifier findings and chooses an action for every finding.
  6. Reads Maestro's summary at candidate-ready and performs the final review.

Maestro starts the verifier after a successful builder run. Both agents run in the foreground: Pi waits for each run to finish and Maestro shows the current phase in Pi's status, while pi-subagents FleetView and /subagents-fleet show agent activity and transcripts.

The owner must not edit product files while the workflow runs. Maestro can perform temporary experiments with owner agreement during spec preparation and permitted revisions. See Workflow.

An escalation asks the owner to decide an implementation question, and a finding records a technical issue reported by the verifier. The owner discusses both with Maestro, never directly with the builder or verifier. If a spec change is needed during an escalation or finding decision, the owner reviews the revised spec and replies GREEN FLAG again. Maestro then starts another builder run.

The workflow ends at candidate-ready. Rejected findings retain their reasons. Later changes are outside the completed verification. The owner controls any later Git use, pull request, and merge.

The same /maestro command disables Maestro and leaves project files unchanged. Disabling Maestro, restarting Pi, or using /resume clears live session state. Saved files do not automatically restore or resume an incomplete workflow. The owner handles it manually.

Configuration

Maestro uses default values when .pi/maestro.json is absent from the project root. The owner can add this file to change the spec directory, models, thinking levels, or timeouts. See Configuration.

Documentation

The reading order is:

  1. Glossary: terms and identifiers used in specs, reports, and Maestro messages. Read this before the first workflow.
  2. Workflow: approvals, decisions, and how each run produces artifacts.
  3. Configuration: project paths, models, and timeouts.
  4. Subagent integration: agent context, execution, and activity tracking.

Project constitution

  1. Mission: purpose, scope, and owner responsibilities.
  2. Tech stack: runtime technologies and development tools.
  3. Roadmap: completed outcomes and planned priorities.
  4. Changelog: meaningful codebase changes and breaking changes.
  5. Design decisions: recorded choices, reasons, alternatives, and constraints.