frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Libretto PR agents – Automatically fix failing playwright scripts

https://libretto.sh/debug-agents
9•muchael•2h ago
Libretto PR agents is a free TypeScript library for maintaining Playwright browser automations. Add one line of code to your existing Playwright scripts and it lets an agent automatically open GitHub PRs fixing the script when it fails.

A few months ago we released Libretto, a CLI + coding-agent skill for building deterministic browser automations. The idea was that for many browser workflows, especially repetitive business workflows, you don’t need an AI agent making decisions at runtime. You want deterministic Playwright scripts that are inspectable, faster to run, and much cheaper than repeatedly calling an AI browser agent.

That helped us generate Playwright and network-request-based scripts, but websites can often change which breaks deterministic scripts. So maintaining a variety of scripts at scale is a headache. If you already have a bunch of functioning Playwright scripts, the last thing you want is to rewrite everything around a new runtime AI framework like browser-use or stagehand just to make maintenance easier.

The Libretto PR Agent pulls your code from GitHub and connects via CDP to the browser session that just failed. It has an exec tool for injecting Playwright and javascript into the page, and once its inspected the failure, it opens a PR to your repo with a proposed code fix.

You use it like this:

  try {
    await automationLogic(page);
  } catch (error) {
    await playwrightDebugger.debugFailure(error, page);
  throw error;
  }

The agent is completely free and open source, lets you bring your own LLM provider API keys, and works with any browser provider (including self hosted).

The source code is here: https://github.com/saffron-health/libretto/tree/main/package...

We think this makes browser integrations much easier to maintain, especially for teams that already have Playwright browser automation scripts in production and don’t want a full migration to get AI-assisted debugging and repair.

If you’re maintaining browser automations in production, would love to know what your debugging flow is currently and any feedback on this approach.

Show HN: Libretto PR agents – Automatically fix failing playwright scripts

https://libretto.sh/debug-agents
9•muchael•2h ago•0 comments

Show HN: BambooGrid – Open-source web UI for power grid modeling and power flow

https://bamboo.kickstage.com
15•soaringmonchi•6h ago•3 comments

Show HN: Leaves – A text-UI disk usage treemap visualizer

https://github.com/patonw/leaves
60•patonw•6h ago•22 comments

Show HN: ReasonGate- An explainable gate that blocks LLM prompt injection

https://github.com/cgrtml/reasongate
2•Cagritemel•17m ago•0 comments

Show HN: Vektorgeist- A platform for AI operators and their agent's

https://vektorgeist.com/
3•VektorGeist•47m ago•0 comments

Show HN: A modern port of Linux to a ten-year-old QWERTY phone

35•tmzt•6h ago•6 comments

Show HN: Galois connections for composable numeric casts in Rust

https://github.com/cmk/connections
25•partialsolve•6h ago•2 comments

Show HN: Play Online HP48G(X) Calculator Games

https://jmapp.com/hp48gx.php
2•sunhp•1h ago•0 comments

Show HN: Darby, a Hugo docs theme with in-browser AI Q&A (no back end, no keys)

https://iamit.in/darby/
2•aktech•1h ago•0 comments

Show HN: Be the ChatBOT

https://bethechatbot.com/
20•keito•3h ago•8 comments

Show HN: Nutshot Simulator – 31 days, 59K prompts, 142M tokens, ~$23K of Claude

https://nutshotsimulator.com/nutshot/
2•Yahivin•1h ago•3 comments

Show HN: I've built a words game based on binary search

https://hilogame.cc/
45•ludovicianul•9h ago•42 comments

Show HN: SeekinWeb – Check if AI agents can read your website

https://seekinweb.com/
3•draxork•1h ago•0 comments

Show HN: QBasic Gorillas (Repeeled)

https://gameswithtony.com/gorillas/
19•TonyAlicea10•8h ago•17 comments

Show HN: HeimWall – Catch secrets before you paste them into Claude or Cursor

https://heimwall.ai/individual
2•ata2gxxx•2h ago•0 comments

Show HN: CreditKit, a Stripe usage-credits engine I kept rebuilding

https://youngalgy.com/creditkit
2•youngalgy•2h ago•0 comments

Show HN: I open-sourced a macOS native Markdown rendering engine

https://github.com/nodes-app/swift-markdown-engine
4•jacobchen7•2h ago•2 comments

Show HN: Rudo - A small, elegant dock for Wayland

https://github.com/skorotkiewicz/rudo
2•modinfo•2h ago•0 comments

Show HN: Algotrek – Algorithms visualized, problem shape shifting and a tutor

https://app.algotrek.io
10•nyggy•8h ago•4 comments

Show HN: Firefox in WebAssembly

https://developer.puter.com/labs/firefox-wasm/
238•coolelectronics•1d ago•123 comments

Show HN: Sentinel – open-source QA agent that reads your code before it clicks

https://blog.simbastack.com/announcing-sentinel/
13•asenna•7h ago•3 comments

Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

https://github.com/welcome-to-the-sunny-side/misa77
155•nonadhocproblem•1d ago•47 comments

Show HN: Wallflower – A Quiet Social Reader

https://thewallflower.app/about
7•tldrthelaw•8h ago•0 comments

Show HN: One More Letter

https://playonemoreletter.com/
83•hmate9•23h ago•56 comments

Show HN: Tree, truth, druid, dryad, and tar share one Proto-Indo-European root

https://p.migdal.pl/tree-of-tree/
3•stared•4h ago•0 comments

Show HN: I Built an Accent Changer App

https://accentchanger.com/
5•wbemaker•10h ago•12 comments

Show HN: Low-latency local LLM runner via OpenJDK Panama FFM (Java 22)

https://github.com/projectargus-cc/libargus.cc
38•KingJoker•2d ago•9 comments

Show HN: I built an open source alternative to Workflowy

https://dotflowy.com
3•campak•6h ago•0 comments

Show HN: E-- – A language you dial between English and Python

https://github.com/frmoded/e--
26•OdedF•6d ago•18 comments

Show HN: Open-source AI app builder you can embed into your own SaaS

https://github.com/totalumlabs/ai-app-builder-open
6•francescjuille•6h ago•0 comments