Back to reviews
Libretto

Libretto

AI browser automation that doesn't break every other deploy

Libretto is an open-source TypeScript toolkit for building and maintaining browser automations that are actually reliable. Unlike most AI-driven browser tools that use probabilistic reasoning to select elements at runtime, Libretto works by having the AI generate deterministic selectors and action sequences upfront — then executing them with zero LLM involvement at runtime. The AI is your authoring tool, not your runtime dependency. The core insight: most AI browser automations fail in production because they call an LLM on every page interaction. Libretto flips this by using AI to write and update the automation scripts, but running them as ordinary code. When a site changes and your automation breaks, Libretto detects the failure and prompts you to let AI update the selector — then it's deterministic again. Built by the team at Saffron Health, the library hit HN's front page today and is generating discussion as a more pragmatic alternative to fully autonomous browser agents. For anyone who's tried Playwright with AI wrappers and found them unreliable in CI/CD, this is the architecture that's been missing.

Panel Reviews

The Builder

The Builder

Developer Perspective

Ship

This is the right mental model for production browser automation. Using AI for authoring but not runtime means you get consistency in CI without random failures at 2am. I've been waiting for someone to build this properly.

The Skeptic

The Skeptic

Reality Check

Skip

The 'AI updates your selectors' workflow sounds great until you're reviewing 50 AI-generated selector changes after a site redesign. You've just moved the flakiness from runtime to the maintenance loop. Also, 37 stars is very early — I'd wait for production case studies.

The Futurist

The Futurist

Big Picture

Ship

The deterministic-at-runtime pattern will become the standard architecture for AI-assisted automation. Libretto is arriving exactly as enterprises start demanding reliability SLAs from their AI tooling. Early movers will have a significant advantage.

The Creator

The Creator

Content & Design

Ship

As someone who automates repetitive web tasks constantly, this solves my biggest frustration — AI-written automations that fall apart the moment a site updates their CSS. The auto-repair loop is exactly what I need for long-running workflows.

Community Sentiment

Overall390 mentions
67% positive23% neutral10% negative
Hacker News180 mentions
72%18%10%

Smart separation of AI authoring vs deterministic runtime

Reddit90 mentions
60%30%10%

Comparison to Playwright + AI wrappers

Twitter/X120 mentions
65%25%10%

Zero LLM calls at runtime