frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

https://libretto.sh/debug-agents
10•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.

Kimi K3: Open Frontier Intelligence

https://www.kimi.com/blog/kimi-k3
988•vincent_s•8h ago•604 comments

My car's OTA update broke Android Auto, and it's a indictment of modern software

https://imdanielkendall.com/the-great-software-regress-how-move-fast-and-break-things-broke-our-l...
28•Expletive4138•31m ago•9 comments

LM Studio Bionic: the AI agent for open models

https://lmstudio.ai/blog/introducing-lm-studio-bionic
93•minimaxir•2h ago•30 comments

Microsoft Comic Chat is now open source

https://opensource.microsoft.com/blog/2026/07/16/microsoft-comic-chat-is-now-open-source/
455•jervant•6h ago•103 comments

FIFA World Cup 2026 Data Portraits

https://wc26.bogachev.fr/index.html
23•sebg•38m ago•11 comments

Decoy Font

https://www.mixfont.com/experiments/decoy-font
338•ray__•6h ago•86 comments

Mathematics of Data Science

https://arxiv.org/abs/2607.11938
55•Anon84•2h ago•1 comments

NotebookLM is now Gemini Notebook

https://blog.google/innovation-and-ai/products/gemini-notebook/notebooklm-gemini-notebook/
201•xnx•6h ago•113 comments

Helium escaping from atmosphere of nearby rocky exoplanet in a habitable zone

https://www.science.org/doi/10.1126/science.aea9708
42•anyonecancode•2h ago•7 comments

Ring-Zero: Scaling Zero RL to a Trillion Parameters for Emergent Reasoning

https://arxiv.org/abs/2607.12395
12•binyu•1h ago•0 comments

'Likweli': A new monkey species discovered in the Congo Basin

https://news.yale.edu/2026/07/15/meet-likweli-new-monkey-species-discovered-congo-basin
16•gmays•1h ago•1 comments

Detecting LLM-Generated Texts with “Classical” Machine Learning

https://blog.lyc8503.net/en/post/llm-classifier/
130•uneven9434•6h ago•94 comments

Immersive Linear Algebra Book with Interactive Figures (2015)

https://immersivemath.com/ila/
138•srean•7h ago•24 comments

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
510•pilililo2•12h ago•303 comments

The Little Book of Reinforcement Learning

https://github.com/alxndrTL/little-book-rl/
6•mustaphah•33m ago•0 comments

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

https://github.com/cgrtml/reasongate
5•Cagritemel•39m ago•0 comments

The privacy problems hidden in your period tracker

https://www.bbc.com/future/article/20260715-how-period-trackers-share-womens-private-details
52•tchalla•2h ago•23 comments

Adaptional (YC S25) Is Hiring

https://www.ycombinator.com/companies/adaptional/jobs
1•acesohc•5h ago

Pseudpocalypse

https://dynomight.net/pseudpocalypse/
55•surprisetalk•2d ago•29 comments

Abstracting Effects with Continuations

https://crowdhailer.me/2026-07-15/abstracting-effects-with-continuations/
22•crowdhailer•12h ago•0 comments

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
141•yabones•9h ago•73 comments

Show HN: Mojibake – a low-level Unicode library written in C

https://mojibake.zaerl.com/
6•program•31m ago•0 comments

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

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

How to Train a Gen AI Kick Drum Model on Your Old Linux Desktop with 6GB VRAM

https://www.zhinit.dev/blog/training-a-kick-drum-diffusion-model
82•zhinit•7h ago•52 comments

Just Do Things

https://ray.zo.space/blog/just-do-things
7•erhuve•1h ago•2 comments

How Our Rust-to-Zig Rewrite Is Going

https://rtfeldman.com/rust-to-zig
372•jorangreef•11h ago•205 comments

Show HN: Clx – Compile Lua to Native Executables Through C++20

https://github.com/samyeyo/clx
67•_samt_•5d ago•0 comments

Timeline Scan – AI fixes the dates on your scanned photos

https://timelinescan.com/
13•HoserHoser•2h ago•19 comments

Launch HN: Traceforce (YC S26) – Company-wide security monitoring for AI apps

21•XiaHua•6h ago•10 comments

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

https://bamboo.kickstage.com
16•soaringmonchi•7h ago•4 comments