What problem does it solve? Web developers want to add an AI copilot to their own SaaS, admin panel, or legacy web app so end-users can drive the UI with natural language ("click login, fill username as John") instead of clicking through screens, without headless browsers, extensions, or frontend rewrites. ## Core Features & Use Cases - In-page GUI agent: alibaba/page-agent runs inside the webpage, reads the DOM as text (no screenshots or multimodal LLM), and executes natural-language instructions against the current page. - Three integration paths: a 30-second CDN demo script for evaluation, an npm package (new PageAgent({model, baseURL, apiKey})) for production embedding, and a source-repo clone for hacking on the agent or its browser extension. - OpenAI-compatible LLM backends: works with Qwen/DashScope, OpenAI, Ollama (local), OpenRouter, or any /v1/chat/completions endpoint. - Use Case: A B2B dashboard team embeds page-agent so users can type "create invoice for Acme Corp and email it" instead of navigating five screens, proxying LLM calls through their backend to keep API keys out of the client bundle. ## Quick Start Add the page-agent demo script tag to any HTML page or install the page-agent npm package and instantiate PageAgent with an OpenAI-compatible LLM endpoint to show the natural-language control panel.