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

pi-agent-ide

v0.1.1

Published

Agent-facing tools for reading, searching, and editing code in Pi.

Readme

Status

Pi Agent IDE is experimental and under active development. It is used in real work, but bugs and rough edges are still being found and fixed. Interfaces and behavior may change.

The current focus is measurement. The project is being compared with vanilla Pi on evals and editing gyms to understand where its tools improve results or reduce tool use and token use. Some workflows already benefit from the tools; others become harder. Until the data is stronger, treat performance claims as unproven and use the package at your own risk.

What it does

Pi Agent IDE provides a small set of tools with more specialized behavior behind them:

  • read handles files, web pages, images, PDFs, code views, and diagnostics;
  • search routes text, structural, semantic, and web searches;
  • write, replace, insert, delete, copy, and move cover common text mutations; range-based edits can target snapshot and semantic anchors instead of reproducing the oldText block required by Pi's built-in edit tool;
  • optional plugins add AST, LSP, formatting, linting, and Git-aware behavior;
  • /pi-agent-ide-doctor detects project languages and lets each loaded plugin check or configure its own scope.

The public interface is intentionally small. Resources, resolvers, anchors, renderers, and toolchain integrations are connected through versioned plugin protocols. The npm package loads as one Pi extension, while its built-ins remain separate modules that can be replaced or extended.

Installation

Install Pi first, then install Pi Agent IDE:

pi install npm:pi-agent-ide

Pi packages run with your full system permissions. Review the package before installing it.

Check project setup

Start Pi in your project directory, then run:

/pi-agent-ide-doctor

Doctor detects the project languages and asks each loaded plugin to check its own tools and configuration. It reports missing executables, formatter and linter mappings, language servers, AST support, search setup, and Git support.

Doctor shows its report before changing anything. If you approve the suggested setup, it writes project-local mappings under .pi/pi-agent-ide/ without replacing native files such as eslint.config.js, .clang-format, or pyproject.toml. When setup still needs work, you can ask the agent to finish it; doctor runs the checks again afterward.

Run doctor again after installing or changing project tools. For non-interactive use and command flags, see Configuration.

Documentation

| Document | Contents | | ------------------------------------------ | -------------------------------------------------------------------- | | Tools and workflow | Read, search, editing, anchors, and feedback | | Architecture | Module boundaries, protocols, and the umbrella extension | | Configuration | Run doctor, configure project tools and search, or disable built-ins | | Writing extensions | Add resolvers, anchors, search backends, and IDE plugins | | Development | Work from a checkout, test, and run modular mode | | Evaluation | Compare Pi Agent IDE with vanilla Pi on repeatable tasks |

Repository

Executable behavior is defined by the source and tests. The documents above explain the intended boundaries, extension contracts, and development workflows.

License

MIT