Beyond Browsing: API-Based Web Agents

Web browsers are a portal to the internet, where much of human activity is undertaken.Thus, there has been significant research work in AI agents that interact with the internet through web browsing.However, there is also another interface designed specifically for machine interaction with online content: application programming interfaces (APIs).In this paper we ask -what if we were to take tasks traditionally tackled by Browsing Agents, and give AI agents access to APIs?To do so, we propose two varieties of agents: (1) an API-calling agent that attempts to perform online tasks through APIs only, similar to traditional coding agents, and (2) a Hybrid Agent that can interact with online data through both web browsing and APIs.In experiments on WebArena, a widely-used and realistic benchmark for web navigation tasks, we find that API-Based Agents outperform web Browsing Agents.Hybrid Agents outperform both others nearly uniformly across tasks, resulting in a more than 24.0%absolute improvement over web browsing alone, achieving a success rate of 38.9%, the SOTA performance among task-agnostic agents.These results strongly suggest that when APIs are available, they present an attractive alternative to relying on web browsing alone. API Calling

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.577
Citations
1
Primary Topic
Multi-Agent Systems and Negotiation
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Beyond Browsing: API-Based Web Agents

Frank F. Xu, Graham Neubig, Yueqi Song, Shuyan Zhou
1 citations
Multi-Agent Systems and Negotiation
2.48
article

Beyond Browsing: API-Based Web Agents

Frank F. Xu, Graham Neubig, Yueqi Song, Shuyan Zhou
article en
1 citations

Abstract

Web browsers are a portal to the internet, where much of human activity is undertaken.Thus, there has been significant research work in AI agents that interact with the internet through web browsing.However, there is also another interface designed specifically for machine interaction with online content: application programming interfaces (APIs).In this paper we ask -what if we were to take tasks traditionally tackled by Browsing Agents, and give AI agents access to APIs?To do so, we propose two varieties of agents: (1) an API-calling agent that attempts to perform online tasks through APIs only, similar to traditional coding agents, and (2) a Hybrid Agent that can interact with online data through both web browsing and APIs.In experiments on WebArena, a widely-used and realistic benchmark for web navigation tasks, we find that API-Based Agents outperform web Browsing Agents.Hybrid Agents outperform both others nearly uniformly across tasks, resulting in a more than 24.0%absolute improvement over web browsing alone, achieving a success rate of 38.9%, the SOTA performance among task-agnostic agents.These results strongly suggest that when APIs are available, they present an attractive alternative to relying on web browsing alone. API Calling

Carnegie Mellon University (US)
Openalex Percentile: Top 9%
Multi-Agent Systems and Negotiation
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.