whatisgithub

What is pi-herdr-squad?

jillesme/pi-herdr-squad — explained in plain English

Analysis updated 2026-05-18

24TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A Pi coding agent extension that spins up temporary, strictly read-only teams of investigation agents inside Herdr to research a codebase and report back.

Mindmap

mindmap
  root((pi-herdr-squad))
    What it does
      Spawns read-only agents
      Assigns separate scopes
      Collects structured reports
    Tech stack
      TypeScript
      Pi
      Herdr
    Use cases
      Parallel investigation
      Bug tracing
      Codebase comparison
    Safety
      No bash or edit tools
      Report-only output

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Spin up one to four read-only Pi agents to investigate different parts of a codebase in parallel.

USE CASE 2

Compare frontend and backend logic or trace a bug across code, tests, and configuration at once.

USE CASE 3

Configure which AI model each investigation squad uses through project or global config files.

USE CASE 4

Run codebase investigations with a guaranteed read-only boundary that can never modify the checkout.

What is it built with?

TypeScriptPiHerdrnpm

How does it compare?

jillesme/pi-herdr-squadcschanhniem/clawpingcub3y0nd/entropic
Stars242424
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity3/53/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an existing Pi session running inside a Herdr-managed pane before the package can be installed and used.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

This repository is a package called pi-herdr-squad, an extension for the Pi coding agent that creates temporary teams of read only investigation assistants inside Herdr, a tool for managing Pi sessions. When a parent Pi agent needs to investigate something across a codebase, this package spins up a dedicated Herdr tab holding between one and four child Pi agents, gives each of them its own separate area of the codebase to look at, waits for each one to send back a structured report, and then hands the parent everything it needs to combine those findings into an answer. To use it, you install the package from npm into a Pi session that is already running inside a Herdr managed pane, then reload Pi or start a new session. From there you can start a squad with a simple command specifying either an automatically chosen number of agents or an exact count, describing what should be investigated, such as comparing frontend and backend validation logic or looking into checkout failures across the code, tests, and configuration. Plain language requests that clearly ask for a Herdr squad or parallel subagents will also trigger it. Which AI model each child agent uses follows a clear order of precedence: a model requested for that specific squad, then a trusted per project configuration file, then a global configuration file, and finally Pi's own normal default model if nothing else is set. Configuration files are read fresh every time a squad starts, so edits take effect immediately without needing a reload. The read only boundary is enforced directly through tool access: every child agent is only ever given tools to read files, search text, list directories, and submit its report, with no ability to run shell commands, edit files, or write anything except its own private report file, so an investigation squad can never modify the shared codebase it is looking at. The package has no third party runtime dependencies and is released under the MIT license.

Copy-paste prompts

Prompt 1
Explain how pi-herdr-squad splits an investigation across multiple read-only child agents.
Prompt 2
Help me start a two-agent Herdr squad to compare client and server validation logic.
Prompt 3
Show me how model selection precedence works between squad, project, and global config.
Prompt 4
Walk me through why child agents in this package cannot edit or run shell commands.

Frequently asked questions

What is pi-herdr-squad?

A Pi coding agent extension that spins up temporary, strictly read-only teams of investigation agents inside Herdr to research a codebase and report back.

What language is pi-herdr-squad written in?

Mainly TypeScript. The stack also includes TypeScript, Pi, Herdr.

What license does pi-herdr-squad use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is pi-herdr-squad to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pi-herdr-squad for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.