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

@giladbarnea/pi-simple-team

v1.0.38

Published

A flat, live team of Pi agents.

Readme

pi-simple-team

The team extension with no features.

pi extension npm version tests license TypeScript tested with Bun

No roles. No org chart. No mailboxes. No routing rules.

pi-simple-team spawns a small team of Pi agents that can all talk to each other, like the responsible adults they are, and then stays out of the way.


Why

I did my best work in a small room, together with a bunch of very capable people.

[shouts] Has anyone figured out how to set up auth yet?

Not filing a "request for assistance".

[taps shoulder] Dude can you grill me on this plan?

Not scheduling a meeting.

That's the whole design. Not a swarm, not a company. A room.

Install

pi install npm:@giladbarnea/pi-simple-team

Using pi-simple-team

Tell your main agent:

Spawn a team.

That's it. The team takes the shape of the mission:

You:

Create an implementer-reviewer team to complete PLAN.md.

Main agent:

Pair created. They'll loop through it together. They'll let me know when they're done.

A team appears, receives direction, and starts working

Watch a live team with /team.

/team is for you, not another agent tool. It gives you a live view of the room without turning the main agent into a status relay.

The command opens an overlay rolling recent statuses, messages, and a separate event log.

Up/Down select the messages or log widget. Enter zooms it to the full overlay. Esc goes back.

The mechanics

🏋️ Woken up when needed. Works freely otherwise.

Tokens, intelligence and time are never wasted on busy-polling for messages.

Instead, pi-simple-team pushes messages to the recipients.

This is both efficient and effective:

  • ✔ No inbox to forget.
  • ✔ Context window stays lean.
  • ✔ Unlocks arbitrary workflows.

⚡ Messages arrive fast.

  • Sub-second, when the recipient is idle.
  • The moment the current bout of work ends, when busy.

🟢 Statuses everyone can see.

For free, at any time. Like setting a Slack status.

Teammates publish a one-liner:

implementer   Done, 89 tests green, awaiting review.

reviewer       Reading implementation, will finalize review in a few minutes.

Your main agent calls teamstatus and understands exactly what is going on. Main does not ask teammates for updates or clutter their context.

🌡️ Context window self-awareness

The team manages its own context:

Teammates know how much free context they have left.

Main agent knows its own and everyone else's too.

They will hand off work autonomously when it's time to say goodbye.

You can stop babysitting context windows.

📣 Interrupts, when justified.

Situation: Late afternoon. Team finished production hotfix and started wrap up. There is one problem though.

  • 17:32:00: security-guard spots a private SSH key not covered by .gitignore.
  • 17:32:01: release-owner sets status: Ran git add ., preparing commit and push.
  • 17:32:02: security-guard immediately interrupts release-owner. Key never leaves the machine. Developer keeps their job another day 👍

📡 Live, zero-cost observability

Your main uses teamlog when it needs to understand the chain of events in high granularity.

Provides main a timestamped, filterable, append-only record of the team’s messages, tool calls, and lifecycle events.

🌅 Herdr Support

pi-simple-team can open a teammate direct Pi session in a dedicated Herdr pane. Just ask your main agent to do that.

  • Live view of the room.

  • Talk directly with teammates.

    I recommend starting with “Captain here”. Feels good and the surprise on their faces is priceless.

🧱 Teammates are durable Pi sessions.

A teammate is just a Pi session with a team attachment.

This means teammates (and thus, teams) survive shutdown.

Have a teammate do work, exit Pi entirely, come back tomorrow in a brand-new session, and ask main to get you that teammate by its Pi session id. Everything it learned stays intact.

You can even /resume a teammate session directly if you ever want a cozy one-on-one.

🪾 It’s teams all the way down (optionally)

Tell main you want to have a teammate manage its own team(s).

This is a powerful technique to create a separate layer of context.

That teammate will spawn, steer and observe its own team(s) without costing tokens to its siblings or parent.

The tradeoff, like any higher-order delegation, is reduced control: you are moved one level further away from the trenches.

This is opt-in: teammates by default can't create teams.

This technique plays even nicer if your main assumes the captain rank^1.


🧬 Graphs engineer themselves

Because it does nothing special, pi-simple-team can construct any agentic graph you need:

You tell main:

Team goal:

  1. Map the database for all customer ⟷ purchases money streams.
  2. Feed the new knowledge into the memory layer.
  3. Make the data analysis agent pass the new purchases evals.

Note:

  • #1 is a saturation loop. Stop only when you can't find anything new.
  • #3 is a hill-climbing loop. Stop only the evals are green.
  • Teammates #1 and #3 create their own teams to loop until task is complete.

That prompt creates this graph:

The team graph: 1-map (Scout and Devil’s advocate) feeding subagent dispatch, feeding 3-eval (Engineer and Performance watcher)

Tools

Kept minimal:

| Role | For | Tools | | --- | --- | --- | | Main agent | Team lifecycle | team_spawn, team_list, team_resume, team_add, team_shutdown | | | With team | teamsend | | | On team | teamstatus, teamlog | | | On everyone | report_context_window | | Overseeing teammate | On own teams | Same tools as the main agent | | | With parent team | teamsend, teamstatus, teammain | | Teammates | With team | teamsend | | | With main | teammain | | | On self | report_context_window | | Everyone | For everyone | teamstatus |


Roadmap

User involvement track:

  • [x] Herdr panes for teammates.
  • [x] /team: live, read-only team dashboard.
  • [ ] Teammate drill-down and transcripts.
  • [ ] Joining and steering teams from slash commands.
  • [ ] Adding teammates to existing teams directly from slash commands.
  • [ ] Spawning teams directly from slash commands.

Functional:

  • [x] Resume all or selected teammates from a dormant team.
  • [x] Add teammates after a team has spawned.
  • [x] Let opted-in teammates create and manage teams of their own.
  • [x] Remove teammates from a team.
  • [ ] Main triggers /compact on select teammate.
  • [ ] Teammates auto-reminded to hand off on low context.