Skip to content
Ask for a Budget
NewsNovember 4, 20264 min readUpdated on November 11, 2026

A plain bot beats an AI agent on a lab report portal with no integration

On a lab portal, a plain bot was faster and cheaper than an AI agent and missed no reports; see when the agent pays off.

A plain bot beats an AI agent on a lab report portal with no integration
Índice do artigo
faltam 3 min de leitura

A study from UNISC (University of Santa Cruz do Sul, in southern Brazil), published on November 2, 2026, had a bot and an AI agent download reports from the same lab portal with no integration. The bot was about thirteen times faster, about six times cheaper per report and did not leave any report behind. For anyone buying automation, an AI agent is not the automatic choice.

Before approving an agent budget to automate a portal, make two lists: the portals the team opens by hand every day, with the monthly volume of each one, and how many times each one changed its screens in the last 12 months. A stable portal with high volume is the study's case, and there the bot won. Several portals changing frequently is the case the study did not test, and it is where the agent may pay off.

What the study compared

Both sides did the same task for a breast care clinic in Porto Alegre: log into the lab portal, find each patient and download the missing breast reports from 2024 and 2025. On one side, a bot (RPA, a program that repeats clicks and typing in a fixed script). On the other, an AI agent, software that reads the screen and decides the next click on its own, built on Google's Gemini 2.5 Flash-lite model.

There were 69 patients, processed twice seven days apart, to see whether the behavior held. The work is a preprint (a study published before review by other researchers).

Time, cost and missed reports

MeasureBot (RPA)AI agent
Average time per patient16.07 s207.21 s
Cost per report downloadedUS$ 0.030US$ 0.187
Due reports that were downloaded100%96.48%
Improper downloads511
Variation between the two rounds in reports downloaded0.00 points7.04 points

Preprint arXiv:2611.03853v1, submitted on November 2, 2026; results combined across both rounds. Cost per report includes infrastructure and model usage. Checked on November 4, 2026.

At volume, a thousand patients processed in sequence take 4.5 hours on the bot and 57.6 hours on the agent.

There is also a limit that weighs on the timeline: the agent only processed up to 16 patients per day, because the authors had few access keys to the model and each key's call quota only renewed the next day. The bot had no such cap. With more keys or a larger quota plan, the ceiling rises, but the study did not test that.

In money, a thousand reports cost R$ 165 (Brazilian reais) on the bot and R$ 1,027 on the agent, at the dollar exchange rate indicated in the sources. The calculation applies to the model and usage price in that study.

The error that matters is the missed report. The agent left five due reports undownloaded, all in the first round; in the second, with the same screen and the same patients, it missed none, and the authors do not explain the difference. An extra download becomes cleanup work. A breast report that does not arrive is a report nobody at the clinic reads in that cycle, and it only surfaces if someone checks by hand.

When the agent may be worth it

The study used a single portal, which did not change its screens during the test, a single main model, small and cheap (with a backup model triggered only when the main one was unavailable or hit its call limit), and a small sample; five reports show the type of failure, not its frequency. The agent's promised advantage, adapting to a screen that changed, was not measured, and neither was the effort of maintaining each solution.

That is why the result does not apply to anyone operating several portals from health plans, insurers or city governments, each changing on its own schedule: that is the scenario where the bot breaks, as we showed in My ERP has no API (an API is the connection through which one system talks to another). It also matters little for anyone processing a few dozen patients per day, as long as they buy a model call quota larger than the study's: with it, at that volume the agent fits in one overnight run. With the study's quota, 16 patients per day was the ceiling.

Health data decides where the automation runs

With the agent, the page content, with patient names and reports, passes through the AI model's service so it can decide the next click. With the bot, the data stays on the machine where it runs. Health data is sensitive personal data under the LGPD, Brazil's data protection law (article 5, item II), handled under the rules of article 11. That does not decide the choice on its own, but it decides where the model can run and what contract needs to exist with whoever operates it.

The study did not disclose the cost of building, maintaining, securing and bringing either solution into LGPD compliance. Those are the numbers the clinic or lab needs to ask for in each proposal before comparing price.

That is the assessment X-Apps does before automating: it maps the portals the team accesses by hand, measures volume and how often screens change, and recommends a bot where the screen is stable and an agent where there are too many portals changing, with health data running on the client's infrastructure.

Of the portals your team opens by hand every day, how many changed their screens in the last 12 months, and how many reports go through each one in a month?

Sources and method: preprint arXiv:2611.03853v1 (UNISC and a breast care clinic in Porto Alegre, funded by FAPERGS, the Rio Grande do Sul state research foundation), submitted on November 2, 2026, not peer reviewed. Exchange rate from the selling PTAX (the Brazilian central bank's reference rate) of November 3, 2026 (R$ 5.4935). LGPD, articles 5, II, and 11. Hours and reais per thousand are our own calculation. Checked on November 4, 2026.

Previous post
Outside AI shopping agents barely sell on DoorDash: hold the budget
Next post
AI that takes over an inherited system gets almost every request wrong, study finds
Newsletter

One email a month, no noise

What we learn shipping custom software and applied AI.

Related articles

An AI vendor took 84 days to report: what to put in the contract6 min · News
The US$ 500 ChatGPT for developers: cost and risk for client code5 min · News
AI that sorts tickets costs pennies: what else goes into the bill6 min · News
AI that reads very long documents can cost twice as much at OpenAI4 min · News
Your site may be out of ChatGPT search without anyone deciding it4 min · News

Accelerate your business with X-Apps

Ask for a Budget
X-Apps is an IT provider partner and advised by
Gartner
Receive our e-mails
News on software and applied AI.
Follow X-Apps