PidMesh v1.1.0 — Native Agent Swarms
PidMesh can now launch and supervise a complete local agent swarm with one command.
Highlights:
- New pidmesh swarm command for 1–64 independent agent PIDs
- Unique agent identity and worker index injected into every child
- Shared database, workspace, provider, and swarm metadata
- Concurrent heartbeat and exit observation without head-of-line blocking
- Fail-fast mode for worker failures
- Graceful Ctrl-C, SIGTERM, and SIGHUP handling
- Whole-process-group termination prevents orphaned child processes
- Sessions and claims released on every tested shutdown path
- Validated with a 12-worker shared-memory exercise
- Tested on Linux and macOS
Example:
pidmesh swarm --workers 5 --name-prefix researcher --provider codex -- codex exec "Claim one open task and complete it"