DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use Pi Herdsman: what you can do with it

What is Pi Herdsman? Pi Herdsman is an orchestration layer that connects Pi coding-agent sessions with herdr so that background, nested, and multi-branch Agents can work in parallel under explicit supervision.

How do I use it? Run curl -fsSL https://raw.githubusercontent.com/boadij/pi-herdsman/main/install.sh | sh; then run herdr in your project folder; run pi inside the herdr pane. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

4 use cases

  • Delegate a background code investigation to an Agent

    Hand a bounded read-only question to a background Agent while the Lead session stays free.

    View prompt
    Using the pi-herdsman repo, install the stack and ask a scout Agent to inspect <feature area> in <project path>. Expected output: a written summary of the flow from the scout Agent while the Lead session accepts other prompts. Verify that /agents lists the scout Agent while it runs.
  • Split a project into parallel branch work under a Manager

    Use a Manager to coordinate several Leads, each working on its own durable Git branch.

    View prompt
    Using the pi-herdsman repo, set up a Manager that assigns <number> independent tasks from <task list file> to Leads on separate Git branches. Expected output: a list of active Leads with their branch names and assignment status. Verify that each Lead is listed under the Manager's current project assignments.
  • Check token usage and cost for a session and its Agents

    Read Pi-native token usage and cost for the current session and its owned Agent sessions.

    View prompt
    Using the pi-herdsman repo, run a task that delegates work to <number> Agents in <project path>, then open the /agents Session stats view. Expected output: token usage and cost totals for the Lead session and its owned Agent sessions. Verify that the totals include each delegated Agent.
  • Define custom Agents with your own models and tools

    Write Agent definitions that use your own models, tools, skills, and workflow.

    View prompt
    Using the pi-herdsman repo and its Agent definitions guide, create a custom Agent named <agent name> that uses <model or tool list> and delegate <task> to it in <project path>. Expected output: a completed result from the custom Agent. Verify that /agents shows the custom Agent running under the Lead session.

Quick start with Pi Herdsman

  1. Check you have what it needs: Linux or macOS for the released install script; Pi and herdr installed, or the install script to set them up; A Git project to work in.
  2. Open boadij/pi-herdsman on GitHub and read the README and license.
  3. Run curl -fsSL https://raw.githubusercontent.com/boadij/pi-herdsman/main/install.sh | sh
  4. Run herdr in your project folder
  5. Run pi inside the herdr pane
  6. Type: Use scout to inspect the authentication flow.

These steps come from our top use case, Delegate a background code investigation to an Agent, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for boadij/pi-herdsman

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Software and DevOps

About this repo

  • Who it is forDevelopers who already run coding agents in Pi and want several bounded Agents or parallel Leads working on one Git project.
  • Why it is hot220 stars, launched 63 days ago
  • LanguageTypeScript
  • Sourcegithub.com/boadij/pi-herdsman · Back to Hot repos

Requirements

  • Linux or macOS for the released install script
  • Pi and herdr installed, or the install script to set them up
  • A Git project to work in

Add this badge to your README

Maintain Pi Herdsman? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/boadij/pi-herdsman.svg)](https://dedupedai.com/use-cases/boadij-pi-herdsman/?utm_source=github&utm_medium=badge&utm_campaign=boadij-pi-herdsman)

HTML

<a href="https://dedupedai.com/use-cases/boadij-pi-herdsman/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=boadij-pi-herdsman"><img src="https://dedupedai.com/badge/boadij/pi-herdsman.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Pi Herdsman

What is Pi Herdsman?

Pi Herdsman is an orchestration layer that connects Pi coding-agent sessions with herdr so that background, nested, and multi-branch Agents can work in parallel under explicit supervision. It is an open-source project on GitHub: https://github.com/boadij/pi-herdsman.

How do I use Pi Herdsman?

Run curl -fsSL https://raw.githubusercontent.com/boadij/pi-herdsman/main/install.sh | sh; then run herdr in your project folder; run pi inside the herdr pane. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Pi Herdsman for?

Developers who already run coding agents in Pi and want several bounded Agents or parallel Leads working on one Git project.

What can I do with Pi Herdsman?

4 use cases so far, for example: Delegate a background code investigation to an Agent; Split a project into parallel branch work under a Manager; Check token usage and cost for a session and its Agents. Each has steps and a copy-paste agent prompt.

What do I need to run Pi Herdsman?

Linux or macOS for the released install script; Pi and herdr installed, or the install script to set them up; A Git project to work in.

What are alternatives to Pi Herdsman?

Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.

Is Pi Herdsman safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.