TypeScript
Pi Dual Agent Coordinator
Coordinator-driven dual-agent workflow engine built on the Pi SDK
This project runs two isolated Pi runtimes under one coordinator:
Agent A is the planner, reviewer, and final sign-off model.
Agent B is the execution model and the only agent allowed to change workspace files.
The coordinator handles the handoff loop, review cap, and workflow persistence.
Agent A uses OpenAI project API-key authentication. Agent B runs locally through LM Studio. Cloud credentials live in macOS Keychain behind a trusted broker. Agent tools and stdio MCP servers run in an OS sandbox. Read the security model before use.