Recent submissions

Comment · 7 months ago
After looking into it more, I think PageAgent is actually a very good fit for WebMCP...
Comment · 7 months ago
Currently, the extension only has access to the active tab when the task starts (configurable) and any new tabs it opens — all automatically placed into a dedicated tab group. It won’t touch other existing tabs.

Are you looking for something like scoping the agent to a predefined tab group?

Comment · 8 months ago
Really appreciate the in-depth feedback.

Iframe and CSP are big problems. For the in-page version, I chose to leave out Shadow DOM, canvas, and iframes. Although I know one of the developers forked a version to control same-origin iframes. I don't think it's practical to try to hack around browser security (and website security) — that's why I built the browser extension. I'm hoping the bridge that lets a page call the extension can cover most use cases.

My original HTML dehydration script was ported from `browser-use`. You're absolutely right that it's getting heavier over time, and it's the key factor influencing the overall task success rate. I'm looking to refactor that part and add an extension system for developers to patch their own sites. Hope it turns out well.

Thank you for the feedback. I'll be extra cautious to keep the dehydration code maintainable.

Comment · 8 months ago
PageAgent operates at the HTML/DOM level with the same privileges as any other JavaScript running on the page and nothing more. The security token concern you're describing applies equally to every third-party script, npm package, or browser extension that runs in-page. It's not unique to PageAgent.

The browser extension can be more risky because it's more privileged. I've designed a simple authorization mechanism so that only pages explicitly approved by the user can call the extension.

That said, I'd welcome more eyes on this. If anyone wants to review the security model, the code is fully open source.

Comment · 8 months ago
Details of the testing LLM are listed here. https://github.com/alibaba/page-agent/blob/main/docs/terms-a...

The library does NOT include backend services. This is an open source project. I’m not selling any service here…

Comment · 8 months ago
Could you elaborate on what kind of security problems you’re referring to? Like hallucination?
Comment · 8 months ago
Comment · 8 months ago
I see. The visual effect requires the browser to support webgl2.

The core functionality should not crash because the visual effect crashed. Not a good practice. I will fix that asap.

Thanks for noticing. Btw the video should work now.

Comment · 8 months ago
This is the problem every agent has to face.

PageAgent’s differentiator is that site developers can embed it directly into their own pages. In that scenario, with proper system instructions plus a built-in whitelist/blacklist API for interactive elements, the risk is pretty manageable.

For the general-agent case, operating on pages you don’t control, the risk is definitely higher. I’m currently working on the human-in-the-loop feature so the user can intervene before sensitive actions.

Would love to hear other approaches if anyone has ideas.

Comment · 8 months ago
Does the "run" button work?
Comment · 8 months ago
Glad it worked well! The Chrome extension is my focus right now. It handles simple tasks pretty reliably and fast, but still has a long way to go for more complex workflows. Lots to improve.
Comment · 8 months ago
Currently the only dependency is zod for schema parsing.

I'm intentionally building on a lightweight, in-page JavaScript foundation to carve out some differentiation from the Python-heavy agent ecosystem.

The "protocol" layer of AG-UI does look interesting. I'll look into it to see if I can reuse something, although it seems to be evolving more toward an integration framework rather than an open protocol.

Really glad this resonates with your use case. Lightweight embedding is exactly my priority scenario. Would love to hear how the work goes!

Comment · 8 months ago
Confirmed. Have to fix that asap. About other issues. Can you see the homepage? What’s the browser version you use?
Comment · 8 months ago
No and please don’t do that.

If you only use it as a personal assistant. You can connect to your llm service directly.

If you plan to integrate it into your web app. It’s better to have a proxy api for the llm and auth the request with cookie or something.

Comment · 8 months ago
In my plan. Should be easy since I use wxt as the extension framework.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton