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

@rpollard00/pi-materia

v0.1.2

Published

A Pi extension for configurable, materia-themed agent pipelines.

Readme

pi-materia

pi-materia is a Pi extension for configurable, materia-themed agent pipelines.

The current default Materia Grid is:

planner -> builder -> evaluator
                      | passed -> maintainer
                      | failed  -> builder

The planner breaks a high-level request into tasks, the builder implements each task, the evaluator checks the result, and the maintainer can create a VCS checkpoint when the work is accepted.

Current status

pi-materia is early and intentionally small. The current runtime supports the default sequential grid shape above, with configurable roles and prompts. The bundled default loadout uses a jj maintainer role by default.

Phase 2 observability is partially implemented: casts now write structured artifacts, stream a live status widget, track available token/cost usage from subagent events, and expose /materia grid.

Install or run

Install from npm once published:

pi install npm:@rpollard00/pi-materia

For local development, run the extension directly from this repo while working in a target project:

cd /path/to/target-project
pi -e /path/to/pi-materia/src/index.ts

Usage

Inspect the loaded grid/config:

/materia grid

Start a cast:

/materia run implement the next small feature

pi-materia reports the config source, artifact directory, resolved grid, live status, and end-of-run token/cost totals when available.

Configuration

pi-materia resolves its loadout/config in this order:

  1. --materia-config /path/to/config.json
  2. MATERIA_CONFIG=/path/to/config.json
  3. target project .pi/pi-materia.json
  4. bundled default loadout at config/default.json

Example:

pi -e /path/to/pi-materia/src/index.ts --materia-config ./my-loadout.json

Runtime artifacts are written to .pi/pi-materia/<timestamp>/ by default. Override with:

{
  "artifactDir": ".pi/my-materia-runs"
}

Budget limits can be configured:

{
  "budget": {
    "maxTokens": 200000,
    "maxCostUsd": 5,
    "warnAtPercent": 75,
    "stopAtLimit": true
  }
}

Artifacts

Each cast writes enough information to debug the run after the fact:

.pi/pi-materia/<cast-id>/
  config.resolved.json
  events.jsonl
  usage.json
  plan.json
  tasks/<task-id>/build-<attempt>.md
  tasks/<task-id>/eval-<attempt>.json
  maintenance/final.md

Default loadout

The bundled default loadout lives at config/default.json. It includes:

  • planner
  • builder
  • evaluator
  • jjMaintainer
  • gitMaintainer

The default pipeline currently uses jjMaintainer. To use Git instead, copy config/default.json to your target project as .pi/pi-materia.json and change the maintainer slot role from jjMaintainer to gitMaintainer.