{"by":"simon_luv_pho","descendants":76,"id":47264138,"kids":[47264208,47274097,47265731,47268975,47264746,47264942,47268496,47270598,47274112,47265990,47265664,47271290,47268918,47283431,47266036,47271711,47265648,47266183,47274392,47265471,47268114,47265377,47327903,47268349,47273221],"score":147,"text":"Title: Show HN: PageAgent, A GUI agent that lives inside your web app<p>Hi HN,<p>I&#x27;m building PageAgent, an open-source (MIT) library that embeds an AI agent directly into your frontend.<p>I built this because I believe there&#x27;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.<p>Currently, most AI agents operate from external clients or server-side programs, effectively leaving web development out of the AI ecosystem. I&#x27;m experimenting with an &quot;inside-out&quot; 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&#x27;s active session out of the box, which works perfectly for SPAs.<p>To handle cross-page tasks, I built an optional browser extension that acts as a &quot;bridge&quot;. 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.<p>I&#x27;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!","time":1772730107,"title":"Show HN: PageAgent, A GUI agent that lives inside your web app","type":"story","url":"https://alibaba.github.io/page-agent/"}