Skip to main content
0
H

HyperAgent

AI Browser Automation

Rating

0.0

Votes

0

score

Downloads

0

total

Price

Free

API key required

Works With

Claude CodeCursorWindsurfVS CodeDeveloper tool

About

Intelligent Browser Automation with LLMs

Overview

Hyperagent is Playwright supercharged with AI. No more brittle scripts, just powerful natural language commands. Just looking for scalable headless browsers or scraping infra? Go to Hyperbrowser to get started for free!

View HyperAgent docs here: https://www.hyperbrowser.ai/docs/hyperagent/introduction

Features

  • 🤖 AI Commands: Simple APIs like page.ai(), page.extract() and executeTask() for any AI automation
  • Fallback to Regular Playwright: Use regular Playwright when AI isn't needed
  • 🥷 Stealth Mode – Avoid detection with built-in anti-bot patches
  • ☁️ Cloud Ready – Instantly scale to hundreds of sessions via Hyperbrowser
  • 🔌 MCP Client – Connect to tools like Composio for full workflows (e.g. writing web data to Google Sheets)
  • 📼 Action Caching – Record and replay workflows deterministically without LLM calls

Quick Start

Installation

bash
# Using npm
npm install @hyperbrowser/agent

# Using yarn
yarn add @hyperbrowser/agent

CLI

bash
$ npx @hyperbrowser/agent -c "Find a route from Miami to New Orleans, and provide the detailed route information."

The CLI supports options for debugging or using hyperbrowser instead of a local browser

bash
-d, --debug                       Enable debug mode
-c, --command   Command to run
--hyperbrowser                    Use Hyperbrowser for the browser provider

Library

typescript
import { HyperAgent } from "@hyperbrowser/agent";
import { z } from "zod";

// Initialize the agent
const agent = new HyperAgent({
  llm: {
    provider: "openai",
    model: "gpt-4o",
  },
});

// Execute a task
const result = await agent.executeTask(
  "Navigate to amazon.com, search for 'laptop', and extract the prices of the first 5 results"
);
console.log(result.output);

// Use page.ai, page.perform, and page.extract
const page = await agent.newPage();
await page.goto("https://flights.google.com", { waitUntil: "load" });
await page.ai("search for flights from Rio to LAX from July 16 to July 22");
await page.perform("click the search button");
const res = await page.extract(
  "give me the flight options",
  z.object({
    flights: z.array(
      z.object({
        price: z.number(),
        departure: z.string(),
        arrival: z.string(),
      })
    ),
  })
);
console.log(res);

// Clean up
await agent.closeAgent();

Two Modes of Operation

HyperAgent provides two complementary APIs optimized for different use cases:

🎯 page.perform() - Single Granular Actions

page.aiAction() is deprecated and remains available as an alias; prefer page.perform() going forward.

Best for: Single, specific actions like "click login", "fill email with test@example.com"

Don't lose this

Three weeks from now, you'll want HyperAgent again. Will you remember where to find it?

Save it to your library and the next time you need HyperAgent, it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.

⚡ Pro tip for geeks: add a-gnt 🤵🏻‍♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.

🤵🏻‍♂️

a-gnt's Take

Our honest review

AI Browser Automation. Best for anyone looking to make their AI assistant more capable in search & web. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.

Tips for getting started

1

Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.

2

Heads up: this needs an API key to work. You'll get one from the service's website (usually free). The setup guide tells you exactly where.

What's New

Version 1.0.06 days ago

Imported from GitHub

Ratings & Reviews

0.0

out of 5

0 ratings

No reviews yet. Be the first to share your experience.