Page Agent
ActiveDescription
Page Agent is a JavaScript in-page GUI agent by Alibaba that controls web interfaces with natural language, enabling automated form filling, page navigation, and element interaction.
Key Features
- In-page JavaScript GUI agent — no browser extension, Python, or headless browser required
- Text-based DOM manipulation without screenshots or multimodal LLMs
- Bring your own LLM — works with any OpenAI-compatible API
- Optional Chrome extension for multi-page agent tasks across browser tabs
- MCP Server (Beta) to control the agent externally via MCP protocol
- One-line CDN integration for instant setup and evaluation
Use Cases
Tags
Categories
Quick Start
npm install page-agent && import { PageAgent } from 'page-agent'; const agent = new PageAgent({ model: 'qwen3.5-plus', baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1', apiKey: 'YOUR_API_KEY' }); await agent.execute('Click the login button')