WebRelay framework targets verifiable long-horizon browser tasks
Researchers introduce WebRelay to prevent browser agents from hallucinating by using a plan-first synthesis framework for verifiable web navigation.
Source: Grafy Research LabWeb-based AI agents often struggle with complex, multi-step tasks that require gathering information across different websites and synthesizing that data into a final result. The WebRelay framework addresses this by prioritizing a structured planning phase to ensure that every step an agent takes is verifiable and grounded in actual page content rather than internal model memory.
Why do browser agents struggle with long tasks?
According to researchers Chenting Xu et al., current browser agents frequently face two major hurdles when performing "long-horizon" tasks. The first is the tendency to rely on parametric knowledge—information the model learned during its initial training—rather than the live data present on the webpage. This can lead to results that look plausible but are factually unsupported by the specific site the agent is visiting.
The second challenge involves how these agents are evaluated. The authors note that many current grading systems only look at the final answer provided by the agent. This "answer-only" approach fails to detect errors in the execution process, such as an agent taking a wrong turn or misinterpreting data midway through a multi-site journey. Without checking the trajectory of the agent, it is difficult to know if the final output is truly reliable.
How does the WebRelay framework work?
To solve these issues, the researchers developed WebRelay, which they describe as a "plan-first, phrase-last" synthesis framework. Instead of allowing an agent to wander through websites aimlessly, WebRelay begins by locking in a specific route and a set of deliverables before the agent even begins browsing.
According to the paper, the framework operates over a typed information-flow graph consisting of 517 sites. This graph allows the system to define cross-site routes and "trajectory-checkable requirements." By establishing these requirements upfront, the system can verify that the agent is actually following the intended path and collecting the necessary intermediate values required to complete the task. This structured approach ensures that the final synthesis is built on a foundation of verifiable evidence gathered during the navigation process.
What makes this approach verifiable?
Verifiability in WebRelay comes from the ability to check the agent's progress against the pre-defined plan. By using a graph of information flow, the framework can monitor whether the agent is successfully moving from one piece of evidence to the next.
Rather than just checking if the final document or answer is correct, the framework validates the intermediate steps. This prevents the agent from "hallucinating" a connection between two pieces of data that does not actually exist on the web. By forcing the agent to adhere to a plan that is mapped out across a complex network of sites, the researchers aim to bridge the gap between simple web searches and complex, multi-step digital workflows.
How does this impact the future of web agents?
This research suggests a shift in how developers build and test autonomous agents. As tasks move from simple queries to complex workflows—such as researching a topic across multiple academic databases and then compiling a report—the need for "plan-first" architectures becomes critical.
By moving away from reactive browsing and toward structured, graph-based planning, agents can become more reliable tools for researchers and professionals. The ability to verify the "trajectory" of an agent means that users can trust not just the final output, but the entire process used to reach it, reducing the risk of misinformation in automated workflows.
Applying agentic workflows in Grafy
For users interested in seeing how autonomous browsing can be applied to real-world tasks, the Operator app in Grafy serves as a practical implementation of a browsing agent. While WebRelay focuses on the underlying research of verifiable planning, the principles of using agents to navigate the web and perform tasks are central to the experience of using an automated browser. Researchers can also use Reader to dive deeper into technical papers like this one, utilizing AI to query and synthesize complex academic findings directly from the source material.
Frequently asked questions
What is the primary goal of the WebRelay framework?
The primary goal of WebRelay is to enable browser agents to perform long-horizon tasks that are verifiable and grounded in live web content. It aims to prevent agents from relying on their own internal training data instead of the actual information found on websites, ensuring that multi-step tasks are completed accurately and through a traceable process.
How does WebRelay prevent agents from hallucinating?
WebRelay prevents hallucinations by using a plan-first approach that establishes a structured route and specific requirements before the agent starts browsing. By checking the agent's trajectory against a typed information-flow graph, the framework ensures that every piece of data used in the final synthesis is actually retrieved from the web rather than invented by the model.
Why is answer-only grading insufficient for browser agents?
Answer-only grading is insufficient because it fails to capture errors made during the execution of a task. An agent might provide a correct final answer through an incorrect or unverified process, or it might miss critical intermediate steps. WebRelay addresses this by evaluating the entire trajectory of the agent, ensuring the process itself is sound and verifiable.
Source: https://arxiv.org/abs/2612.02298


