Who it is forA developer with a fixed review or test workflow who wants the delegated Agents to follow it.
The problemDefault delegation may not match how a team models, tools, or steps its work.
The outcomeCustom Agent definitions that delegate with your chosen models, tools, skills, and extensions.
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
- Run
pi install npm:pi-herdsman - Read the Agent definitions guide at docs/guides/agent-definitions.md
- Create one Agent definition with your chosen model, tools, and skills
- Run
piinside a herdr pane - Type: Use <your agent name> to <task>.
Prompt for your agent
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.
Caveat. The README only says you can bring your own Agent definitions, so the file format and fields are documented in the Agent definitions guide, not here.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for boadij/pi-herdsman and "Define custom Agents with your own models and tools"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer