Hacker News

50

Show HN: Libretto – Making AI browser automations deterministic

by muchael177626867415 comments
I built something very similar for my company internally. The idea was that that the maintenance of the code is on the agent and the code is purely an optimization. If it breaks the agent runs it iteratively, fixes the code for next time. Happy to replace my tool with this and see how it does!
by heyitsaamir1776283003
Love it! Do you have a BAA with Claude though? Otherwise, your demo is likely exposing PHI to 3rd parties and exposing you to risk related to HIPAA
by z3ugma1776281711
The network-request-first approach is the right call. DOM parsing is fragile because it's scraping a rendering artifact — any style refactor, framework upgrade, or A/B test can silently break it. Intercepting the actual API calls the browser is already making is closer to testing the contract, not the presentation.

The healthcare context makes this especially sharp. Those portals are notoriously inconsistent and rarely built for automation. Would be curious how you handle cases where the app uses WebSockets or chunked responses instead of clean REST calls.

by alexbike1776279886
Thanks for this! We have clear answers for things that are 100% and 0% automated, but it’s always that 80%-99% automated slice where the frontier is, great idea.
by etwigg1776277103
how does it differ from playwright-cli?
by messh1776273619
What is the license?

Edit: nevermind. I see from the website it is MIT. Probably should add a COPYING.md or LICENSE.md to the repository itself.

by daveguy1776281471
I've wanted something like this for ages, excited to try this out!
by seagull1776274604
Cool. Thank you for sharing. While AI tools are extremely powerful, packages like this help create some good standards and stepping stones for connectivity that the models haven’t gotten around to yet. Thanks again.
by gbibas1776276453
this looks awesome
by arpadav1776276862
this is interesting
by devstatic1776273479
[dead]
by KaiShips1776279702
[dead]
by secureotter1776282138
by 1776275439
For a moment I throught it was something about libretro. As an avid RetroArch user the headline picked my interest.

Then I clicked and realized it's just some other AI shit.

by surgical_fire1776276092