The automation conversation in most enterprises has moved from “should we do RPA” to “should we do agents”, as if the second replaced the first. It has not. They solve different problems and their economics are different, and the most useful way to choose between them is to look at how each one fails when the input is not what it expected.
The short version: RPA is a script that assumes a stable interface and stops at the first deviation. An agent interprets the situation and adapts, which means it handles variance and also means its failures are harder to predict and to bound.
What RPA is actually good at
Robotic process automation excels at high-volume, low-variance, deterministic work against a stable interface: moving records between systems, extracting fields from a consistent form, triggering a downstream process when a file appears. The economics are excellent because the per-transaction cost is near zero once the bot exists, and the behaviour is auditable step by step.
Its weakness is brittleness, and it is a well-understood weakness. When the vendor changes the layout of a screen or renames a field, the bot fails at a specific instruction and produces a specific error. The failure is loud, localised, and fixable by one person in an hour. That predictability is worth a lot in a regulated process, and it is routinely undervalued by teams chasing newer technology.
What agents are actually good at
Agents handle variance: documents that arrive in many layouts, requests phrased in natural language, tasks where the sequence of steps depends on what is found. They read the situation and choose an action, which is exactly what a fixed script cannot do. The cost per transaction is materially higher because every decision involves a model call, and the behaviour is auditable only if you log it properly.
Their weakness is the mirror image of RPA’s strength. An agent does not usually fail at a specific instruction. It drifts: it picks a plausible but wrong field, it interprets an ambiguous instruction generously, it completes the task in a way that looks right and is wrong in one detail. These failures are quiet, and quiet failures in a financial process are the expensive kind.
The variance test
Before choosing, measure how much the inputs vary. Take two hundred real cases and count how many distinct layouts or phrasings they represent. If ninety percent of them look the same and the remainder are near variants, RPA with a small exception queue will be cheaper and more predictable. If the inputs genuinely arrive in dozens of shapes, a script will spend its life in the exception branch and an agent’s interpretation is worth paying for.
The second measurement is the cost of a wrong output. If a wrong extraction is caught by a downstream reconciliation, the risk is low and autonomy is cheap. If a wrong output goes straight into a payment or a regulatory filing, the agent needs a verification stage, and that stage has to be counted in the comparison.
Hybrid designs beat either pure form
The practical answer for most document-heavy processes is a pipeline: an agent handles the variable front end, normalising messy inputs into a structured record; deterministic code validates and transforms that record; RPA or an API call moves it into the target system. Each stage does what it is good at, and each failure mode stays local to its stage.
This structure also makes the agent’s errors visible cheaply. Because the record is validated by deterministic rules before anything irreversible happens, a misinterpretation is caught by a range check rather than by a customer. The agent’s flexibility is preserved and its failure blast radius is bounded by the validation layer.
Operational differences nobody mentions in the pitch
RPA scales by adding bots and licences, which is a predictable cost line. Agents scale by adding model calls, which is a cost line that varies with input difficulty and is harder to forecast. RPA needs a maintenance rota for breakage; agents need a monitoring setup for drift, because their quality degrades gradually as input distribution changes and nothing throws an error.
Both need exception handling, but the shapes differ. RPA’s exception queue is usually “the bot stopped, here is the case”. An agent’s queue is “the agent finished with low confidence, here is the case and its reasoning”. Designing the second queue well is the difference between an agent that improves over time and one that quietly accumulates wrong work.
A worked example: the same invoice process twice
Fifty thousand supplier invoices a month, four hundred suppliers, of which twelve account for most volume and produce consistently formatted documents. RPA with templates handles seventy percent of volume with near-zero per-transaction cost, routes thirty percent to exception review, and fails loudly when a template stops matching.
Replace the front end with an agent and coverage rises to ninety percent, but per-transaction cost is now measurable and the confidence signal is doing the routing. The twelve large suppliers got no cheaper to process, and the long tail got cheaper than the exception queue it replaced. A hybrid, agent for the tail and templates for the head, usually beats both full versions on cost without losing coverage.

What to check before you commit
- Measure input variance across two hundred real cases before choosing an approach.
- Price a wrong output; if it is irreversible, add a deterministic validation stage.
- For stable interfaces and high volume, prefer RPA and accept the maintenance rota.
- For genuine variance, use an agent but log every decision and its confidence.
- Design the exception queue as a first-class interface, not a folder of failures.
- Forecast agent cost from measured tokens per case, not from per-token price.
The question is not which technology is newer. It is how much variance you actually have and how much a wrong answer costs. Answer those two and the choice usually makes itself, with the hybrid pipeline winning more often than either camp expects.