AI tool comparison
Libretto vs MarkItDown
Which one should you ship with? Here is the side-by-side panel verdict, pricing read, reviewer split, and community vote comparison.
Developer Tools
Libretto
AI browser automation that doesn't break every other deploy
75%
Panel ship
—
Community
Paid
Entry
Libretto is an open-source TypeScript toolkit for building and maintaining browser automations that are actually reliable. Unlike most AI-driven browser tools that use probabilistic reasoning to select elements at runtime, Libretto works by having the AI generate deterministic selectors and action sequences upfront — then executing them with zero LLM involvement at runtime. The AI is your authoring tool, not your runtime dependency. The core insight: most AI browser automations fail in production because they call an LLM on every page interaction. Libretto flips this by using AI to write and update the automation scripts, but running them as ordinary code. When a site changes and your automation breaks, Libretto detects the failure and prompts you to let AI update the selector — then it's deterministic again. Built by the team at Saffron Health, the library hit HN's front page today and is generating discussion as a more pragmatic alternative to fully autonomous browser agents. For anyone who's tried Playwright with AI wrappers and found them unreliable in CI/CD, this is the architecture that's been missing.
Developer Tools
MarkItDown
Convert any file to Markdown — PDFs, Office docs, audio, images
75%
Panel ship
—
Community
Paid
Entry
MarkItDown is Microsoft's open-source Python utility that converts virtually any file format into clean, LLM-friendly Markdown. It handles PDFs, Word documents, PowerPoint presentations, Excel spreadsheets, HTML, CSV, JSON, XML, ZIP archives, images (with optional vision model descriptions), audio files (with transcription), YouTube URLs, and EPub files in one consistent interface. The key design philosophy is LLM-first: rather than trying to reproduce original formatting for human readers, MarkItDown preserves document structure—headings, lists, tables, links—in a format that language models naturally parse efficiently. It integrates with OpenAI-compatible vision clients for image descriptions and supports speech transcription for audio content. With 108k+ GitHub stars and still gaining nearly 2,000 per day, MarkItDown has become the default document ingestion layer for countless AI pipelines. As agents increasingly need to process real-world enterprise documents, this kind of robust conversion utility becomes critical infrastructure—turning messy business files into clean inputs that Claude or GPT-4o can reason about without token-wasting formatting artifacts.
Reviewer scorecard
“This is the right mental model for production browser automation. Using AI for authoring but not runtime means you get consistency in CI without random failures at 2am. I've been waiting for someone to build this properly.”
“MarkItDown solves the boring-but-critical problem of getting messy enterprise docs into LLM-friendly formats. The breadth of format support—PDF, PowerPoint, Excel, YouTube URLs, audio—means one library covers your whole intake pipeline. 108k stars is the market's verdict.”
“The 'AI updates your selectors' workflow sounds great until you're reviewing 50 AI-generated selector changes after a site redesign. You've just moved the flakiness from runtime to the maintenance loop. Also, 37 stars is very early — I'd wait for production case studies.”
“Output quality varies wildly by format. Complex PDFs with multi-column layouts, tables, and embedded images still produce garbled Markdown. It's great for clean docs but 'any file' is aspirational—you'll spend time post-processing anything messy. Microsoft started this, then moved on; community maintenance is mixed.”
“The deterministic-at-runtime pattern will become the standard architecture for AI-assisted automation. Libretto is arriving exactly as enterprises start demanding reliability SLAs from their AI tooling. Early movers will have a significant advantage.”
“Every enterprise AI pipeline needs a document ingestion layer. MarkItDown becoming a standard here signals we've moved past 'can LLMs reason?' to 'can LLMs process the full enterprise data stack?' That's a meaningful maturation point for production AI.”
“As someone who automates repetitive web tasks constantly, this solves my biggest frustration — AI-written automations that fall apart the moment a site updates their CSS. The auto-repair loop is exactly what I need for long-running workflows.”
“Drop in a PDF, a PowerPoint deck, even a YouTube URL and get clean Markdown back for your AI workflows. No more copy-pasting reference materials into prompts. This single utility has quietly made AI-assisted research dramatically less painful.”
Weekly AI Tool Verdicts
Get the next comparison in your inbox
New AI tools ship daily. We compare them before you waste an afternoon.