Skip to main content
Once your agent is configured and active, you need a way to put it to work. Layest gives you three distinct ways to run agent workflows: manually from the dashboard for testing and one-off tasks, automatically via event triggers that fire when something happens in a connected system, or on a fixed schedule for recurring jobs. Each run mode is suited to different situations, and you can combine them — for example, running an agent on a schedule while also allowing it to be triggered by incoming webhooks. This page explains how each run mode works, how to monitor runs in progress, and how to handle errors.

Three Ways to Run a Workflow

Manual runs let you execute an agent immediately from the Layest dashboard. This is the fastest way to test your agent, process a one-off request, or run an ad-hoc task without setting up any automation.

Running an Agent Manually

1

Open the agent

Go to Agents in the sidebar and click the agent you want to run.
2

Navigate to the Run tab

Click the Run tab at the top of the agent detail page. This opens the manual run panel.
3

Provide input (if required)

If your agent expects an input — such as a user message, a document, or a JSON payload — enter it in the Input field. Some agents have no required input and will run immediately with just a trigger.
The input schema is defined in your agent’s tool configuration. If the Run tab shows a structured form instead of a raw JSON editor, Layest has auto-detected the expected input shape and built a UI for it.
4

Click 'Run Now'

Click Run Now to start the workflow. You will be taken to the Run Detail page automatically, where you can watch the run progress in real time.

When to Use Manual Runs

  • Testing a newly configured or updated agent before enabling triggers
  • Processing a one-off document, file, or request
  • Debugging agent behavior by running with specific controlled inputs
  • Demonstrating agent capabilities to stakeholders

Viewing Run Status and History

All runs — regardless of how they were triggered — are recorded in the Run History panel. To access it:
  1. Open the agent from the Agents list.
  2. Click the Runs tab.
The Runs tab shows a paginated list of all runs with: Click any row to open the Run Detail page.

Understanding Run Outputs and Logs

The Run Detail page gives you a complete picture of what happened during a run:
  • Input — the exact payload the agent received
  • Output — the final response or result the agent produced
  • Steps — an expandable list of every action the agent took, including model calls, tool calls, and decision points
  • Tool Calls — details of each tool invocation, including the request sent and the response received
  • Logs — raw log stream with timestamps, useful for debugging
  • Token Usage — breakdown of prompt tokens, completion tokens, and total cost
Run logs are retained for 30 days on the Starter plan and 90 days on the Pro and Enterprise plans. Export logs to your own storage via the Layest API or the Export Logs button if you need longer retention.

Error States and Retrying Runs

When a run fails, the status column shows Failed and the Run Detail page displays the error message and the step at which the failure occurred. Common error types include:

Retrying a Failed Run

To retry a failed run with the same input:
  1. Open the failed run from the Runs tab.
  2. Click Retry Run in the top-right corner of the Run Detail page.
  3. Layest creates a new run with the identical input and marks the original as superseded.
If a run fails repeatedly with the same error, check the Alerts tab in your workspace settings. You can configure automatic alerts (Slack, email, or webhook) whenever a run fails, so your team is notified without having to monitor the dashboard manually.

Cancelling a Running Workflow

To stop a run that is currently in progress:
  1. Open the Runs tab and find the run with status Running.
  2. Click the run to open the detail page.
  3. Click Cancel Run in the top-right corner.
Cancellation is best-effort — if the agent has already made irreversible tool calls (e.g., sent an email, created a ticket), those actions cannot be undone. The run status will update to Cancelled within a few seconds.

Next Steps

Observability Overview

Go deeper with run analytics, performance dashboards, and anomaly detection across all your agents.

Agent Configuration

Tune your agent’s model, instructions, and behavior settings to improve run outcomes.