From Playwright to LLM Agents: 8 Open-Source AI Automation Tools for Browsers, Phones, and Code
AI automation has moved beyond toy demos into production-ready open-source tooling, but the cost and reliability of every inference step still dominate design choices, so teams need a clear pick based on whether they're debugging, running flows, testing on real devices, or reviewing code.
The shift in test automation from rigid selectors to natural-language-driven agents is now concrete enough that a single article can catalog eight credible open-source options. Three work in browsers: chrome-devtools-mcp (Google's official MCP server that gives AI agents direct access to DevTools debugging data), Skyvern (a YC-backed agent that parses the live DOM and screenshots at each step and lets an LLM pick numbered elements instead of hardcoded selectors), and Stagehand (Browserbase's TypeScript-first framework that separates act, observe, and extract, with deterministic replay after the first inference to cut token costs).
On the mobile side, ARTEMIS is Google's real-device Android agent with a native MCP server, three-path control locating that handles Canvas/Flutter via OCR, and Flash/Pro tiers. Mika is an individual developer's on-device agent that pairs over wireless debugging and runs on a separate screen, using only locally installed apps and sending data only to a self-configured model backend. phone-harness connects real iPhones and Androids to coding agents like Claude Code via Mac mirroring/Vision OCR or adb accessibility trees, exposing around 50 Python helpers.
For code and API layers, Alibaba's OpenCodeReview splits deterministic parts (file/line positioning) from model judgment, achieving a 33.9% precision that positions it as pre-commit screening, while Keploy records real traffic via eBPF to generate replayable regression tests and mocks without standing up dependencies. The shared design pattern across all eight: minimize model calls by keeping deterministic execution in code, reserving inference for judgment calls.
The most revealing design choice among these tools is the universal effort to minimize model calls: even AI-native automators treat inference as an expensive resource, which flips the old assumption that more AI is always better.
Stagehand's credential isolation — passwords filled by engineering code, not the model — points to a wider tension: agents that can see and do anything on a page also expose sensitive data, so the ones that survive production will wall off secrets from the model context.
Alibaba's OpenCodeReview precision of 33.9% is a blunt admission that LLM code review is still a pre-filter, not a final verdict; teams adopting these tools should expect to keep human review as the quality gate.
The rise of on-device agents like Mika and phone-harness suggests a split market: large-platform agents run in the cloud for enterprise testing, while individual developers are gravitating to privacy-preserving local tools that reuse their existing apps and logins.