Blog

AI agents vs. RPA: what actually changes.

A practical comparison from a team that has deployed both: where each architecture wins, where each one breaks, and how to choose for the workflow in front of you.

RPA platforms have been selling "intelligent automation" since 2019. AI agent platforms have been selling "the new automation" since 2024. Both claim to do roughly the same thing: automate repetitive business work. They are different things underneath, and pretending otherwise produces the worst kind of failed deployment, the kind the architecture was never going to support.

This piece is the version we wish more buyers had read before procurement. It is opinionated, because we have built both and watched both fail in characteristic ways.

What each one actually is

RPA (robotic process automation) is software that scripts a fixed sequence of UI actions: click here, type this, copy that value, paste it there, hit submit. It is deterministic by design. Given the same input and the same screen layout, it produces the same output every time. UiPath, Automation Anywhere, Blue Prism, and Microsoft Power Automate are the major players.

AI agents are software that uses an LLM (Claude, GPT, Gemini, or an open-weight model) plus a set of tools plus a reasoning loop to accomplish goals. They are probabilistic by design. Given the same input, they might take different paths to the same outcome, or recover from a failure mode the original developer never anticipated.

That difference, deterministic versus probabilistic, is the source of every other trade-off. RPA follows a fixed script. An agent runs a loop: plan, call a tool, read the result, decide the next step, repeat until the goal is met. That loop is what lets it adapt, and it is also what makes it harder to pin down in advance.

The comparison at a glance

Dimension RPA AI agents
Core behavior Deterministic. Replays a fixed sequence of UI actions. Probabilistic. Reasons through a plan-act-observe-decide loop.
Input it handles Structured, stable fields and screens. Unstructured email, chat, PDFs, transcripts, plus structured data.
Response to change Breaks when screens or forms change layout. Generalizes; reads the screen as it is now, even after the layout changed since last week.
Judgment Every decision must be coded explicitly. Reads the situation: urgency, fraud signals, escalation.
Cost per task Pennies per execution at scale. Higher per task; inference is real.
Latency Around 200 ms for a clicked-through workflow. Seconds, when it has to plan and reason.
Auditability Auditable down to the click for known inputs. Reasoning is auditable; behavior on unseen inputs is harder to predict.
Characteristic failure Crashes loudly and stops. Can fabricate; needs grounding and evals to contain it.

Where RPA wins

  • Volume and stability. Processing 10,000 identical invoices through an unchanging SAP screen? RPA does it cheaper and more reliably than any agent.
  • Deterministic compliance requirements. When a regulator wants the exact sequence of system actions, an RPA script is auditable down to the click. An agent's reasoning is auditable too, but answering "what would it do" for an unseen input is harder.
  • Cost at scale. Pennies per execution. Agents cost more per task, because inference is real.
  • Stable, well-defined legacy systems. A 30-year-old mainframe terminal whose screens have not changed since 2008 is the perfect RPA target.

Where RPA loses

  • Variability. The moment screens change layout, forms add fields, or inputs arrive in a slightly different shape, RPA breaks. Maintenance is the silent killer.
  • Unstructured input. Reading a customer email and figuring out what they want is out of reach for RPA. It needs structured fields.
  • Judgment. "Is this urgent?" "Does this look like fraud?" "Should this be escalated?" RPA requires every decision to be coded explicitly. Agents read the situation.
  • Long-tail variation. The 80% of cases an RPA bot handles is fine. The 20% it does not is where most failure modes live, and building exceptions for every variant is how RPA projects accumulate technical debt.

Where AI agents win

  • Unstructured input. Emails, chat messages, PDFs, voice transcripts, conversational interfaces. The agent reads, summarizes, and extracts intent.
  • Judgment-required workflows. Triage, prioritization, escalation, qualification, routing, anywhere a human used to be the dispatcher.
  • Variability tolerance. The screen changed? The form added a field? The customer asked the question differently? An agent generalizes where an RPA script would break.
  • Reasoning across systems. When the work requires pulling from CRM, checking inventory, comparing against contract terms, and drafting an answer that integrates all of it, an agent does this naturally. RPA needs a meta-script tying separate bots together.
  • Adapting to system changes. Software updates that would break an RPA script often do not faze an agent, because it reads what is there rather than what was there last week.

Where AI agents lose

  • Cost at very high volume. Inference per task is cheap but non-zero. At millions of executions per day on a simple task, RPA is dramatically cheaper.
  • Hard determinism. When a regulator demands a guarantee of the exact action sequence in advance, agents are a harder sell. Possible, but harder.
  • Hallucination surface area. Agents can fabricate. Mitigations exist (grounding, citation, eval harnesses, low-confidence routing) but the failure mode is real, where RPA's failure mode is simply "did not work, crashed loudly."
  • Latency for trivial tasks. An RPA bot can fire and forget a clicked-through workflow in 200 ms. An agent that has to plan and reason might take 5 seconds. For trivial work that matters.

A decision framework

Ask three questions about the workflow before you pick an architecture.

  1. Is the input structured and stable? If yes, lean RPA. If no, lean agent.
  2. Does the work require judgment, or is every decision explicitly rule-encodable? If rule-encodable, lean RPA. If it needs judgment, lean agent.
  3. Does the workflow change shape over time? If it has been stable for years, RPA's brittleness is not a problem. If you are touching a system that ships updates quarterly, an agent is much cheaper to maintain.

Two out of three "yes" points to RPA. Two out of three "no" points to an agent. A mixed answer is a signal to look more carefully, and to consider running both.

The hybrid pattern

The most successful enterprises we work with run both. RPA handles the mass-volume deterministic work where it is mature and cheap. Agents handle the judgment-required variable work where RPA would either fail or accumulate unmaintainable complexity. They share infrastructure (logging, monitoring, secrets management, identity) and deploy independently.

A practical pattern: an agent at the front of a workflow does the "read intent, qualify, decide what to do" work, then dispatches to an RPA bot for the high-volume deterministic execution. The agent brings judgment; the RPA brings cheap throughput. Together they cover more than either does alone. This is where loop engineering and harness engineering earn their keep: the loop is the agent's reasoning that decides what to do, and the harness is the production system around it (tool definitions, retries, guardrails, human checkpoints, and the dispatch path to the RPA bot) that makes the whole thing safe to run.

One real example from our practice: in our wealth management firm engagement, the agents on top use Playwright (which is closer to RPA in posture) to drive a legacy SaaS UI, while the reasoning layer uses an LLM to handle the variability of "what report does this VIP want, from which date range, for which client." Both architectures, one workflow, each doing what it is good at.

What this means for procurement

If you are sitting in a room with an RPA vendor and an AI-agent vendor pitching the same workflow, they are often both right and both wrong. The honest answer is workflow by workflow. A vendor who tells you "we replace all your RPA with agents" or "agents are just RPA with extra steps" is selling you their product rather than advising you on architecture.

The cleanest test: ask either vendor what their solution does when the input is unexpected. The RPA answer should be "logs an exception and stops." The agent answer should be "reads the unexpected input, decides what to do, and either handles it or escalates with reasoning." If an RPA vendor claims their bot can "handle anything," walk away. If an agent vendor claims deterministic SLAs on novel inputs, also walk away.

When to talk to us

If you have a workflow stuck between an RPA project that keeps breaking and a manual process that keeps growing, that is the sweet spot for an agent. Bring it. We will tell you honestly which architecture fits, including telling you to keep using RPA when that is the right answer.

More reading: What Is Agentic AI?, How Much Does an Enterprise AI Agent Cost?, Measuring AI Agent ROI. Also: Quantilus services and case studies.

A workflow that is neither pure RPA nor pure agent?

Most of them are. We will scope the hybrid that actually fits, and tell you honestly where RPA is still the cheaper answer.

Start a conversation