agy_execute
Executes a plan or sprint using agy CLI in an isolated git worktree, allowing changes to be reviewed before merging. Supports continuing prior sessions or adopting existing agy CLI conversations.
Instructions
Hand a plan/sprint to agy (Antigravity CLI) to execute with full file-write permissions. Runs inside an isolated git worktree (never the real working tree) so changes can be reviewed before merging. Pass session_id to continue a prior execute session in its existing worktree; omit it to start a new one. Alternatively pass conversation_id to adopt an existing agy CLI conversation (e.g. one you started in your own terminal) into a fresh worktree — note this only works for agy CLI conversations, not Antigravity IDE ones. Requires AGY_MCP_ALLOW_EXECUTE=1 in the server's environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan or task description for agy to execute | |
| workspace | No | Git repo root to branch a worktree from when starting a new session (defaults to cwd) | |
| session_id | No | Existing execute-session id to continue, omit to start a new one | |
| conversation_id | No | Adopt an existing agy CLI conversation UUID instead of starting a new one. Ignored if session_id is set. |