Claude Code multi-agent
Pi Cowboy
Agent orchestrator for pi. It can manage Codex, Claude Code, OpenCode, pi, pig and pi-bolt as subagents and handover sessions in between them. Runs subagents in background Herdr panes, isolated in copy-on-write Git worktrees.
Install
git clone https://github.com/electric-dragon-80000v/pi-cowboy.gitFrom the README
✨ NEW FEATURE - Cross-harness handover: pi-cowboy can now handover sessions between harnesses automatically. Ask pi to hand over a cowboy agent from one harness to another, or use the menu. License: MIT pi-cowboy is a multi-agent orchestrator for pi. Break a large job into focused subtasks, hand them off to background agents running in parallel, and consolidate them when they finish. Each agent runs in its own terminal pane inside Herdr and works in an isolated copy-on-write Git worktree. You can watch agents work in real time, jump into any pane to steer them, or mix and match harnesses like Pi, Claude Code, OpenCode, and Codex in the same session. When the work is finished, pi-cowboy cleans up the leftovers for you. Check out the demo. Why should I use it? Focused tasks produce better code Give each agent a smaller, isolated subtask. A single task with clear instructions leaves little room for error, whereas a long list of expectations invites drift and over-engineering. Because each agent commits to its own branch, you can review and merge each subtask on its own. Foreign harness support pi-cowboy can orchestrate Claude Code, Codex, OpenCode, and more: start work on Pi, continue on Claude Code, finish on OpenCode. Hit the 5 hour limit in the middle of your Claude Code session? Ask pi-cowboy to hand it over to Codex and it will carry over your Claude session automatically. No session dumps, no re-explaining, it just picks up right where you left off Do you need support for another harness? Create an issue on GitHub, or write your own plugin for it. Parallel work with minimal disk overhead Multiple agents can edit, build, and run tests at the same time without interfering with each other. Copy-on-write worktrees make high parallelism practical by keeping…
Details
- Repository
- electric-dragon-80000v/pi-cowboy
- Website
- pi.dev/packages/pi-cowboy
- Language
- TypeScript
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- agent-orchestrationherdrpitypescript
FAQ
What is Pi Cowboy?
Agent orchestrator for pi. It can manage Codex, Claude Code, OpenCode, pi, pig and pi-bolt as subagents and handover sessions in between them. Runs subagents in background Herdr panes, isolated in copy-on-write Git worktrees. It is a multi-agent for Claude Code, from electric-dragon-80000v/pi-cowboy on GitHub.
How do I install Pi Cowboy?
Clone electric-dragon-80000v/pi-cowboy from GitHub and follow the setup steps in its README.
Is Pi Cowboy popular?
electric-dragon-80000v/pi-cowboy has 65 GitHub stars and 2 forks. It was last updated on 3 November 2026.
More multi-agent & worktrees
Agents MD Snippets
59jasonku09/agents-md-snippets
Copy-paste AGENTS.md / CLAUDE.md snippets from my AI coding workflow videos: context re-entry, worktrees, TDD, builder/driver gate split
Pockode
57sijiaoh/pockode
Mobile-first web interface for Claude Code and Codex, with a multi-agent system — control your local AI coding agents from anywhere
ClaudeCode GodMode On
54cubetribe/ClaudeCode_GodMode-On
Self-orchestrating multi-agent system for Claude Code — you say WHAT, the AI decides HOW. v7.1: 15 AI agents, Smart Routing, parallel quality gates, skills architecture, plugin & one-command installer. Optimized for Claude Fable 5.
Xylocopa
54jianpengyao/xylocopa
Xylocopa is a visual orchestrator that runs your Claude Code agents in a more organized way.
Workbench
54proactive-agent/workbench
Desktop app built on Claude Code harness for proactive engineers.
Rag CLI
53ItMeDiaTech/rag-cli
Local Retrieval-Augmented Generation (RAG) plugin for Claude Code that combines Chroma db vector embeddings with intelligent info retrieval with Multi-Agent Framework (MAF) orchestration for context-aware development assistance. Uses Open Source / Free frameworks. Implements bridge to Claude Code CLI so no token use. And it's easy to setup.
Browse the most popular Claude Code mods, all multi-agent & worktrees, or the skills and MCP server directories.