Skip to content
HyperAgent logo

HyperAgent

Open-source framework that adds AI commands to Playwright.

Reviewed by Last updated

Overview

HyperAgent is an open-source (AGPL-3.0) TypeScript framework that adds AI commands to Playwright. Developers describe browser actions in plain language instead of writing selectors. It suits web agents, data extraction and automations that break when layouts change. Regular Playwright calls still work alongside the AI commands.

Hyperbrowser maintains the project and ships it as an npm package with a CLI. It runs on a local browser or on Hyperbrowser cloud browsers. Hyperbrowser also offers it as a managed agent through its API. Cloud runs are billed per agent step from plan credits. Recorded actions can be replayed without model calls. That makes repeat runs cheaper and more predictable.

Pros and cons

Pros

  • Pro: Mixes AI commands with plain Playwright calls
  • Pro: Replays cached actions without LLM calls
  • Pro: Cloud agent steps cost $0.02 each
  • Pro: Ships with built-in anti-bot patches
  • Pro: Runs on a local browser or switches to Hyperbrowser cloud sessions with one setting

Cons

  • Con: AGPL-3.0 license, not a permissive one
  • Con: The library is TypeScript only
  • Con: Its CDP action layer is marked experimental
  • Con: The cloud API defaults to version 0.8.0, which lacks Claude and Gemini support

Pricing

Pricing model

Free

Starts at

Free

Free tier

Available

Free and open source. Prices are in USD and can change; check the provider for current details.

Frequently asked questions

Is HyperAgent open source?

Yes. The library is licensed under AGPL-3.0 and published on npm as @hyperbrowser/agent, with the latest version 1.1.2 released in January 2026. As of November 2026 the GitHub repository has about 1,600 stars and 209 forks. The AGPL requires sharing source code changes when a modified version is offered over a network.

How much does HyperAgent cost?

The library is free to run on your own machine. On Hyperbrowser's cloud, HyperAgent costs 20 credits ($0.02) per step, billed on top of browser time at 100 credits ($0.10) per hour and proxy data at $10/GB. As of November 2026 the Free plan includes 5,000 credits and Startup costs $30/month for 30,000 credits. Passing your own LLM keys with useCustomApiKeys means only browser usage is charged.

Which LLMs does HyperAgent work with?

The library has native clients for OpenAI, Anthropic, Google Gemini and DeepSeek, selected with the llm.provider option. The cloud API accepts GPT, Claude and Gemini models through its llm parameter, with gpt-4o as the default. Claude and Gemini models are not supported on version 0.8.0, the cloud default, and the docs recommend version 1.1.0.

Does HyperAgent need Hyperbrowser to run?

No. It launches a local browser by default. Setting browserProvider to "Hyperbrowser" with a HYPERBROWSER_API_KEY runs it on Hyperbrowser cloud browsers instead, and the CLI has a --hyperbrowser flag for the same switch.

How many steps can a HyperAgent cloud task take?

The maxSteps parameter defaults to 20, and each click, typing action or navigation counts as one step. The docs suggest 10–20 steps for simple tasks and 50 or more for complex multi-page workflows. No hard maximum is documented.

Sofia Lindqvist

Sofia Lindqvist

Market Research Expert

View profile

Sofia studies software markets: who the vendors are, how they package their plans and how their offers compare in the fine print. She tests providers side by side and works out what each plan really costs.

How HyperAgent ranks in our comparison lists.

Tools that appear in the same lists and categories.

Building something worth listing?

Submit your product for editorial review.