StackMap
Subscribe
Explore / page-agent
alibaba

page-agent

Alibaba's in-page GUI agent: one script tag gives any webpage its own AI agent — users drive the interface in natural language. TypeScript, tiny bundle, Chrome extension available.

26,821 2,466 TypeScript MITupdated today
Curator's take

The inverted take on browser agents: instead of YOUR agent driving SOMEONE's site, the site ships its own — one script tag and visitors can say 'file an expense report for Tuesday's taxi' at your UI. For products with deep, form-heavy interfaces this is the cheapest 'AI feature' with real utility, and 26k stars say the demand is real. NOT for automating third-party sites (that's browser-use's job — this requires the site owner to opt in), and handing an LLM the ability to click your own UI means auditing what it can reach: same-origin power cuts both ways.

Mapped by ShipWithAI editors · links verified
README.md

Page Agent

Page Agent Banner

CI npm downloads size license typescript Chrome Web Store Rating GitHub stars

The GUI Agent Living in Your Webpage. One script gives any web page its own AI agent.

alibaba%2Fpage-agent | Trendshift

🌐 English | 中文

🚀 Demo | 📖 Docs | 📢 HN Discussion | 𝕏 Follow on X

Watch the demo


✨ Features

  • 🎯 Easy integration
    • No need for browser extension / python / headless browser.
    • Just in-page javascript. Everything happens in your web page.
  • 📖 Text-based DOM manipulation
    • No screenshots. No multi-modal LLMs or special permissions needed.
  • 🧠 Bring your own LLMs
    • Works with most mainstream models, including locally deployed ones. See supported models.
  • 🐙 Optional chrome extension for multi-page tasks.

💡 Use Cases

  • SaaS AI Copilot — Ship an AI copilot in your product in lines of code. No backend rewrite.
  • Smart Form Filling — Turn 20-click workflows into one sentence. Perfect for ERP, CRM, and admin systems.
  • Accessibility — Make any web app accessible through natural language. Voice commands, screen readers, zero barrier.
  • Multi-page Agent — Extend your own web agent's reach across browser tabs via the Chrome extension.
  • MCP - Allow your agent clients to control your browser.

🚀 Quick Start

One-line integration

Fastest way to try PageAgent with our free Demo LLM:

<script
    src="https://cdn.jsdelivr.net/npm/page-agent@1.12.1/dist/iife/page-agent.demo.js"
    crossorigin="anonymous"
></script>

**⚠️ For technical e

Continue your stack

What teams reach for next — and why each earns a place beside page-agent. Ranked by curator confidence.