Repository

electric-dragon-80000v/pi-cowboy

pi-cowboy

Open github.com

electric-dragon-80000v/pi-cowboy

pi-cowboy

pi-cowboy is an agent orchestrator for Pi and Herdr that breaks large jobs into focused subtasks, runs them in parallel in isolated Git worktrees, and supports foreign harnesses like Claude Code, Codex, OpenCode.

Visit project

Show me a random project

First shared
Oct 18, 2026
HN activity
73

Show HN@suoloordiOct 18, 2026

Show HN: Pi-cowboy – use Codex, Claude Code, OpenCode as subagents

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+)

Community

Hacker News discussion

Loading the thread…