r/PiCodingAgent • • 44m ago

Plugin pi-cowboy now supports Herdr app

pi-cowboy is a cross-harness orchestrator for pi. Break large jobs into focused subtasks, mix and match coding harnesses (like Claude, Codex, OpenCode, and more), 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 worktree, minimising disk overhead. (I got you Rust devs šŸ˜‰)

Since my last update, thanks to feedback and contributions from the community, a lot of the issues were ironed out and pi-cowboy has evolved into an orchestration power tool. Alongside Herdr TUI, it now also supports Herdr App as a multiplexer backend.

New feature highlights

Herdr App backend

pi-cowboy works with Herdr App now as well as the Herdr TUI. Both are supported out of the box. There is nothing to configure, and it works exactly the same way in both of them. I've been using it with the new Herdr mobile app and it is a huge improvement over SSH. Terminal UIs just don't translate well to mobile. The Herdr mobile app gives you a proper mobile form factor and UX. I was skeptical about Herdr App in the beginning, but now I see the point.

Persistent orchestration state

This was one of the biggest pain points of pi-cowboy. You would lose the entire orchestration state if you had to reload or restart the session. Now, the orchestration state is persisted in the session file and reconciled on each reload, so you never lose this state, and it never goes out of sync with the agents being orchestrated. Looking back, I would not have released pi-cowboy without this in the first place.

Handover

You can move an agent's work to a different harness without starting over. Say you run out of Claude Code usage halfway through a task. Hand the agent over to Codex and it carries on from where it stopped, with the earlier conversation already loaded. There is nothing to copy, paste or explain again.

No-inference tooling

The /cowboy menu lets you do the orchestration yourself. Spawn an agent by hand and choose its harness, model, thinking level and worktree. Check what is running, read the results, merge branches, hand over, export, stop and clean up. These menu actions run no inference at all, so using them will cost 0 tokens.

Plugins

Harnesses and multiplexers are now pluggable. Say you want to run agents in tmux instead of Herdr, or bring in a coding agent that pi-cowboy doesn't support. You can now write your own pi-cowboy plugin for either. Check out the plugin documentation if you want to know more.

Install: pi install npm:pi-cowboy (requires herdr 0.8+ or Herdr App)

Check out the source code and documentation

Check out the demo

3 Upvotes

1 comment sorted by

1

u/odrakcir 3m ago

I’m definitely gonna try this. Will come back. Thanks for sharing