{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "boadij-pi-herdsman--delegate-background-investigation-to-scout-agent",
 "repo": "boadij/pi-herdsman",
 "repo_url": "https://github.com/boadij/pi-herdsman",
 "repo_slug": "boadij-pi-herdsman",
 "title": "Delegate a background code investigation to an Agent",
 "page_title": "How to delegate a background code investigation to an Agent with Pi Herdsman",
 "summary": "Hand a bounded read-only question to a background Agent while the Lead session stays free.",
 "who": "A developer in a Pi session who needs a codebase question answered (for example how authentication works) without stopping their current work.",
 "problem": "Reading through unfamiliar code blocks the main conversation, and a single agent session handles one thread at a time.",
 "outcome": "A scout Agent runs asynchronously, the Lead conversation stays usable, and the developer can check the Agent status in the /agents surface.",
 "steps": [
  "Run `curl -fsSL https://raw.githubusercontent.com/boadij/pi-herdsman/main/install.sh | sh`",
  "Run `herdr` in your project folder",
  "Run `pi` inside the herdr pane",
  "Type: Use scout to inspect the authentication flow.",
  "Type `/agents` to see the running Agent and its status"
 ],
 "agent_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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/boadij-pi-herdsman/delegate-background-investigation-to-scout-agent/",
 "md": "https://dedupedai.com/use-cases/boadij-pi-herdsman/delegate-background-investigation-to-scout-agent/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/boadij-pi-herdsman--delegate-background-investigation-to-scout-agent.json",
 "api_version": "v1"
}
