NotesMethodAgentic AI systems

Agentic AI or RPA: when each one fits

A robot repeats a route. An agent chooses one. Use each where the work needs it, and a rule before either.

By eqlx · AI and machine-learning engineeringPublished 5 min read

Use robotic process automation (RPA) when the input is structured and the route is the same every time. Use an agentic AI system when the input has to be read, or when the next step depends on what the last one found. Many desks need both, side by side, and many steps need neither: a rule or a direct integration does the job with fewer moving parts.

What RPA does

An RPA robot repeats the steps a person takes in business applications: it opens a screen, copies a field, fills a form, presses a button, in the order it was configured to follow. It applies no judgment. Given the same input, it does the same thing.

That is its strength. A robot's behavior can be tested step by step, its cost per run is predictable, and its log reads like a checklist. It can also work with old systems that offer no programming interface, because it uses the same screens a person uses.

It is also its limit. A robot cannot read a letter it has never seen, and it cannot decide what to check next. Researchers who set out to move past it put the gap plainly: “RPA struggles with tasks needing human-like intelligence,” and they name dynamic decision-making while a workflow runs as the place it falls short. And when a screen changes, the robot stops.

What an agentic AI system does

An agentic AI system puts a language model inside a written harness. The model reads unstructured input such as letters, emails, contracts, and scans, decides which tool to call next, and works through the case until it is done or a stop condition is met. One widely cited engineering guide draws the line this way: in a workflow, models and tools follow predefined code paths; in an agent, the model directs its own process and tool use.

The flexibility has a price. The same guide notes that agentic systems “often trade latency and cost for better task performance,” and that autonomy brings “higher costs, and the potential for compounding errors.” An agent is the right tool only where that trade buys something the work needs.

Side by side

  • Input. RPA expects structured fields in known places. An agent reads documents whose layout and wording vary.
  • Route. RPA follows the same route every time. An agent chooses its next step from what it finds.
  • How it fails. A robot stops when a screen changes, which is visible at once. An agent can produce a plausible but wrong output, so it needs checks: a schema, a rule, a comparison with the source, a sample reviewed by the institution's expert.
  • How it is tested. A robot is tested like code: same input, same output. An agent is tested on a set of real cases graded by the expert, and rerun after every change.
  • Security. A robot runs under its own account and does what it was configured to do. An agent reads text written by outsiders, and OWASP describes the risk: “Indirect prompt injections occur when an LLM accepts input from external sources, such as websites or files.” Its recommended defenses are minimum access privileges and human approval for privileged operations.

When each one fits

RPA, or better, a direct integration. Copying fields between two systems, building a scheduled report, a reconciliation where matching is exact. If the target system offers an interface, calling it directly is sturdier than driving its screens.

An agentic system. Cases where the documents decide the next check: supplier onboarding, where an ownership chain that does not match the registry leads to another lookup; a complaints desk, where every letter is worded differently; an exception investigation, where the evidence needed is not known until the first finding.

Both together. The common design: an agent reads the incoming document and turns it into structured fields with their sources; a rule checks them; an existing robot or an interface posts them into the system of record; exceptions go to a named person with the evidence gathered. An institution's existing robots can become tools the agent calls, each one named in its harness with the access it has.

Ask first whether either is needed

Before choosing, check whether a rule, a lookup, or a calculation is enough. A threshold check or a date comparison needs neither a robot nor a model. The order of preference stays the same: a rule or an integration when the logic can be written down, a fixed workflow when the steps are known, an agent only when the route cannot be known until the work starts.

What does not move

Whichever tool does the work, authority stays where it was. Inside the limit the institution writes, the work is completed in its own systems and every step is logged. Above it, the case arrives prepared, and the institution's expert approves or rejects it. An agent never grants itself a tool or a permission, never holds credit authority, never declines an insurance claim, and never closes a sanctions match. A robot works the same way: under its own account, with only the rights its steps need.

A test on your own cases

  1. Take a sample of recent closed cases, including the awkward ones.
  2. List each step the expert took and mark it: structured or unstructured input, fixed or dependent on a finding.
  3. Steps that are structured and fixed go to a rule, an integration, or a robot.
  4. Steps that need reading go to a model step inside a fixed workflow.
  5. Only stretches where the route keeps changing become an agent, with its harness written first.

Most desks find a mix. The test shows where each part belongs.

Sources

https://eqlx.ai/blog/agentic-ai-vs-rpa · Printed copy; the website is the current version.