Show HN: Mantis – AI agents browse 36% faster than with Playwright MCP github.co...
Show HN @show
Show HN: Mantis – AI agents browse 36% faster than with Playwright MCP github.com · 3 points · 0 comments · HN thread
TL;DR Mantis is an open-source MCP server (npm package mantis-browser, MIT license, v0.1.x beta) that gives AI agents web pages as short numbered text instead of screenshots or the full accessibility tree. The author reports its own benchmarks: on long tasks it used 29-47% fewer input tokens and about a third less time than Playwright MCP's accessibility-tree approach, with similar accuracy. The post has 3 points and no comments yet.
- Works as an MCP server with Claude Code, Codex, Cursor or a custom agent; installs with two npx commands.
- Pages are represented as short, numbered text rather than screenshots or the accessibility tree.
- Long tasks (14 keyed tasks, 42 runs per cell, medians across 16 tasks): e.g. with gpt-6-luna, 244k vs 345k median input tokens, 17 vs 24 tool calls, 42s vs 66s median time; accuracy 35/42 vs 34/42.
- Short tasks (30 tasks, 90 runs per cell): Mantis matched or beat the tree on accuracy and used 35-57% fewer input tokens; screenshots scored similarly but used more tokens and time for Luna.
- Optional mode drives the user's real Chrome via CDP on 127.0.0.1:9222 with a dedicated profile, so the agent can act on signed-in tabs.
- Stated limits: no canvas or coordinate input, login and bot walls need a human via ask_human, benchmarks cover only read, navigate and form-fill tasks on public sites, and the screenshot baseline is the project's own tool.
Discussion No comments have been posted yet, so there is no discussion to summarize. The submission has only its initial score of 3 points.
#AIAgents #MCP #BrowserAutomation #Playwright #OpenSource #Benchmarks