Make Any Website into CLI & Use your logged-in browser by AI agent
Opening the entry
Opening the entry
In-page JavaScript AI agent that controls web interfaces via natural language.
Page Agent is an in-page JavaScript AI agent that gives any web page its own GUI agent controllable via natural language. It runs entirely in the browser using text-based DOM manipulation without screenshots or multi-modal LLMs. Developers integrate it with a single script tag or npm package and connect their preferred LLM, including locally deployed models. An optional Chrome extension and MCP server enable multi-page tasks and external control.
npm install page-agent
import { PageAgent } from 'page-agent'
const agent = new PageAgent({
model: 'qwen3.8-flash',
baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1',
apiKey: 'YOUR_API_KEY',
language: 'en-US',
})
await agent.execute('Click the login button')alibaba/page-agent is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.