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

@giovani-junior-dev/pi-coms-local

v0.1.1

Published

Pi-to-Pi local bidirectional communication: run peer Pi agents that can message each other on the same machine.

Readme

@giovani-junior-dev/pi-coms-local

Pi package for local Pi-to-Pi bidirectional agent communication.

It lets you run two or more independent Pi agents on the same machine and have them talk directly to each other as peers:

planner ⇄ coder

This package is based on the Pi-to-Pi communication work from disler/pi-vs-claude-code, adapted for current @earendil-works/* Pi package imports.

Learn more

If you want to understand the original idea, motivation, trade-offs, and examples behind Pi-to-Pi bidirectional agent communication, read the source article/section:

That article explains why peer-to-peer agent communication is different from subagents, agent chains, or one-way orchestration, and shows the original coms / coms-net patterns this package is based on.

What it installs

  • Extension: extensions/coms.ts
  • Tools exposed to the model:
    • coms_list
    • coms_send
    • coms_get
    • coms_await
  • Prompt templates:
    • planner.md
    • coder.md
  • Skill:
    • pi-to-pi-local

Install locally

From the package folder:

pi install ./pi-coms-local-package

For a project-local install, run inside your target project:

pi install -l C:/Users/GEOVANE/Desktop/pi-coms-local-package

You can also test without installing:

pi -e C:/Users/GEOVANE/Desktop/pi-coms-local-package --name planner --project my-project

Run two local agents

Open two terminals in the same project folder.

Terminal 1 — planner

pi --name planner \
  --purpose "Plans work, reviews UX/copy/SEO/risks, and approves implementation" \
  --project my-project \
  --color "#36F9F6"

Terminal 2 — coder

pi --name coder \
  --purpose "Implements approved plans, edits files, runs validation, and reports back" \
  --project my-project \
  --color "#FF7EDB"

Terminal 2 — coder with DeepSeek

pi --model deepseek/deepseek-v4-pro \
  --name coder \
  --purpose "Implements approved plans using DeepSeek" \
  --project my-project \
  --color "#FF7EDB"

The important part is that both agents use the same --project value.

Tool usage pattern

Ask one agent to use the tools explicitly:

Use coms_list to find planner. Then use coms_send to ask for approval of the implementation plan. Wait for the answer with coms_await before editing files.

Tools:

| Tool | Purpose | | --- | --- | | coms_list | List peers in the current project pool | | coms_send | Send a prompt/message to a peer | | coms_get | Poll message status without blocking | | coms_await | Wait for a reply |

Recommended roles

Planner prompt:

You are the planner. Do not edit files. Plan, review strategy, UX, copy, SEO, risks, and priorities. When you need technical context, ask coder via coms. Return clear, prioritized, implementable instructions.

Coder prompt:

You are the coder. You may edit files. Before large changes, consult planner via coms and wait for approval. Implement only the approved scope. Run validation and report changed files, commands run, validation result, risks, and next steps.

Safety notes

  • Keep one writer agent editing files at a time.
  • Use coms_await, not coms_wait.
  • Do not respond to an inbound message by sending a new coms_send back for the same message; answer normally to avoid ping-pong loops.
  • Use the same --project value for all agents that should see each other.

Publish / share

See PUBLISHING.md.

Install from npm after publishing

pi install npm:@giovani-junior-dev/pi-coms-local

Temporary run:

pi -e npm:@giovani-junior-dev/pi-coms-local --name planner --project my-project

Install from GitHub after publishing

pi install git:github.com/giovani-junior-dev/pi-coms-local

Temporary run:

pi -e git:github.com/giovani-junior-dev/pi-coms-local --name planner --project my-project