AI Web agents ditch clicking buttons, talk directly to servers through APIs to get tasks done faster.
Original Problem π―:
Web agents primarily rely on browser interfaces designed for humans, making them inefficient for machine-to-machine interactions. Current web browsing agents achieve limited success rates due to complex GUI navigation and accessibility tree limitations.
Solution in this Paper π§:
β’ Introduces two agent types: API-Based Agent and Hybrid Agent
β’ API-Based Agent directly communicates with web services through documented APIs
β’ Hybrid Agent combines API calls with web browsing capabilities
β’ Implements two-stage documentation retrieval for large API sets
β’ Uses GPT-4 to generate documentation for undocumented APIs
β’ Leverages OpenHands framework for agent evaluation and development
Key Insights from this Paper π‘:
β’ APIs offer more efficient task completion compared to browser-based interactions
β’ API availability and quality significantly impact agent performance
β’ Hybrid approach provides flexibility to handle both API-supported and unsupported tasks
β’ Well-documented APIs lead to higher success rates in task completion
β’ Manual API integration remains a current limitation
Results π:
β’ Hybrid Agent achieves 35.8% success rate on WebArena benchmark
β’ API-Based Agent outperforms browsing agents by 15% on average
β’ Hybrid Agent shows 20% absolute improvement over web browsing alone
β’ Best performance on GitLab (44.4%) and Map (45.9%) tasks
β’ Reduced number of steps: API agent (7.8) vs Browsing agent (8.4)
π How do the three types of agents (Browsing, API-Based, and Hybrid) compare in performance?
Browsing Agent: 14.8% average success rate using only web browsing actions
API-Based Agent: 29.2% average success rate using only API calls
Hybrid Agent: 35.8% average success rate by combining both methods The Hybrid Agent outperforms both other approaches by dynamically switching between API calls and web browsing based on task requirements.




