Hacker News

Latest

Adaptional (YC S25) Is Hiring Founding AI Engineers

2026-04-15 @ 17:00:56Points: 1

Where the Heck Did My Taxes Go?

2026-04-15 @ 16:57:37Points: 78Comments: 114

The tiniest e-reader in the world, and you can build one yourself

2026-04-15 @ 16:53:16Points: 30Comments: 7

CRISPR takes a bold leap toward silencing Down syndrome's extra chromosome

2026-04-15 @ 16:19:48Points: 32Comments: 32

Show HN: Libretto – Making AI browser automations deterministic

2026-04-15 @ 15:57:54Points: 34Comments: 8

https://libretto.sh) is a Skill+CLI that makes it easy for your coding agent to generate deterministic browser automations and debug existing ones. Key shift is going from “give an agent a prompt at runtime and hope it figures things out” to: “Use coding agents to generate real scripts you can inspect, run, and debug”.

Here’s a demo: https://www.youtube.com/watch?v=0cDpIntmHAM. Docs start at https://libretto.sh/docs/get-started/introduction.

We spent a year building and maintaining browser automations for EHR and payer portal integrations at our healthcare startup. Building these automations and debugging failed ones was incredibly time-consuming.

There’s lots of tools that use runtime AI like Browseruse and Stagehand which we tried, but (1) they’re reliant on custom DOM parsing that's unreliable on older and complicated websites (including all of healthcare). Using a website’s internal network calls is faster and more reliable when possible. (2) They can be expensive since they rely on lots of AI calls and for workflows with complicated logic you can’t always rely on caching actions to make sure it will work. (3) They’re at runtime so it’s not interpretable what the agent is going to do. You kind of hope you prompted it correctly to do the right thing, but legacy workflows are often unintuitive and inconsistent across sites so you can’t trust an agent to just figure it out at runtime. (4) They don’t really help you generate new automations or help you debug automation failures.

We wanted a way to reliably generate and maintain browser automations in messy, high-stakes environments, without relying on fragile runtime agents.

Libretto is different because instead of runtime agents it uses “development-time AI”: scripts are generated ahead of time as actual code you can read and control, not opaque agent behavior at runtime. Instead of a black box, you own the code and can inspect, modify, version, and debug everything.

Rather than relying on runtime DOM parsing, Libretto takes a hybrid approach combining Playwright UI automation with direct network/API requests within the browser session for better reliability and bot detection evasion.

It records manual user actions to help agents generate and update scripts, supports step-through debugging, has an optional read-only mode to prevent agents from accidentally submitting or modifying data, and generates code that follows all the abstractions and conventions you have already in your coding repo.

Would love to hear how others are building and maintaining browser automations in practice, and any feedback on the approach we’ve taken here.

Open Source Isn't Dead. Cal.com Just Learned the Wrong Lesson

2026-04-15 @ 15:43:37Points: 208Comments: 120

Elevated errors on Claude.ai, API, Claude Code

2026-04-15 @ 14:44:00Points: 226Comments: 206

Gemini Robotics-ER 1.6

2026-04-15 @ 14:02:31Points: 155Comments: 50

The Future of Everything Is Lies, I Guess: New Jobs

2026-04-15 @ 13:34:11Points: 190Comments: 131

God Sleeps in the Minerals

2026-04-15 @ 13:08:10Points: 334Comments: 75

AI ruling prompts warnings from US lawyers: Your chats could be used against you

2026-04-15 @ 12:51:13Points: 116Comments: 75

Show HN: Every CEO and CFO change at US public companies, live from SEC

2026-04-15 @ 12:51:04Points: 149Comments: 60

Built this solo. It watches SEC filings for executive and board changes, extracts the data, and shows it in real time. 2,100+ changes in the last 30 days. The comp data is interesting: average new CEO total comp is $8.4M across 284 appointments. The /explore page is fully open, no login needed.

Do you even need a database?

2026-04-15 @ 12:26:11Points: 102Comments: 181

Study: Back-to-basics approach can match or outperform AI in language analysis

2026-04-15 @ 12:21:47Points: 30Comments: 12

Want to Write a Compiler? Just Read These Two Papers (2008)

2026-04-15 @ 09:41:19Points: 377Comments: 116

Good Sleep, Good Learning (2012)

2026-04-15 @ 09:11:18Points: 287Comments: 134

Anna's Archive loses $322M Spotify piracy case without a fight

2026-04-15 @ 08:05:18Points: 172Comments: 192

Wacli – WhatsApp CLI

2026-04-15 @ 07:04:45Points: 207Comments: 138

Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

2026-04-15 @ 05:19:06Points: 238Comments: 157

Fixing a 20-year-old bug in Enlightenment E16

2026-04-15 @ 04:47:00Points: 238Comments: 136

Dependency cooldowns turn you into a free-rider

2026-04-15 @ 02:03:12Points: 179Comments: 115

New Modern Greek

2026-04-12 @ 17:52:03Points: 10Comments: 21

MIT Radiation Laboratory

2026-04-12 @ 15:30:02Points: 41Comments: 9

Costasiella kuroshimae – Solar Powered animals, that do indirect photosynthesis

2026-04-12 @ 15:26:24Points: 114Comments: 49

Fix monitor that goes black, off or blinks due to static electricity in chair

2026-04-12 @ 10:27:08Points: 29Comments: 16

We ran Doom on a 40 year old printer controller (Agfa Compugraphic 9000PS) [video]

2026-04-11 @ 17:59:14Points: 47Comments: 15

How do Wake-On-LAN works

2026-04-11 @ 11:03:58Points: 45Comments: 16

Forcing an inversion of control on the SaaS stack

2026-04-10 @ 17:01:26Points: 38Comments: 31

Metro stop is Ancient Rome's new attraction

2026-04-09 @ 19:39:06Points: 89Comments: 21

Pretty Fish: A better mermaid diagram editor

2026-04-09 @ 19:32:20Points: 101Comments: 21

Archives

2026

2025

2024

2023

2022