# Running an Overlay

Running an overlay computes the effect of its adjustments on the baseline forecast. Running is a separate step from configuring: edits to the overlay don't change any numbers until you run it.

:::note[Beta: Agent mode]
Agent mode is in beta. Available actions depend on your workspace and permissions. If an action is unavailable, the assistant can explain how to do it in the app.
:::

## Before you start

* You have edit access to the overlay. It has an input table with a target, operation, and value. Scale and Offset need a nonzero value; Override can use zero. Dates can inherit from the version.
* **The forecast version's baseline is run and locked.** Every overlay belongs to a forecast version (shown in the breadcrumb at the top of the overlay page) and computes against that version's locked baseline. If the version has no locked run, the overlay page shows **No locked run on this version** and the run button is disabled. To fix it, [lock a forecast run on the version](/forecasting/saving-forecasts).

## Run the overlay

1. Open the overlay from its forecast version or from the sidebar.
2. Click the run button (play icon) in the upper-right toolbar.
3. The status badge changes to **Running** while the overlay computes. To stop the run, click the same button, which shows a stop icon.
4. When the run finishes, the status changes to **Run Complete**.

## Review the results

When the run completes, charts and tables on the overlay page show the overlay-adjusted forecast alongside the baseline, so you can see exactly how your adjustments change the numbers. If the results aren't what you expected, edit the overlay and run it again.

You can re-run as many times as you need while the overlay is unlocked. Each run appears in the overlay's **Run History**. To make a run the overlay's official result for this version, [lock it](/overlays/saving-overlays). If you click the run button on a locked overlay, Galdera asks you to confirm **Unlock & run** first.

## Run or cancel with the assistant

In **Agent** mode, name the overlay and its forecast version, ask the assistant to run it, and review the **Allow**/**Deny** prompt. The same prerequisites apply: a valid saved configuration, an unlocked overlay, and a locked baseline. The assistant checks them before asking for confirmation. If one fails, it tells you why and doesn't start a run. Starting a run is not the same as completing it: the assistant follows the run's progress while the chat is open, and doesn't keep tracking it after you close every page that is showing it.

To cancel, ask the assistant to cancel the specific overlay run that is in progress. It identifies the exact run before asking for confirmation. A run that isn't in progress, or a short run that can't be cancelled, is refused before confirmation. A cancelled overlay run is shown with the status **Failed**; that status doesn't mean a different run was cancelled.
