Installation
Choose Your LLM Provider
HyperAgent needs an LLM to power its AI capabilities. We recommend setting environment variables for your API keys.Your First Automation
Create a file calleddemo.ts:
CLI Mode
For quick one-off tasks, use the CLI:| Flag | Description |
|---|---|
-c, --command <task> | Natural language command to run |
-d, --debug | Enable debug mode with verbose output |
--hyperbrowser | Use Hyperbrowser cloud instead of local browser |
Get Started with 3 Core Methods
HyperAgent gives you three ways to interact with pages:1. page.ai() — Complex Tasks
For multi-step workflows where AI makes decisions:
2. page.perform() — Single Actions
For fast, specific actions:
3. page.extract() — Data Extraction
For pulling structured data:
Mix and Match
The real power comes from combining these methods:Scale to the Cloud
When you’re ready to run at scale, switch to Hyperbrowser:You’ll need a
HYPERBROWSER_API_KEY. Get one free at app.hyperbrowser.ai.