01
page-agent — drive your own app's UI from inside the page
A JavaScript library from Alibaba (MIT, 19.6k stars, v1.10.0 shipped June 15) that turns any web app into something an agent controls in plain language — from inside the page. Drop in a <script> tag or npm install page-agent, point it at any OpenAI-compatible endpoint with your own key, and agent.execute('Click the login button') works by reading and manipulating the DOM directly. No screenshots, no headless Chrome, no extension, no Python sidecar.
Reach for it when you want an agent to operate your product's interface — an in-app copilot, a "do this for me" button — without standing up a vision model and a remote browser farm. It replaces the screenshot-and-click computer-use stack for the case where you already control the page. The caveat: it drives the DOM, so it's only as good as your markup — canvas-heavy or aggressively obfuscated UIs give it less to grab — and at 19.6k stars this is an established project riding a fresh release, not a debut.