> ## Documentation Index
> Fetch the complete documentation index at: https://docs.komodor.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent run time limit

> Cap how long one run of an agent can take, from 30 seconds to 60 minutes. The run gets a nudge at 70% and stops at 100%.

A **run time limit** is the longest one run of an agent may take, from 30 seconds to 60 minutes. The
limit is optional. Many catalog agents come with a default limit, and you can change or clear it.

## What happens during a run

* At 70% of the limit, the agent gets a message that tells it to wrap up.
* At 100%, the Komodor Agentic Operation Platform (KAOP) stops the run. The run keeps a summary of
  its work, ends as `succeeded`, and is marked **Stopped: time limit**.

## Set the limit

* **In the agent wizard**, go to the **Budgets** step and set **Run time limit**.
* **On the agent page**, open the **Budgets & Limits** tab, change **Run time limit**, and choose
  **Save time limit**.

Clear the field for no limit. A run that is already running keeps its deadline, and the next run uses
the new value.

## Get a message when a run is stopped

In the same place, use **Notify when a run is stopped** to pick one or more notification sinks. Each
stopped run sends one message to each chosen sink.

## Next steps

> [card] [Agent spend attribution](https://docs.komodor.com/manage-your-agents/optimize/agent-spend-attribution.md#budgets)
>
> Cap what an agent can spend, per run, per day, or per month.

> [card] [Runs & evidence](https://docs.komodor.com/manage-your-agents/run/runs-evidence.md)
>
> Read a single run's trail, including how it ended.


## Related topics

- [Agent spend attribution](https://docs.komodor.com/manage-your-agents/optimize/agent-spend-attribution.md)
- [Limits & quotas](https://docs.komodor.com/reference/limits-quotas.md)
- [Troubleshooting](https://docs.komodor.com/reference/troubleshooting.md)
- [The agent page](https://docs.komodor.com/manage-your-agents/fleet/agent-page.md)
- [Runs & evidence](https://docs.komodor.com/manage-your-agents/run/runs-evidence.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.