# alibaba/page-agent

Source: [GitHub](https://github.com/alibaba/page-agent)  
Feed7 permalink: https://feed7.dev/p/page-agent-1exaacx  
Published: Unknown  
Trust: Needs Review (needs_review)

## Why Included

Alibaba's page-agent is an MIT-licensed JS library that embeds a natural-language GUI agent in any webpage via one script tag. It drives the DOM as text — no extension, headless browser, or multimodal model needed.

## Source Summary

**The gist** Alibaba open-sourced **page-agent**, an **MIT-licensed** JavaScript library that embeds a natural-language GUI agent directly in a webpage — added with one **script tag** or via npm. It reads and drives the **DOM as text** rather than screenshots, so it needs no browser extension, headless browser, or multimodal model; it is LLM-agnostic, with examples running **Qwen 3.5-Plus**, and sits at **23.5k stars** with 34 releases (latest **v1.11.0**).

## Practical Implication

**Why it matters** This is a low-lift way to give your own web UI an agent layer: the agent runs **client-side** in the user's session, so auth, cookies, and app state come for free — no Playwright or CDP stack to host. A beta **MCP server** means external agents like Claude Code could drive a page through it, and a **Chrome extension** extends it to **multi-tab** workflows.

## Agent-Ready Context

**The gist** Alibaba open-sourced **page-agent**, an **MIT-licensed** JavaScript library that embeds a natural-language GUI agent directly in a webpage — added with one **script tag** or via npm. It reads and drives the **DOM as text** rather than screenshots, so it needs no browser extension, headless browser, or multimodal model; it is LLM-agnostic, with examples running **Qwen 3.5-Plus**, and sits at **23.5k stars** with 34 releases (latest **v1.11.0**).

**Why it matters** This is a low-lift way to give your own web UI an agent layer: the agent runs **client-side** in the user's session, so auth, cookies, and app state come for free — no Playwright or CDP stack to host. A beta **MCP server** means external agents like Claude Code could drive a page through it, and a **Chrome extension** extends it to **multi-tab** workflows.

**Watch out** Text-only DOM reading will struggle on canvas-heavy or poorly structured pages, and letting an LLM act inside a logged-in session raises **prompt-injection** stakes. The MCP server is still **beta**, and the core is adapted from **browser-use** — check how much is battle-tested versus ported before wiring it to real user actions.

## Context Map

- Layer: tools
- Domains: coding
- Topics: computer-use, agent-sdks

## Uncertainty

- Text-only DOM reading will struggle on canvas-heavy or poorly structured pages, and letting an LLM act inside a logged-in session raises **prompt-injection** stakes. The MCP server is still **beta**, and the core is adapted from **browser-use** — check how much is battle-tested versus ported before wiring it to real user actions.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
