Delegate a task to Antigravity
ag_delegateDelegate a task to an autonomous AI agent. It runs as a detached background job, returns a task ID immediately, and lets you continue working without waiting.
Instructions
Hand a task to Antigravity. Starts agy headlessly as a detached background job and returns immediately with a task_id -- it does NOT block, so keep working on your own part meanwhile.
Write prompt as a complete, self-contained brief: Antigravity cannot see your conversation or your context. State the goal, the stack and conventions actually in use, the files it owns, what it must NOT touch, and the API/prop contract it must code against.
claim locks paths for Antigravity up front so you stay off them. auto_approve passes --dangerously-skip-permissions so it can edit unattended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path to the project root | |
| mode | No | ||
| claim | No | Paths Antigravity will own | |
| model | No | e.g. gemini-3.1-pro-high for hard UI work | |
| title | Yes | Short label for the board | |
| effort | No | ||
| prompt | Yes | Self-contained brief; Antigravity starts cold | |
| add_dirs | No | ||
| auto_approve | No | ||
| timeout_seconds | No |