> ## Content Index
> Fetch the complete content index at: https://seeinglikeanagent.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# GUI or API: how does an AI agent choose?
- URL: https://seeinglikeanagent.com/gui-or-api/
- Published: 2026-11-14T03:00:00.000Z
- Updated: 2026-11-17T09:28:10.000Z
- Description: They're forgettable acronyms, but they matter.
- Author: Todd Hewitt
- Tags: One Question

AI agents continuously face the choice of GUI and API when they access a business's website. Because they're built to prioritise the path of least resistance, they try the API first. 

Most businesses don’t have their own API, so the agent has to use the website. Usually it reads the page’s text and code without loading it on screen. However, when it needs to fill in a form, log in or check out – in short, interact with the website's elements – it clicks through like you or I would. That’s slower, so it’s the fallback.

## What in the acronym are we talking about?

**GUI** stands for **graphical user interface**: the pages, menus and buttons on a screen. **API** stands for **application programming interface**: a fixed list of requests one program can send another, with set answers. 

If you’re on Skyscanner searching for flights to take you anywhere away from your desk as soon as possible, the prices you’re seeing are pulled from APIs. Skyscanner asks airlines and travel agents for prices, machine to machine, and gets a raw list of fares back. It doesn't take the most technically savvy to see how much faster this would be than clicking through the GUI. 

![Skyscanner search results for flights from Perth to anywhere in November 2026, showing destinations with their lowest fares, such as Indonesia from $170 and Australia from $182.](https://storage.ghost.io/c/68/b6/68b60a5e-838f-4481-ad0b-a1a4833450da/content/images/2026/11/Screenshot-2026-11-03-at-5.04.37---pm.png)

## Agents use both

[Anthropic's documentation](https://platform.claude.com/docs/en/agents-and-tools/computer-use?ref=seeinglikeanagent.com) describes Claude taking screenshots, moving the mouse, clicking and typing. Websites are, at least for now, built for people, but agents can use them in the same way. 

Certain requests will require an agent to use the GUI. Say you want, in what may become a routine part of our agentic internet future, to book a table for you and your mates at a popular restaurant. You ask your agent to check the available times, pull the menu and look for gluten-free and vegetarian options, because unfortunately both Lily and Megs have said they’re coming. The booking might go through a platform with an API. The menu often won’t: it’s a PDF or a photo on the restaurant’s own site. So the agent has to open the website and read it the way you would.

You can already see how this would take longer, and likely burn more tokens, than an API call.

Microsoft researchers compared the two approaches in [a 2025 paper](https://arxiv.org/abs/2503.11069?ref=seeinglikeanagent.com). With an API, an agent can often finish a task in one call. It’s clean and efficient, the kind of AI execution your boss’s boss thinks all AI does. A GUI agent takes more steps, makes more errors and can break when a redesign moves things. In return, it can work almost any software with a screen.

Researchers at Carnegie Mellon [tested this on websites](https://aclanthology.org/2025.findings-acl.577/?ref=seeinglikeanagent.com). They set agents everyday web tasks on copies of real sites: managing code projects, posting to forums, shopping, planning trips. An agent that could only use APIs beat one that could only browse. A hybrid that could do both beat them. It used a site’s API where there was one and opened the browser where there wasn’t. 

## What this means for businesses

If you’re a business owner, ask yourself whether you want agents to choose you when they shop in your industry. If you do, the question is how an agent reaches you without clicking through your website.

Big businesses can build their own way in. Booking.com, Expedia and Spotify all have apps inside ChatGPT. Most small businesses won’t have the resources for that. But that doesn't mean you're out of the game.

Platforms like Shopify let stores skip the GUI. Shopify feeds its merchants’ products into ChatGPT through Shopify Catalog. The customer browses and compares products inside the chat, and leaves only to confirm the purchase through checkout. There’s a catch for Australian businesses: ChatGPT takes Shopify stores based anywhere, but only if they sell to US customers. Google has gone live in Australia, but so far only with a handful of big retailers, including Bunnings, Kogan and The Iconic. 

So for many businesses, right now, agents are using the GUI to source information on you. 

Chrome has been testing [WebMCP](https://developer.chrome.com/docs/ai/webmcp?ref=seeinglikeanagent.com). Effectively, it’s a handshake with a bot that says: *You can be yourself; you don't have to pretend to interact like a human*. The website declares what its forms and buttons do, so the agent uses them as intended instead of guessing. That lowers the risk of errors when an agent works through a visual website. It also matters for the business with no API, because WebMCP can work by annotating the forms a site already has. One of Chrome’s own demos is a restaurant booking page. Lily and Megs could get their table through the restaurant’s own form, without the agent guessing what any of it means. 

0:00 

/0:19 

1× 

An agent booking a table on Chrome’s Le Petit Bistro demo, 4 November 2026

It’s still a trial, and the agent has to be on the site, in a browser, to use it. The internet has spent years keeping bot traffic away, so this is a realignment to enable agentic search.

How fast will this roll out, and will the businesses that make themselves easy for agents early be the ones agents choose first?

**One Question* is a series of answers to questions that come up in my working day, researched in my own time.*