Bot runner

On this page 7

A bot runner is the runtime component of RPA that executes finished software robots in production, as opposed to the development environment in which those robots are designed and tested. In robotic process automation, the term describes both the machine or user session where a bot actually runs and, in several vendor licensing models, the runtime license that permits that execution.

Within the Automation subject, the bot runner sits between the design tools used by developers and the bot orchestrator that schedules work. It receives a deployed package, logs into the target applications, performs the recorded or scripted steps and reports results back. Understanding how runners are provisioned, licensed and monitored is central to scaling automation beyond a pilot.

How a bot runner executes automation

A bot runner executes automation by pulling a published bot package from a central control room, opening a Windows or virtual desktop session and replaying the workflow against real applications. The runner itself contains no business logic; it is an execution agent that interprets the package, drives the user interface through UI selectors or APIs and streams logs to the orchestrator.

A typical execution cycle follows a fixed sequence. The orchestrator assigns a job or a work queue item, the runner agent authenticates against the control room, retrieves credentials from a vault, launches the required applications and processes the item. When the bot finishes, the runner returns a status of success, business exception or system exception, and the orchestrator decides whether to retry, escalate or close the item.

The following table lists the main components that together form a working bot runner environment.

ComponentRoleTypical form
Runner agentReceives jobs and executes bot packagesBackground service on the host
Host machineProvides the desktop and applicationsPhysical PC, VM or VDI session
Runtime licenseAuthorizes execution on that machine or userNamed or concurrent license
Credential vaultSupplies application logins at run timeEncrypted store in the control room
Control room linkSends jobs and collects logsHTTPS connection to the orchestrator
Components of a bot runner environment

Attended and unattended bot runners

Bot runners come in two operating modes, and the distinction drives licensing, security design and cost. An attended runner works on an employee’s own desktop and starts when that person triggers it, while an unattended runner operates on a dedicated machine with no human present, usually around the clock.

Attended runners suit tasks that require human judgment midway, such as a contact center agent who launches a bot to gather customer data during a call. Unattended runners handle high-volume back-office work such as invoice posting or nightly reconciliation, and they depend on the orchestrator for scheduling and automatic session login. Many organizations combine both in hybrid automation, where an attended bot hands a case to an unattended queue.

The comparison below summarizes the practical differences between the two modes.

AspectAttended runnerUnattended runner
TriggerUser action or desktop eventSchedule, queue or API call
HostEmployee workstationDedicated VM or server session
SessionRuns in the logged-in user sessionOpens its own session automatically
Typical workloadShort assistive tasksLong batch and queue processing
Licensing costLower per runnerHigher per runner
Main riskInterference from user activityUnnoticed failures overnight
Attended versus unattended bot runners

The bot runner is defined most clearly by contrast with the other roles in an RPA platform. Vendors such as Automation Anywhere use Bot Creator and Bot Runner as distinct license types, UiPath separates Studio from Robot, and Blue Prism distinguishes interactive clients from runtime resources. The naming differs, but the architecture is consistent: design, execution and control are separated.

RoleMain purposeWho uses it
Bot creator or studioDesign, build and debug botsRPA developers and citizen developers
Bot runnerExecute published bots in productionBusiness users or unattended machines
Bot orchestratorSchedule, monitor and govern runnersOperations and center of excellence teams
Work queueHold items waiting for processingShared by orchestrator and runners
Roles in a typical RPA platform

A common misconception treats the runner as a software robot in its own right. Strictly, the software robot is the automated worker defined by the bot package, while the runner is the environment that hosts it. One runner can execute many different bots in sequence, and one bot can be deployed to many runners for parallel throughput.

Sizing and configuring bot runners

Correct sizing ensures that the number of runners matches the workload and the service levels the business expects. The calculation starts from transaction volume, average handling time per item and the available execution window, then adds a buffer for retries and peaks, often in the range of 15 to 30 percent.

For example, 6,000 items per day at 2 minutes each require 200 runner hours. With a 20-hour daily window, that equals 10 unattended runners before any buffer. Configuration then covers screen resolution, display scaling, regional settings and application versions, because selectors and image-based automation break when the runner differs from the development machine.

The decision table below shows how common situations translate into runner choices.

SituationRecommended setupReason
Agent needs data during a live callAttended runner on the agent desktopHuman stays in control of the case
Large nightly batch with fixed deadlinePool of unattended runnersParallel processing meets the window
Legacy app only in CitrixRunner inside the virtual desktopAvoids fragile image-based automation
Seasonal volume peaksElastic VM pool with concurrent licensesCapacity scales without idle cost
Choosing a runner setup

Common bot runner failures and safeguards

Most production incidents in RPA originate on the runner rather than in the bot logic. Environment drift, such as an unannounced browser update or a changed screen resolution, is the leading cause, followed by expired credentials and locked user sessions.

SymptomLikely causeFix
Selectors fail on one machine onlyDifferent resolution or scalingStandardize runner images
Bot stops at login screenPassword expired or account lockedRotate credentials through the vault
Jobs pile up in the queueToo few runners or hung sessionsAdd capacity and session timeouts
Black screen in remote sessionSession minimized or disconnectedKeep a console session or use a virtual display
Typical runner problems
  • Use a golden image for every unattended runner so that all hosts behave identically.
  • Grant least privilege to runner accounts and log every credential retrieval.
  • Monitor heartbeat signals from each runner and alert when one goes silent.
  • Patch runners in a controlled window and regression-test critical bots afterward.

Stripped to the essentials

A bot runner is the place where a finished software robot actually does its work. Developers build the robot on one computer, and then the robot is sent to a runner, which is another computer or user account that carries out the steps for real.

Think of a recipe and a kitchen. The developer writes the recipe, and the runner is the kitchen where the cooking happens. Some kitchens are staffed, so a person starts the cooking when needed, and others run on their own through the night. The key point is simple: more runners mean more work done at the same time.

Where it is applied

A shared services center for a mid-sized insurer processes about 4,500 claim intake forms per day. Each form takes a bot roughly three minutes to read, validate and enter into the claims system, which equals 225 runner hours daily.

The operations team deploys 12 unattended bot runners on identical virtual machines, each with a 20-hour execution window, plus two spare runners for retries. A separate group of 40 claims handlers uses attended runners to pull policy details into their screens during customer calls.

After standardizing runner images and moving credentials into the vault, the team reduced failed jobs from 6 percent to under 1 percent and cleared the daily backlog before 7 a.m. on most working days.