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

How to define custom Agents with your own models and tools with Pi Herdsman

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

Short answer: Run pi install npm:pi-herdsman; then read the Agent definitions guide at docs/guides/agent-definitions.md; create one Agent definition with your chosen model, tools, and skills. All steps.

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

  1. Run pi install npm:pi-herdsman
  2. Read the Agent definitions guide at docs/guides/agent-definitions.md
  3. Create one Agent definition with your chosen model, tools, and skills
  4. Run pi inside a herdr pane
  5. 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

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