Launch and place a grid of coding agents
agent_gridArrange and launch multiple coding agents in a configurable grid, assigning each to exact cells or corner positions for parallel work in separate workspaces.
Instructions
ONE-CALL agent workspace orchestration. For 'open a 2x2 OpenCode grid', pass agent=opencode, cols=2, rows=2 (count defaults to all cells). For mixed layouts, pass placements such as Claude position=top_right and Codex position=bottom_right. Launches independent Omarchy TUI windows, assigns sparse/exact cells in lua:omarchy-grid, and verifies each final class/workspace/geometry. Defaults to the next empty workspace so an existing task is not displaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Default working directory; per-placement cwd overrides it | |
| cols | No | ||
| rows | No | ||
| agent | No | Homogeneous mode: fill count cells with this agent | |
| count | No | Homogeneous mode only; defaults to cols*rows | |
| dry_run | No | Validate and print the complete plan without launching windows | |
| workspace | No | next_empty | |
| placements | No | Mixed/sparse mode; each agent can name an exact corner or row+col | |
| focus_workspace | No | Leave the new agent workspace visible; false restores the previous workspace |