Page Agent — ИИ-агент внутри веб-страницы

★ 29.3K

Page Agent is an open-source JavaScript library (TypeScript, npm package `page-agent`) that puts an AI agent inside a web page so it can operate the interface from natural-language commands. Reach for it when you want an AI copilot inside your own SaaS product without rewriting the backend, when a twenty-click workflow in an ERP, CRM or admin system should become one sentence, or when you want a web app to be usable through natural language and voice. Inside: plain in-page JavaScript with no browser extension, Python or headless browser; the agent works on a text view of the DOM, with no screenshots or multimodal models. Add it with one CDN line (the demo uses a free testing LLM for technical evaluation only) or `npm install page-agent`: pass model, baseURL and apiKey to `new PageAgent({...})`, then call `agent.execute('Click the login button')`. It works with most mainstream models, including locally deployed ones. An optional Chrome extension lets tasks span several tabs, and an MCP server (beta) lets outside clients drive the browser. MIT licensed. It is designed for client-side web enhancement rather than server-side automation, and will not help outside the browser.