hwatu

A headless verification browser for AI coding agents: one-call checks, pixel diffs, and a clean hand-off to a human when needed.

Source repo
hongnoul/hwatu
Stars
★ 121
Last updated
2d ago
FARS reviewed
Nov 24, 2026
License
MIT
Primary language
Rust

At a glance

How it runs
CLIMCP server
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
webkitgtk-6.0Linux (macOS and Windows not yet supported)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A coding agent that just changed frontend styles uses hwatu batch to open the local dev server, click the main button, assert on .status text, and screenshot for a pixel diff without anyone watching the screen.
Not a fit if
  • Developers on macOS or Windows, which are targets but not yet supported
  • Teams wanting a visible GUI browser or recorded-script automation
  • Users expecting the tool itself to solve logins or CAPTCHAs automatically
Website
hongnoul.github.io/hwatu ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-22

What does this agent do, and when should you use it?

hwatu is a headless browser that runs on the user's own machine and is driven by coding agents through a CLI and an MCP server. It ships as a single binary built on WebKitGTK 6.0 and currently supports Linux only, with macOS and Windows listed as targets. Agents use it to open pages, pull a page snapshot with interactable refs, click, type, assert with polling, take screenshots for pixel comparison, and run a whole sequence in one batch call that waits on page state rather than fixed delays. When a login wall, an irreversible action, or a CAPTCHA appears, it returns a structured stop that the agent relays to the person, and show flips a headless window visible for real human handling. The installer drops the binary and checks for webkitgtk-6.0, while hwatu setup detects MCP clients such as Claude Code, Cursor, and Jcode and writes their config with --dry-run preview and --undo rollback.

hwatu launches a headless WebKit window locally from one binary: hwatu localhost:3000 opens a page and prints its id. hwatu snapshot exports page state as data with refs for interactable elements, which the agent then drives with hwatu click --ref 3, hwatu type --ref 5 "Test User", and asserts on with hwatu expect '.status' --text Saved. hwatu shot /tmp/after.png produces a screenshot for pixel diffs and hwatu show 1 makes window 1 visible. hwatu batch --stdin < steps.json collapses a sequence into a single call, advancing on page state instead of fixed delays and returning a result per step. Run as an MCP server (hwatu mcp), the same operations are exposed to an agent client as tools. Login walls return login_required; irreversible actions such as pay, place order, send, or delete return a stop with reason: "irreversible_action" until the agent retries with --confirm after the user confirms in the current session; CAPTCHAs are worked by the agent with challenge, shot, snapshot, click --trusted, and type, falling back to show for a human hand-off.

  1. A coding agent that just changed frontend styles uses hwatu batch to open the local dev server, click the main button, assert on .status text, and screenshot for a pixel diff without anyone watching the screen.
  2. An agent filling a signup form on a real page calls snapshot to get interactable refs, then click --ref and type --ref to fill fields and expect to poll until the save is confirmed.
  3. When an automated flow hits a login wall, login_required lets the agent stop and ask the user for the value once; the session persists so later steps keep running.
  4. For payments or deletions, the agent receives an irreversible_action stop and relays it; the step runs only after user confirmation in the current session with --confirm.
  5. Registering hwatu as an MCP server in Claude Code or Cursor so those clients can call the browser for UI verification while writing code.
  6. Facing a CAPTCHA or anti-bot check, the agent tries challenge and click --trusted, and falls back to show so a person can clear it.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/hongnoul/hwatu/main/scripts/install.sh | bash
Config files
steps.json
Install notes cover
Linux

How do you install or deploy this agent?

Linux is supported today. The installer places a single binary and checks for webkitgtk-6.0:

curl -fsSL https://raw.githubusercontent.com/hongnoul/hwatu/main/scripts/install.sh | bash

On Arch, install from the AUR; you can also build from source:

yay -S hwatu
cargo build --release

Check the install, then let setup detect your MCP clients. --dry-run previews changes and --undo reverts them:

hwatu doctor
hwatu setup
hwatu setup --dry-run
hwatu setup --undo

For manual MCP configuration, one entry is enough:

{ "mcpServers": { "hwatu": { "command": "hwatu", "args": ["mcp"] } } }

How do you use this agent?

Open a headless window; the command prints its id:

hwatu localhost:3000

Then snapshot, operate, assert, and capture:

hwatu snapshot
hwatu click --ref 3
hwatu type --ref 5 "Test User"
hwatu expect '.status' --text Saved
hwatu shot /tmp/after.png
hwatu show 1

Collapse a sequence into one call; batch waits on page state instead of fixed delays and returns a result per step:

hwatu batch --stdin < steps.json

Irreversible actions need the user's confirmation in the current session before the retry, for example with --confirm:

hwatu click --ref 7 --confirm

The full command set is in docs/agents.md in the repository.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • batch folds a whole verification sequence into one call and waits on page state instead of sleeping, cutting round-trips and flaky waits.
  • The human boundary is explicit and structured: login_required, reason: "irreversible_action", and challenge each tell the agent exactly where to stop and who must confirm.
  • Both a CLI and an MCP server are first-class, and hwatu setup detects Claude Code, Cursor, or Jcode and writes the config with --dry-run preview and --undo rollback.
  • Headless by default with visibility only through show, so an agent can hand a window to a person once mid-run and keep going.
  • Single-binary install on top of WebKitGTK 6.0, with an AUR package and an official install script.
Limitations
  • Linux only for now; macOS and Windows are documented as targets, not supported platforms.
  • Requires the system webkitgtk-6.0; the installer only checks for it, so non-Arch distributions require solving that dependency yourself.
  • CAPTCHAs are not solved for you — challenge and click --trusted are primitives, and a human hand-off may still be the outcome.
  • No reproducible benchmark data is included, so speed claims such as 35 ms cannot be independently checked from the repository.
  • There is no skill library or file format: you write your own SKILL.md in your agent harness to call hwatu commands.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
hwatu This agent 55 · Major gaps CLIFree ★ 121 2d ago Rust Codex · Claude Code
Uni-CLI 83 · Good CLIFree ★ 229 8d ago TypeScript ChatGPT · Codex · Claude Code
Chrome DevTools MCP 77 · Some gaps MCP serverFree ★ 59k today TypeScript Codex · Claude Code
wmux Agent Workspace 75 · Good Desktop app ★ 463 today TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
55/ 100 5-point scale 2.8 / 5
Trust 18/29
Reliability 6/14
Adaptability 9/18
Convention 10/18
Effectiveness 9/13
Verifiability 3/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

SECURITY.md documents the threat model, default eval risk, --no-eval/--ephemeral-profile, loopback token file permissions, and least-privilege intent; however eval is enabled by default, there is no sandbox, and rollback is limited to setup --undo, so points are deducted.

Reliability6 / 14 · 2.1/5

Source code gives specific failure messages such as restarting the daemon, but README uses hana and hwatu inconsistently, macOS/Windows support contradicts the stated targets, and dependency installation relies on webkitgtk-6.0 without a complete manifest, so points are deducted.

Adaptability9 / 18 · 2.5/5

README clearly targets agents and human hand-off scenarios; however there is no skill library or trigger specification, and non-Linux platforms are unsupported, so environment fit is narrow.

Convention10 / 18 · 2.8/5

README structure, install notes, examples, license, and known limitations are clear; however there is no CHANGELOG, hana/hwatu naming is inconsistent, and maintenance responsibility is not explicit, so points are deducted.

Effectiveness9 / 13 · 3.5/5

Structured output, batch mode, and JSON support suit agent use; however no executable benchmark or performance evidence is provided, and claims such as 35 ms are only asserted, so points are deducted.

Verifiability3 / 8 · 1.9/5

README and CI partially corroborate each other, but key performance claims lack traceability and fact/inference separation is weak, so points are deducted.

Risks and how to mitigate them
  • Do not treat the unverified publisher as trusted; default eval is enabled, so confirm --no-eval or --ephemeral-profile; README has hana/hwatu naming and platform support contradictions that need verification; verify specs can execute preflight/server commands and should be reviewed; there is no sandbox, and same-user processes can drive the browser.
Evidence confidence: Low Reviewed Nov 24, 2026 Reviewed revision 9561f86cf60e
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/hwatu.svg)](https://followagents.com/en/agents/hwatu)
<a href="https://followagents.com/en/agents/hwatu"><img src="https://followagents.com/badge/hwatu.svg" alt="FARS review"></a>

FAQ

Do I need an LLM API key to use hwatu?
No. hwatu is just the browser; the model is supplied by whatever agent client drives it. It is MIT-licensed and free to use.
Can I run it on macOS or Windows?
Not yet. The README states Linux is the only supported platform today, with macOS and Windows as targets. The installer checks for webkitgtk-6.0.
What happens when an agent hits a login or a payment?
It gets a structured stop: login_required for login walls, where one user-entered value persists the session, and reason: "irreversible_action" for pay, order, send, or delete, which only proceeds after the user confirms in the current session and the agent retries with --confirm.
Can it get past CAPTCHAs automatically?
It gives the agent challenge, shot, snapshot, click --trusted, and type to work with. If that fails, challenge returns a structured block and the agent can hand off via show.
Does it replace manual in-browser debugging?
It is headless by design and only visible through show, aimed at programmatic verification and assertions for agents rather than everyday human browsing or record-and-replay debugging.
Is hwatu free?
Yes. hwatu is free to use and does not need a paid service.
Is hwatu open source?
Yes. The source code is on GitHub (hongnoul/hwatu) under the MIT licence.
Is hwatu safe to use?
FollowAgents' FARS review (Nov 24, 2026) scored hwatu 18/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is hwatu still maintained?
Yes. The latest commit on GitHub is from 2026-11-22, within the last 30 days.
Who makes hwatu?
hwatu is published on GitHub by the account hongnoul. FollowAgents has not verified which person or company is behind that account.
What is hwatu's official website?
The project's GitHub repository lists https://hongnoul.github.io/hwatu/ as its website. That link is set by the repository owner; the source code itself is on GitHub (hongnoul/hwatu).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts