An open source CLI to integrate with any website.
Libretto is an agent skill and token-efficient CLI that makes it easy for your coding agent to inspect live pages, reverse-engineer network requests, and generate deterministic browser automations.
There’s lots of tools that use runtime AI like Browseruse and Stagehand which we tried, but (1) they’re reliant on custom DOM parsing that's unreliable on older and complicated websites (including all of healthcare). Using a website’s internal network calls is faster and more reliable when possible. (2) They can be expensive since they rely on lots of AI calls and for workflows with complicated logic you can’t always rely on caching actions to make sure it will work. (3) They’re at runtime so it’s not interpretable what the agent is going to do. You kind of hope you prompted it correctly to do the right thing, but legacy workflows are often unintuitive and inconsistent across sites so you can’t trust an agent to just figure it out at runtime. (4) They don’t really help you generate new automations or help you debug automation failures.
We wanted a way to reliably generate and maintain browser automations in messy, high-stakes environments, without relying on fragile runtime agents.
Libretto is different because instead of runtime agents it uses “development-time AI”: scripts are generated ahead of time as actual code you can read and control, not opaque agent behavior at runtime. Instead of a black box, you own the code and can inspect, modify, version, and debug everything.
Rather than relying on runtime DOM parsing, Libretto takes a hybrid approach combining Playwright UI automation with direct network/API requests within the browser session for better reliability and bot detection evasion.
It records manual user actions to help agents generate and update scripts, supports step-through debugging, has an optional read-only mode to prevent agents from accidentally submitting or modifying data, and generates Typescript code in your repo.
Michael Kronovet
Free AI Video Generator, Face Swap & Effects
Built something cool? Launch it properly.
AI-backed launches on a high-DR domain
Get Your Product Listed in 100+ Directories
Your new website, email address & cloud storage
Domain names for Indie Makers
Launch a job board in 5 minutes.
Translate image text instantly.
days streak
🚀 Why build streaks?
🔥 Active users = More visibility = More success!