# Libretto PR Agents - Automatically fix failing Playwright scripts

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

> Hacker News story 48939710 · language: en · submitted 2026-07-16
> Web version: https://zeli.app/story/48939710
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 22 · by [muchael](<https://news.ycombinator.com/user?id=muchael>) · 💬 5
[original](<https://libretto.sh/debug-agents>) · [HN discussion](<https://news.ycombinator.com/item?id=48939710>)

## Summary

Libretto PR Agents revolutionizes browser automation by automatically diagnosing and fixing failing Playwright scripts. When a test fails, the agent investigates the live page, identifies the root cause, and instantly opens a GitHub pull request with a proposed code fix. This solution integrates seamlessly with existing workflows without requiring a new runtime, allowing developers to keep their current browser providers and deployment structures. By automating the repair loop, Libretto ensures that your automation scripts remain robust and up-to-date with minimal manual intervention.

## Key quote

> Keep your scripts. Add the repair loop.

## HN discussion (5 comments)

### [pryelluw](<https://news.ycombinator.com/item?id=48941751>)

> Not hating but why cant I just create my own skill with the prompt you are using? https://github.com/saffron-health/libretto/blob/13380d589234...
>
> What’s special here? I am failing to understand the value because it feels like a solution looking for a problem.

### [Kavita621](<https://news.ycombinator.com/item?id=48944028>)

> Really like this approach to keeping Playwright deterministic while still getting AI-assisted fixes via PRs. At Brainspack, we build similar AI tooling around browser automation for teams with production scripts.

---

## Cite

- Page: https://zeli.app/story/48939710
- Date: 2026-07-16
- Source: libretto.sh (https://libretto.sh/debug-agents)
- Hacker News: https://news.ycombinator.com/item?id=48939710

## Other languages

- zh: https://zeli.app/zh/story/48939710 · markdown: https://zeli.app/zh/story/48939710.md
- ja: https://zeli.app/ja/story/48939710 · markdown: https://zeli.app/ja/story/48939710.md
- ko: https://zeli.app/ko/story/48939710 · markdown: https://zeli.app/ko/story/48939710.md
- de: https://zeli.app/de/story/48939710 · markdown: https://zeli.app/de/story/48939710.md
- es: https://zeli.app/es/story/48939710 · markdown: https://zeli.app/es/story/48939710.md
