Agents in production

Platform integration

Why RPA doesn't scale for AI agent access

Three options when your APIs can't support agents: rebuild, bespoke connectors, or generation. Honest cost, timeline, and trade-offs for each.

4 minute read
Decorative imagery showcasing Pontil's brand

Robotic process automation was built for a world of deterministic, scripted tasks. You define the steps. The script executes them. Every run is identical.

AI agents are different. They're probabilistic. They reason about what to do given the current context. The sequence of steps they take depends on what they observe. Their behaviour can't be fully scripted in advance because their decisions adapt to the situation.

This mismatch is why RPA doesn't scale for agent access. It's not a tooling problem or a configuration problem — it's an architectural mismatch. Understanding why helps you build agent tooling that doesn't inherit the failure modes.

What RPA was built for

RPA emerged to automate high-volume, repetitive processes that were previously done manually. Claims processing. Data entry. Report generation. Invoice matching. The tasks that consume human time precisely because they follow a defined, repeatable pattern.

The key word is repeatable. RPA excels when the same sequence of actions produces the correct result every time. The automation is brittle by design — any deviation from the expected state causes it to fail — because it was built to operate in a controlled, predictable environment.

For those use cases, RPA is a good tool. The brittleness is a feature: it prevents the automation from doing something wrong when the environment deviates from expectations.

What AI agents require

AI agents are being deployed to handle tasks that aren't fully deterministic. A customer service agent handles inquiries that vary in content, context, and required response. A financial operations agent processes transactions that require judgment about categorisation, routing, or exception handling. A sales agent manages pipeline tasks that depend on the current state of a deal.

These tasks share some structure, but the exact sequence of actions varies. The agent has to reason about what to do, not execute a fixed script.

This creates three requirements that RPA fails to meet.

Dynamic tool selection. The agent needs to decide which tool to call based on the current context, not follow a pre-defined sequence. RPA doesn't have a selection mechanism — it has a script.

Error handling with judgment. When something unexpected happens, an agent needs to reason about whether to retry, escalate, take an alternative path, or stop. RPA's error handling is a set of predefined branches — it can't handle situations its script didn't anticipate.

State awareness. Agents maintain context across a multi-step task. They remember what they've done, what the results were, and what they need to do next. RPA operates step-by-step without a persistent model of the task state.

The brittleness problem at scale

RPA's brittleness — tolerable for scripted processes in controlled environments — becomes acute when agents enter the picture.

Agents generate more varied invocation patterns than human operators. They may call a workflow in a context the RPA script didn't anticipate. They may pass inputs that are valid for the task but unexpected for the script. They may call the same endpoint far more frequently than a human user would.

Each of these variations is a potential breakage point. And unlike a human operator who notices when something has gone wrong, an agent may continue producing wrong results for an extended period before the failure surfaces.

The maintenance burden compounds. Each product update is a potential RPA breakage. Each new agent behaviour is another way the script might fail. The team maintaining the RPA layer spends increasing time on upkeep rather than new capability.

What the alternative architecture looks like

The right architecture for agent access separates three concerns that RPA conflates: what the agent can do (tool definitions), how the agent decides what to do (the model and orchestration layer), and how the tools are executed reliably (the runtime).

Tool definitions are structured, typed descriptions of what actions are available and what inputs they require. The agent reasons about which tool to call; the tool handles the execution. The definition is separate from the orchestration.

Deterministic execution at the runtime layer means that a given tool called with given inputs produces a consistent result. The agent handles the reasoning; the runtime handles the reliability. Retries, timeouts, and failure propagation are concerns of the runtime, not the agent.

Maintenance aligned with the product SDLC. When the product changes, tool definitions update alongside the product change — triggered by the same CI process, not discovered when the next agent invocation fails.

This architecture scales with agent complexity in a way that RPA doesn't. Adding a new agent capability means adding a new tool definition, not extending a script. Handling a new edge case means improving the model's reasoning, not branching the RPA script.

The transition question

If your team has existing RPA infrastructure and is moving into agent-based automation, the question isn't whether to replace RPA — it's which tasks each is right for.

RPA remains appropriate for truly deterministic, high-volume, low-variance processes that don't benefit from agent reasoning. Keep it where it works.

For tasks that require judgment, dynamic sequencing, or adaptation to context, the architecture needs to support the agent's actual capabilities. That means structured tools, deterministic execution, and maintenance that keeps pace with the product — not a script that breaks the first time the agent goes off the expected path.

Join our weekly newsletter

Stay up to date on the ever changing agentic landscape.

POSTS

Related content

No items found.