# PageAgent, A GUI agent that lives inside your web app

Title: Show HN: PageAgent, A GUI agent that lives inside your web app Hi HN, I'm building PageAgent, an open-source (MIT) library that embeds an AI agent directly into your frontend. I built this because I believe there's a massive design space for deploying general agents natively inside the web a…

- **Page:** https://magpie.gallery/i/pageagent-a-gui-agent-that-lives-inside-your-web-a-367n
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** web
- **Tags:** gui-agent, frontend, open-source, library, automation

## Source

Web · simon_luv_pho: PageAgent, A GUI agent that lives inside your web app

- **Original:** https://news.ycombinator.com/item?id=47264138

> Title: Show HN: PageAgent, A GUI agent that lives inside your web app Hi HN, I'm building PageAgent, an open-source (MIT) library that embeds an AI agent directly into your frontend. I built this because I believe there's a massive design space for deploying general agents natively inside the web apps we already use, rather than treating the web merely as a dumb target for isolated bots. Currently, most AI agents operate from external clients or server-side programs, effectively leaving web development out of the AI ecosystem. I'm experimenting with an "inside-out" paradigm instead. By dropping the library into a page, you get a client-side agent that interacts natively with the live DOM tree and inherits the user's active session out of the box, which works perfectly for SPAs. To handle cross-page tasks, I built an optional browser extension that acts as a "bridge". This allows the web-page agent to control the entire browser with explicit user authorization. Instead of a desktop app controlling your browser, your web app is empowered to act as a general agent that can navigate the broader web. I'd love to start a conversation about the viability of this architecture, and what you all think about the future of in-app general agents. Happy to answer any questions! https://alibaba.github.io/page-agent/

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
