Time or cost limit for Automations

Feature request for product/service

Background Agent (GitHub, Slack, Linear,…)

Describe the request

Automations can run longer or cost more than expected when an agent gets stuck in a loop, waits indefinitely, or keeps making tool calls without finishing. There is no per-run guardrail today — only monthly spend limits and manual cancellation.

I’d like an option in Automation settings to set either:

  • a time limit (e.g. stop after 10 min / 1h / 4h), or
  • a cost limit per run (e.g. stop after $5 / $20).

When the limit is hit, the run should stop cleanly and report that it was terminated by the limit.

In the run history view, it would also help to filter runs that stopped due to a limit. That makes it easier to spot patterns and improve prompts or automation setup.

This would help prevent runaway runs from blocking scheduled automations, consuming concurrent agent slots, and burning through on-demand budget.

1 Like