Embeddable script adds a natural-language agent to any webpage for DOM-based actions without screenshots or a Python backend.
Overview
PageAgent is a client-side JavaScript library that gives a web page its own GUI agent. Users describe tasks in natural language, and the agent manipulates the page through text-based DOM operations rather than vision models.
Integration can be a single script tag with a demo model for trials, or an npm import with your own API keys and model choice. It runs entirely in the browser, which the project positions as a privacy-friendly front-end enhancement rather than server-side browser automation.
Optional Chrome extension and MCP server support multi-tab workflows and external agent clients. A built-in panel supports human-in-the-loop confirmations before actions.
Documented scenarios include SaaS copilots, smart form filling for admin UIs, and accessibility via voice or natural language commands.
Key features
- Single-script or npm integration
- DOM-based page manipulation
- Bring-your-own LLM configuration
- Human-in-the-loop action panel
- Optional Chrome extension
- Beta MCP server control
- No headless browser requirement
Use cases
- Product-embedded AI copilots
- One-sentence complex form workflows
- Natural-language web accessibility
- Cross-tab tasks with the extension