sage_agentic_run
Run local commands with automatic failure recovery. Executes a command, diagnoses errors, and retries based on autonomy level (suggest, ask, or auto). Ideal for development tasks like tests and builds.
Instructions
Run one local command with SAGE's failure-recovery loop. Use for development commands where automatic diagnosis and retry may help, such as tests or builds. Autonomy controls behavior: suggest reports fixes only, ask requires confirmation, auto may apply safe fixes and retry. Returns command result, recovery attempts, and verification status. Do not use for destructive commands, credential entry, production deploys, or external account changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Single local command to execute with recovery enabled. | |
| autonomy | No | How autonomous: suggest (report only), ask (confirm), auto (fix automatically) | auto |
| max_retries | No | Maximum recovery attempts. |