06-reference

indy dev dan pi to pi two way agent orchestration

2026-05-18·reference·source: IndyDevDan (YouTube)·by IndyDevDan (Dan Disler)
agentic-engineeringmulti-agent-orchestrationpi-coding-agentagent-communicationharness-engineering

"Pi to Pi: Two-Way Agent Orchestration with the Pi Coding Agent" — IndyDevDan

Why this is in the vault

Dan keeps pushing the frontier on multi-agent orchestration patterns beyond the dominant orchestrator/sub-agent shape, and this video introduces a peer-to-peer flat-hierarchy pattern with two-way bidirectional communication across devices. Directly relevant to RDCO's COO-agent harness work — particularly the question of how multiple Ray instances on multiple machines could coordinate without a hard top-down hierarchy. Also useful as a data point on the agent-harness-ownership thesis (Pi vs Claude Code) which the founder is actively tracking.

Episode summary

IndyDevDan introduces "Pi to Pi" — two Pi coding agents (or more) communicating peer-to-peer over a lightweight Unix socket / BUN server with a four-tool A2A protocol (list agents, send command, send prompt, await response). Two live demos: (1) a Prod/Dev scenario where a production agent on a Mac Mini coordinates with a dev agent on an M5 MacBook Pro to reproduce a Pro-tier user lockout bug while keeping PII safe, and (2) an E2B agent + exe.dev agent collaborating to build a new agent-sandbox skill with feature parity. The core thesis: flat agent hierarchies beat orchestrator/worker patterns because "the best ideas die in agent hierarchies the same way they die in corporate hierarchies." Code shipped in the pi-vs-claude-code repo as two extensions (comms and comms-net).

Key arguments / segments

Notable claims

Guests

No guests — solo creator video. Code ships at github.com/disler/pi-vs-claude-code as the comms and comms-net extensions. Referenced tools: Pi Coding Agent (pi.dev), exe.dev, e2b.dev. Referenced prior video: "Verifier Agent" (https://youtu.be/EnXKysJNz_8).

Mapping against Ray Data Co

Strong relevance.

Related