XPath Agent: An Efficient XPath Programming Agent Based on LLM for Web Crawler

Yu [email protected], Bryce WangStanford [email protected] [email protected] · 2025

Read XPath Agent: An Efficient XPath Programming Agent Based on LLM for Web Crawler by Yu [email protected], Bryce WangStanford [email protected] [email protected] (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-15688.txt.

Description

Yu Li, Bryce Wang, and Xinyu Luan present in 2024 a language model agent that writes web scraping queries on its own. Given sample pages and one plain request, it produces the XPath expressions a crawler needs. Hand writing those expressions is slow, fiddly work, and rival agents burn many tokens.

Benchmarks against a leading rival show equal results with far fewer tokens and faster runs. A two stage pipeline lets the tool slot into existing crawler or interface testing flows. The code is public. The catalog lists the work under 2025; the head dates it 2024.

Catalog record

CREATORYu [email protected], Bryce WangStanford [email protected] [email protected]
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE25 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-15688

Browse the full library · About the Tower of Babel