cd /news/ai-agents/show-hn-pi-cowboy-a-herdr-native-age… · home › topics › ai-agents › article
[ARTICLE · art-152405] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: Pi-cowboy – a Herdr native agent orchestrator for Pi

A developer released pi-cowboy, an open-source agent orchestrator for the Pi coding agent and Herdr, installable via `pi install npm:pi-cowboy` and requiring Herdr 0.8 or later. pi-cowboy splits large jobs into subtasks run by parallel background agents, each in an isolated copy-on-write Git work-tree to limit disk overhead, and can drive foreign harnesses including Claude Code, Codex, OpenCode, Pig and Pi-Bolt. The tool adds configurable concurrency limits at every level so users running local models or resource-constrained machines can cap parallel agents.

read1 min views1 publishedOct 18, 2026

pi-cowboy is an agent orchestrator for Pi(https://pi.dev) and Herdr(https://github.com/herdrdev/herdr). Break large jobs into focused subtasks, hand them off to background agents running in parallel, and consolidate the results when they finish. Each agent runs in an isolated copy-on-write Git work-tree, minimising disk overhead.

pi-cowboy can orchestrate foreign harnesses too, including Claude Code, Codex, OpenCode and more.

Feature highlights:

  • Foreign harnesses: pi-cowboy agents can run in Claude Code, Codex, OpenCode, Pig and Pi-Bolt, as well as Pi. This gives you great flexibility in choosing how to spend your tokens. Running out of Codex usage? Switch your pi-cowboy harness to OpenCode, select one of its free models, and let it handle the rest. Pig and Pi-Bolt are pi variants that are more efficient, with a lower memory footprint and faster performance than pi. Because pi-cowboy is designed to run multiple agents in parallel, having a lower per-agent footprint is crucial. It prevents your machine from running out of resources and lets you have higher concurrency without choking your system.

  • Concurrency limits: You can configure concurrency limits at every level. Running a local model with limited resources? If a simple task already takes hours to complete, the last thing you want is to overload your machine by running too many of them at once. Set concurrency limits for that model specifically to keep resource usage under control.

You can install it on Pi as a package:

  pi install npm:pi-cowboy #(requires `herdr` 0.8+)

Comments URL: https://news.ycombinator.com/item?id=50142277

Points: 1

── more in #ai-agents 4 stories · sorted by recency
── more on @pi-cowboy 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-pi-cowboy-a-…] indexed:0 read:1min 2026-10-18 · —