HyperAgent extends Playwright with AI-driven page actions, extraction, and multi-step tasks. It supports stealth mode, MCP clients, action caching, and cloud browsers via Hyperbrowser.
Overview
HyperAgent wraps Playwright so automations can be driven by natural-language APIs alongside traditional selectors. Methods such as page.perform for single actions and page.ai for multi-step workflows use accessibility trees or optional visual screenshots with overlays.
You can fall back to standard Playwright when AI is unnecessary. Stealth patches aim to reduce bot detection. Optional cloud scaling routes sessions through Hyperbrowser after setting an API key and browser provider. HyperAgent also acts as an MCP client to chain web reads with external tools such as spreadsheet writers.
Structured extraction accepts schemas per task. Custom actions extend the agent with typed parameters and handlers. Action caching records XPaths and frame data from ai runs so workflows replay without further LLM calls, including generated TypeScript replay scripts for tests.
Chrome DevTools Protocol integration powers precise coordinates, nested iframe handling, and ad-frame filtering, with a switch to disable CDP and use Playwright locators instead. Multiple LLM vendors are supported through native SDKs.
Key features
- Playwright-compatible automation
- Natural-language page.perform actions
- Multi-step page.ai workflows
- Schema-guided data extraction
- Deterministic action cache replay
- MCP client integrations
- Stealth anti-detection mode
- Hyperbrowser cloud browser option
Use cases
- LLM-driven web scraping
- Regression tests without LLM cost
- Multi-step form workflows
- MCP workflows into spreadsheets
- Cloud-scaled headless sessions