saffron-health/libretto

The AI toolkit for building reliable browser automations

What it solves

Libretto provides a toolkit for building and maintaining robust web integrations. It simplifies the process of scraping, automating browser workflows, and reverse-engineering site APIs, specifically designed to be used as a skill for coding agents to reduce the manual effort of writing and fixing broken browser scripts.

How it works

Libretto gives a coding agent a live browser and a token-efficient CLI. The agent can use these tools to inspect live pages, capture network traffic to identify API endpoints, and record user actions to generate automation scripts. It also allows for interactive debugging where an agent can reproduce a failure, pause the workflow, and fix selectors or logic autonomously.

Who it’s for

Developers and teams building web integrations or browser-based automation who want to leverage AI agents to automate the script generation, maintenance, and conversion of UI automation to direct API calls.

Highlights

  • Agent-ready CLI: A token-efficient interface designed for LLM-based coding agents.
  • API Reverse Engineering: Captures network traffic to convert browser automation into faster, more reliable direct network requests.
  • enacted Workflow Recording: Records user actions to replay them as automation scripts.
  • Autonomous Debugging: Enables agents to reproduce failures and fix broken selectors in real-time against live sites.

Related

  • Project
  • Project
  • Project
  • Project