Overview
gizzi exec is a pipe-safe, non-interactive alias for gizzi run. It prints the response and exits without launching the TUI — ideal for scripts, CI pipelines, and shell automation.
Basic usage
Output formats
stream-json event is a JSON object with a type field (message, tool_use, result, etc.), suitable for piping into jq or another tool.
Permission modes
In headless mode,exec defaults to the dontAsk permission mode — commands and edits run without interactive confirmation.
Override with a named profile:
Piping and composition
Becauseexec is pipe-safe, it composes naturally with standard Unix tools: