agy_run_task
Assign software development tasks to an autonomous agent that can edit files, run commands, and use web search to implement features, fix bugs, or refactor code.
Instructions
Delegate a software engineering task, bug fix, refactoring, or feature implementation to Google Antigravity (agy). The agent operates autonomously with full tool access (file editing, terminal commands, web search, subagents).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Execution mode: "accept-edits" (default) allows direct code changes. "plan" creates an implementation plan without modifying files. | |
| model | No | Model override (e.g., "gemini-3.8-flash-high", "gemini-3.1-pro-high", "claude-sonnet-4-6"). Use agy_list_models to view choices. | |
| effort | No | Reasoning effort level: low, medium, or high (default: high). | |
| prompt | Yes | The prompt or instruction for Antigravity (e.g., "Refactor auth middleware to support JWT refresh", "Fix unit tests in payment_service.py"). | |
| add_dirs | No | Additional workspace directories to mount into the agent context. | |
| workspace_dir | No | Absolute or relative path to the workspace directory. Defaults to the current working directory. | |
| conversation_id | No | Optional conversation ID if you want to resume an existing session. | |
| timeout_seconds | No | Execution timeout in seconds (default: 600 / 10 minutes). | |
| dangerously_skip_permissions | No | Auto-approve all tool permission requests without prompting (default: true, recommended for agent-to-agent automation). |