What problem does it solve?
This Skill enables the integration of the Alibaba page-agent into your web application, providing an AI-powered in-page GUI agent for end-users to interact with your application using natural language.
Core Features & Use Cases
- AI-Powered GUI Interaction: Users can drive the UI with natural language commands like "click login, fill username as John".
- Embeddable Solution: Can be embedded into web apps as a single <script> tag or npm package.
- Use Case: For web developers who want to add an AI assistant to their SaaS dashboard, modernize legacy web apps, or create interactive demos.
Quick Start
Import the page-agent library and wire it up with your own LLM endpoint:
import { PageAgent } from 'page-agent'
const agent = new PageAgent({
model: 'qwen3.5-plus',
baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1',
apiKey: process.env.LLM_API_KEY,
language: 'en-US',
})
agent.panel.show()