Skip to main content
The following environment variables are available in all agent bash tool executions, including init hooks.

Available Variables

Usage Example

Use Cases

  • PR footers: Include model and cost information in automated PR descriptions
  • Conditional logic: Adapt scripts based on runtime environment
  • Logging: Track which model and settings were used for a task
  • Cost monitoring: Check cumulative costs before expensive operations