---
title: "Rollout"
url: https://www.daytona.com/definitions/r/rollout
---

# Rollout

A rollout is one run of a model through a task in an environment, recorded so that training can learn from it.

A rollout is the basic unit of experience in reinforcement learning. The model observes the environment, takes an action and observes the result, again and again until the task ends. The run ends when the task succeeds, fails, or reaches a limit on steps or time. A score from a verifier is then attached to the record.

One pass through a task is called an episode, and the record it leaves is called a trajectory. The trajectory lists every observation and action in order, with each reward where it arrives, often only one at the end. For an agent, each action is usually a tool call, and each observation is what the tool returned. The trajectory is the data that the next update of the model learns from.

Training runs many rollouts of the same task and compares them. A single result says little, because the model chooses its actions at random to some degree. Comparing several attempts shows which choices tended to lead to success. Many methods group rollouts by task for this reason and update the model from the differences between them. For an agent that runs code, each of those rollouts needs a sandbox of its own.

## Related terms

- [Agent trace](https://www.daytona.com/definitions/a/agent-trace.md)
- [Cluster](https://www.daytona.com/definitions/c/cluster.md)
- [Episode and trajectory](https://www.daytona.com/definitions/e/episode-and-trajectory.md)
- [Reinforcement learning](https://www.daytona.com/definitions/r/reinforcement-learning.md)
- [Verifier](https://www.daytona.com/definitions/v/verifier.md)
