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

How to delegate a background code investigation to an Agent with Pi Herdsman

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

Short answer: 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. All steps.

Who it is forA developer in a Pi session who needs a codebase question answered (for example how authentication works) without stopping their current work.

The problemReading through unfamiliar code blocks the main conversation, and a single agent session handles one thread at a time.

The outcomeA scout Agent runs asynchronously, the Lead conversation stays usable, and the developer can check the Agent status in the /agents surface.

What you need first

  • 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

Steps

  1. Run curl -fsSL https://raw.githubusercontent.com/boadij/pi-herdsman/main/install.sh | sh
  2. Run herdr in your project folder
  3. Run pi inside the herdr pane
  4. Type: Use scout to inspect the authentication flow.
  5. Type /agents to see the running Agent and its status

Prompt for your agent

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.

Caveat. The README gives the scout example as a natural language request, so the exact Agent names and behavior depend on the Agent definitions you have configured.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for boadij/pi-herdsman and "Delegate a background code investigation to an Agent"

Add Deduped to Claude Code once

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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

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