AI tool comparison
Libretto vs Agency by Mozilla
Which one should you ship with? Here is the side-by-side panel verdict, pricing read, reviewer split, and community vote comparison.
Developer Tools / AI Agents
Libretto
Deterministic browser automations for AI agents — 95% success rate
75%
Panel ship
—
Community
Free
Entry
Libretto is an open-source browser automation toolkit built by Saffron Health to solve a critical problem with AI-driven web agents: non-determinism. Standard agent-controlled browsers using Playwright or Puppeteer routinely fail 20-30% of the time on production workflows because they rely on LLM judgment for timing and element selection. Libretto replaces that with a record-replay system that captures precise interaction timing and DOM fingerprints, achieving a reported 95% success rate on identical workflows. The library works by recording a "golden path" of a browser session — capturing not just actions but the exact CSS selectors, visual context, and timing windows during which those actions are valid. On replay, it verifies each step against expected page state before proceeding, and falls back to an LLM-assisted recovery mode when pages drift (e.g., after a UI update). Saffron Health built it to maintain integrations with EHR portals that change frequently and where failure has compliance consequences. Saffron open-sourced Libretto after using it internally for 18 months across 40+ healthcare software integrations. The HN thread highlighted the appeal for fintech, legal, and healthcare automation where reliability, not just capability, is the product. The toolkit targets TypeScript/Node.js environments and integrates cleanly with existing Playwright infrastructure.
Developer Tools
Agency by Mozilla
Privacy-first, browser-native AI agent framework built for Firefox
75%
Panel ship
—
Community
Free
Entry
Agency is an open-source browser agent framework from Mozilla that runs locally inside Firefox, enabling AI-driven browser automation without routing user data through external cloud servers. It supports MCP-compatible tool use, meaning agents can call local or remote tools while keeping browsing context private. The project positions itself as a privacy-preserving alternative to cloud-hosted browser automation agents like Operator or Anthropic's computer use.
Reviewer scorecard
“Record-replay with LLM fallback is the right architecture for production browser automation. The 95% vs 70% success rate gap is enormous when you're running 1000+ workflows. The Playwright integration means zero migration cost for existing projects — just wrap your sessions.”
“The primitive here is clean: a browser-native agent runtime that binds to Firefox's internals and exposes MCP-compatible tool interfaces, all local. No cloud hop, no screenshotting your desktop and sending it to Anthropic. The DX bet Mozilla made is right — run in-process in the browser where DOM access is first-class, not bolted on from outside. The moment of truth is whether the MCP tool registration is actually ergonomic or if it buries you in schema boilerplate, and the repo suggests the latter needs polish. Still, this is a real primitive, not a wrapper — Mozilla is giving developers a composable base that a Playwright-over-CDP weekend project genuinely cannot replicate, because the privacy guarantees come from architecture, not policy.”
“The 95% figure is from Saffron's own healthcare-specific workflows — your mileage may vary significantly on SPAs, infinite scroll, or JS-heavy sites. Recording golden paths also means maintenance overhead whenever target sites update their UI, which can be frequent.”
“Category is browser automation agents; direct competitors are Anthropic Computer Use, OpenAI Operator, and Playwright-based agent wrappers. The scenario where this breaks is any user who needs a capable frontier model baked in — Agency gives you the runtime plumbing but you still have to bring your own model, and local models are still embarrassingly bad at browser task reasoning compared to GPT-4o. What kills the cloud alternatives here is regulatory pressure on enterprise data handling, which is real and accelerating — that's the thesis that survives. Mozilla ships this, it gets traction in privacy-sensitive enterprise and research contexts, and the cloud agents find their growth capped in regulated industries. I'd call this a genuine ship for the niche it's targeting, not a universal recommendation.”
“The AI agent reliability problem is underrated. Most agent failures aren't reasoning failures — they're execution failures in the browser layer. Libretto's approach of constraining the non-determinism surface is exactly the right abstraction for enterprise adoption of browser agents.”
“The falsifiable thesis here is: within 3 years, regulatory and user-trust pressure will make cloud-routed browser agents legally or commercially unacceptable in enough markets that local-first agent runtimes become the default for sensitive workflows — healthcare, legal, finance, government. Agency is early to that specific bet, and being a Mozilla project means it rides the browser-vendor trust signal that no startup can buy. The second-order effect nobody's talking about: if Agency becomes the standard runtime for Firefox-native agents, Mozilla gets to define what MCP tool permissions look like in a browser context, shifting standards power back toward an open-standards body and away from the model providers. The dependency that has to hold is that local model capability closes the gap with cloud fast enough — Gemma 3 and Qwen3 suggest it's on track.”
“Less exciting for creators than developers, but the reliability angle matters: tools like this enable the kind of reliable web automation that could power content pipelines (research, scraping, form submission) that currently break too often to trust in production.”
“There is no buyer here, which is the whole problem — Mozilla is a nonprofit shipping open-source infrastructure, not a business, and that's fine for what it is, but framing this as a product review misses the point and also confirms the skip. Any startup trying to build on top of Agency inherits Firefox dependency, local model constraints, and a framework maintained by a nonprofit with a historically mixed record of developer-facing project continuity (see: Firefox OS, Servo, Pocket). The moat question answers itself: Mozilla can't own a market position because they're not trying to, and any company that builds a product layer on this is one browser vendor decision away from a breaking change. If you're a developer building privacy-first browser tooling, this is interesting infrastructure. If you're trying to build a business on it, that's the skip.”
Weekly AI Tool Verdicts
Get the next comparison in your inbox
New AI tools ship daily. We compare them before you waste an afternoon.