
page-agent
AI-powered GUI Agent for your website
Replaces Copilotkit, Microsoft Copilot Studio

Who it's for
Use PageAgent to let users ask a product to click, fill, filter, or navigate inside a web app.
You only need a support chat widget that answers text questions.
Teams can turn repetitive ERP, CRM, or admin form flows into natural-language actions.
Your forms require strict server-side approvals before each field update.
Natural-language commands can help users operate complex interfaces without finding every control manually.
Your app cannot safely expose UI actions to an embedded agent.
The problem
Web users often know what they want but not which controls to operate. PageAgent addresses that gap by letting a product team embed an agent that reads the page structure and performs UI actions from natural-language instructions.
How it works
The core integration runs inside the web page without requiring a browser extension, Python service, or headless browser.
PageAgent works from DOM structure instead of relying on screenshots or multimodal LLMs for core page understanding.
Developers can configure model, base URL, and API key values when creating a PageAgent instance.
The README provides a one-line script tag demo and an npm install path for application integration.
A Chrome extension and beta MCP server can extend PageAgent beyond the core in-page use case.
Features
- In-page JavaScript agent
- Text-based DOM control
- Bring your own model
- Fast evaluation paths
- Optional multi-page control
Recommended for this setup
Strengths
- Fits product-owned UI: PageAgent is useful when a team controls the page and wants a natural-language layer inside that experience.
- Less infrastructure than headless automation: The core library avoids running a separate browser automation service for simple in-product tasks.
- Clear automation boundary: The README explicitly says PageAgent is designed for client-side web enhancement, not server-side automation.
Trade-offs
- Needs web-app integration: PageAgent is not a drop-in support inbox. Developers need to install and configure it inside the web application.
- Single-page core by default: Multi-page workflows require the optional Chrome extension or MCP path rather than only the base in-page library.
- Model behavior still matters: Teams must choose, configure, and monitor the LLM that interprets user commands and page state.
Tech stack
FAQ
PageAgent is an in-page JavaScript GUI agent that lets users control web interfaces with natural language.
No. The core README says PageAgent needs only in-page JavaScript. A Chrome extension is optional for multi-page tasks.
GitHub metadata reports PageAgent as MIT licensed.
The README shows npm install page-agent, then importing PageAgent and calling agent.execute with a natural-language command.