← All projects
Project record1 mention
Originally shared on Hacker News

pi-cowboy

An agent orchestrator for Pi and Herdr that breaks large jobs into focused subtasks, hands them to background agents running in parallel, and consolidates the results. Each agent runs in an isolated copy-on-write Git work-tree, and pi-cowboy can also orchestrate foreign harnesses including Claude Code, Codex, OpenCode, Pig and Pi-Bolt, with configurable concurrency limits at every level.

Last shared
01 / The problem

What it addresses

Running many parallel coding agents can exhaust token usage and overload the machine's resources.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. pi-cowboy

    An agent orchestrator for Pi and Herdr that breaks large jobs into focused subtasks, hands them to background agents running in parallel, and consolidates the results. Each agent runs in an isolated copy-on-write Git work-tree, and pi-cowboy can also orchestrate foreign harnesses including Claude Code, Codex, OpenCode, Pig and Pi-Bolt, with configurable concurrency limits at every level.

    Problem: Running many parallel coding agents can exhaust token usage and overload the machine's resources.

    Posted by @suoloordi · Original source ↗

    Story title · @suoloordi · · Source ↗

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

    Submitted URL · @suoloordi · · Source ↗

    https://github.com/electric-dragon-80000v/pi-cowboy

    Source text · @suoloordi · · Source ↗

    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.

    Source text · @suoloordi · · Source ↗

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

    Source text · @suoloordi · · Source ↗

    pi-cowboy agents can run in Claude Code, Codex, OpenCode, Pig and Pi-Bolt, as well as Pi.

    Source text · @suoloordi · · Source ↗

    You can configure concurrency limits at every level.

    Source text · @suoloordi · · Source ↗

    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.

    Source text · @suoloordi · · Source ↗

    Running out of Codex usage? Switch your pi-cowboy harness to OpenCode, select one of its free models, and let it handle the rest.

    Source text · @suoloordi · · Source ↗

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