AI AgentsAI Research Brief source

Webwright: Why AI Web Agents Should Write Code, Not Click

AI-generated summary of reporting by Towards Data Science Blog. Read the original for the full story. The source provided limited text, so this summary is brief.

Why it matters

Web agents that write and reuse code instead of clicking could make long automation tasks far more reliable, shifting how teams build browser automation.

Read this as

Webwright is a research approach from Microsoft Research where an AI controls websites by writing a program in a terminal, rather than clicking like a human would. On long, multi-step tasks, the GPT-5.4 model succeeded 60.1% of the time with Webwright versus 33.5% with the clicking approach. The side benefit is that the AI leaves behind a reusable command-line tool rather than a useless record of clicks. No availability details are given, as this is a research result.

Microsoft Research's Webwright suggests browser-automation products built on click-by-click agents are structurally fragile on long tasks. The same GPT-5.4 model improved from 33.5% to 60.1% success when writing code instead of clicking. Vendors selling browser agents would need to justify that approach; buyers may favour code-generating automation that also produces reusable tools. No product availability or pricing is stated.

Webwright replaces the dominant UI-automation agent paradigm with code generation: the model gets a terminal and writes a program that performs the web task, rather than emitting per-step clicks. Using GPT-5.4, success on long-horizon tasks rises from 33.5% to 60.1%. Each run yields a reusable command-line artifact instead of a click trace. The article reports no code release, baselines, or evaluation details.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Webwright Microsoft Research GPT-5.4 Towards Data Science

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading