Pi Agents
piStart persistent agent pools, send tasks, wait for results, and manage checkpoints across Git workspaces.
Instructions
Unified persistent pi agent interface. For action=start, ALWAYS pass the explicit Git repository root from the user's request; MCP reconnects can reset implicit workspace selection. Start once, then send many tasks to stable h5i boxes and conversation sessions. Pools survive MCP requests and route back to their bound workspace by id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Pool name for action=start. | |
| pool | No | Pool id. Required except for action=start. | |
| root | No | Explicit Git repository root. Required for action=start so a reconnect cannot bind the pool to the default workspace. | |
| task | No | Pending task id for action=wait. | |
| agent | No | Agent id; send uses round-robin when omitted. | |
| force | No | ||
| action | Yes | ||
| agents | No | ||
| message | No | Task or forum message. | |
| wait_seconds | No | Wait in the same call. Default: 60. | |
| workspace_id | No | Optional opened workspace id; root remains required for action=start. | |
| advance_baseline | No |