Skip to content
Search

Page-agent

lastmod 2026-03-12created 2026-03-121 edits

Add an AI agent to a web page with one line of code

About

  • Add just the single line <script src="page-agent.js"></script> and a website turns into an AI-native app
    • Works without a browser extension, Python, or a headless browser
  • Give instructions in natural language and the AI handles the rest. Text-based DOM manipulation means no screenshots, OCR, or multimodal LLM needed
  • An in-page execution model where all processing happens inside the web page, controlling DOM elements directly without requesting separate permissions
  • Works with various models such as OpenAI, Claude, DeepSeek, and Qwen, and can run fully offline with Ollama (API key-based integration)
  • Provides an interactive UI and a human-in-the-loop interface
  • Can be tested on any web page using a bookmarklet
  • Installing the Chrome extension adds support for tasks spanning multiple pages, browser-level control, and external integrations
  • Main use cases
    • SaaS AI Copilot: implement an in-product AI Copilot without backend changes
    • Smart form automation: shorten multi-step click flows into a single sentence, improving ERP/CRM/admin tools
    • Accessibility enhancement: better web accessibility through voice commands and screen readers
  • MIT license

See also

Favorite site

author Zer0 sitemap