Perzian’s Mantis reports lower browser-agent costs in project benchmarks
state: watchingheat: lowuncertainty: highrelevance: mediumbrowser-agents agent-efficiencyPerzian
What is this?
Mantis is a small, MIT-licensed beta browser interface from Perzian, offered as an MCP server for agents including Claude Code, Codex and Cursor. Instead of returning screenshots or a full accessibility tree, it presents numbered page controls as concise text and reports changes after actions. A Show HN post surfaced it on November 6, 2026, and another appeared November 11; the sources do not establish the original release date. Its project README reports comparisons against Playwright MCP, with explicit benchmark caveats.
Why it matters
Mantis explores a practical way to make browser-using agents cheaper and quicker: give them concise, actionable text rather than repeatedly processing larger page representations. If its results generalize, this could make agentic browsing more efficient and accessible under token or latency constraints. The evidence is promising but project-published, limited to two models and selected task types; it does not establish broad performance in real-world use.
Current assessment
Newly tracked: Perzian’s Mantis is presented as an installable MCP browser tool, usable with several coding agents or a user’s Chrome profile. It numbers controls, returns concise text, and can return only changes after an action; login, CAPTCHA, 2FA and payment flows may require human involvement. The project’s README compares it with Playwright MCP’s accessibility tree on public-site read, navigation and form-fill tasks, using gpt-6-luna and claude-haiku-5-5. In its long-task results, Mantis had similar keyed accuracy to the tree baseline and lower median input tokens, calls and wall time: reported reductions were 29–47%, 29–37% and about one third, respectively. Short-task accuracy was equal or better in the reported comparisons, while token results varied against the screenshot baseline. These are the project’s own results, not independent validation. Caveats include limited models and tasks, excluded unkeyable iframe/tab tasks, a newer Mantis build in short-task time comparisons, and disclosed task changes; the README also says the headline figures refer to an earlier build. The tool may reduce the cost and latency of browser-agent workflows, but the supplied evidence does not establish generality, adoption or performance beyond these tests.
Measured heat
now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 489h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion
How the heat travelled
pace: p47 vs 1845 stories at the 336h mark (now 489h old) — ahead of agentplay-coding-agent-cost-dashboard (1.2x), behind agent-alley-social-experiment (0.9x)
Evidence (3) — ⭐ canonical anchor
| source | object | author | score | comments |
| 🟧 hn | Show HN: Mantis – AI agents browse 36% faster than with Playwright MCPRetrieved article excerptOpen article · Retrieved 2026-11-06T07:21:56.025456+00:00 [mantis](https://github.com/perzianhq/mantis/blob/main/docs/img/banner.svg)
**Lets AI agents browse the web as short, numbered text instead of screenshots.**
[perzian.dev/mantis](https://perzian.dev/mantis/) · by [Perzian](https://perzian.dev)
It works with Claude Code, Codex, Cursor or your own agent as an MCP server. [Install in two commands](https://github.com/perzianhq/mantis/blob/main/docs/SETUP.md#install).
```
npx -y -p mantis-browser mantis install
claude mcp add mantis -- npx -y -p mantis-browser mantis-mcp
npx -y -p mantis-browser mantis read https://example.com # try it without an agent
```
Windows, Linux servers and other agents: [SETUP](https://github.com/perzianhq/mantis/blob/main/docs/SETUP.md#install).
[Side-by-side replay of the same task with Mantis and Playwright MCP: Mantis finishes in 11 calls and about 238k input tokens, Playwright MCP in 25 calls and about 887k](https://github.com/perzianhq/mantis/blob/main/video/mantis-demo.gif)
*One real task (Luna, each tool’s median run of 5 by input tokens, replayed): about half the time, over 3.5x fewer input tokens, less than half the calls. Across all 5 runs: 3-5x fewer tokens, about half the time, 11-12 calls vs 21-29. This is a selected example from 16 long tasks; medians across all 16 are in [Results](https://github.com/perzianhq/mantis#results). [Full video](https://github.com/perzianhq/mantis/blob/main/video/mantis-demo.mp4).*
Security and threat model: [SECURITY.md](https://github.com/perzianhq/mantis/blob/main/SECURITY.md).
## How it works
[Agent sends open/click to Mantis; Mantis reads the page in Chromium, numbers each control and returns only what changed; CAPTCHA, 2FA and payment go to you](https://github.com/perzianhq/mantis/blob/main/docs/img/flow.svg)
## What the agent sees
[A shop page with a cookie popup becomes 8 numbered lines; after click #3 only the changes come back](https://github.com/perzianhq/mantis/blob/main/docs/img/sees.svg)
## Results
Mantis vs the accessibility tree (Playwright MCP) on public sites, `gpt-6-luna` and `claude-haiku-5-5`. Every cell is a per-run median; time is end-to-end wall time per run:
*0.1.13: headline numbers are 0.1.9's; later builds checked on Dickens (Luna, Haiku), the capability-v1 local set and the visual-live-v1 real-site set.*
**Long tasks** (correct: 14 keyed tasks, 42 runs per cell; medians: all 16 tasks, 48 runs per cell; both approaches run in the same session):
| | Luna Mantis | Luna tree | Haiku Mantis | Haiku tree |
| --- | --- | --- | --- | --- |
| Correct | **35/42** | 34/42 | 40/42 | 40/42 |
| Input tokens (median) | **244k** | 345k | **268k** | 506k |
| Tool calls (median) | **17** | 24 | **19** | 30 |
| Time (median) | **42s** | 66s | **54s** | 85s |
**Short tasks** (30 tasks, 90 runs per cell; tree and screenshot columns are the earlier 20261026 run):
| | Luna Mantis | Luna tree | Luna screenshot | Haiku Mantis | Haiku tree | Haiku screenshot |
| --- | --- | --- | --- | --- | --- | --- |
| Correct | 88/90 | 86/90 | **90/90** | **90/90** | 88/90 | 88/90 |
| Input tokens (median) | **64k** | 99k | 104k | 38k | 88k | **33k** |
| Tool calls (median) | **3** | 4 | 7 | **3** | 5 | 6 |
| Time (median) | **16s** | 31s | 35s | 19s | 30s | **23s** |
**Versus the accessibility tree:**
- Long tasks: accuracy within one run, 29-47% fewer input tokens, 29-37% fewer calls, about a third less time.
- Short tasks: accuracy equal or better, 35-57% fewer input tokens.
**Versus screenshots:**
- Luna: screenshots score 2 runs higher but use more tokens and time.
- Haiku: screenshots use fewer tokens.
**Caveats:**
- Short-task times compare a newer Mantis build with the earlier tree and screenshot run, so treat that time gap as indicative.
- Scores come from deterministic answer keys on the final page state. Two long iframe/tab tasks can't be keyed and are left out of the long-task counts.
- Method and full caveats: [bench/RESULTS.md](https://github.com/perzianhq/mantis/blob/main/bench/RESULTS.md).
## Use your own Chrome
Optional. Mantis can drive your real Chrome (your tabs, your sign-ins) instead of launching a fresh browser:
- Run `npx -y -p mantis-browser mantis chrome`. It starts Chrome on `127.0.0.1:9222` with a dedicated profile.
- Add `MANTIS_CDP_URL=http://127.0.0.1:9222` to the `env` of the Mantis MCP config.
- Sign in to your sites once in that profile; sign-ins persist there.
- Mantis then acts on your real tabs, so act carefully. Without the variable nothing changes.
## Limitations
- No canvas input: canvas, WebGL, maps and drawing apps are described only as canvas, with no coordinate click or draw tool.
- Login and bot walls need `ask_human`, which needs a display.
- Benchmarked only on read, navigate and form-fill tasks on public sites, with two models. The screenshot baseline is this project's own tool, and a few tasks were swapped after results ([disclosed](https://github.com/perzianhq/mantis/blob/main/bench/RESULTS.md)).
- Page content is untrusted data; see [SECURITY.md](https://github.com/perzianhq/mantis/blob/main/SECURITY.md).
- Small v0.1.x beta.
## Learn more
- [How it works in detail](https://github.com/perzianhq/mantis/blob/main/docs/APPROACH.md)
- [Claude skill](https://github.com/perzianhq/mantis/blob/main/skill/README.md): teaches Claude how to read Mantis output
- [Install, configuration and tool reference](https://github.com/perzianhq/mantis/blob/main/docs/SETUP.md)
- [Re-running the benchmarks](https://github.com/perzianhq/mantis/blob/main/bench/README.md)
## License
MIT | aaditsingal7859 | 4 | 0 |
| 🟧 echo.github ⭐ | Mantis presents a lean browser interface for agents and publishes comparisons with Playwright MCP, including task accuracy, token use, calls | Perzian | — | — |
| 🟧 hn | Show HN: Mantis – Faster browser interaction than Playwright MCP | sharkyy | 5 | 2 |
Interpretation history
2026-11-10T16:26:25Z
audience grounding: medium — Mantis explores a practical way to make browser-using agents cheaper and quicker: give them concise, actionable text rather than repeatedly processing larger page representations. If its results generalize, this could make agentic browsing more efficient and accessible under token or latency constraints. The evidence is promising but project-published, limited to two models and selected task types; it does not establish broad performance in real-world use.
2026-11-10T16:26:05Z
No new implementation result or independent validation has changed the benchmark-based assessment. The follow-up discussion adds a practical usability question—whether an agent can recover the full page when it loses track—but does not answer it; attention has cooled from its earlier peak.
2026-11-06T07:22:45Z
audience grounding: medium — A leaner browser interface could make multi-step web tasks cheaper and faster for agents, potentially widening which workflows are practical under token and latency budgets. Mantis’s own tests suggest promising gains, but they cover limited task types and two models, so broader performance and reliability remain uncertain.
Decision trace
- 11-25 00:28drop_targetsquiet through full ladder or over cap 8
- 11-11 03:26repriceNo new implementation result or independent validation has changed the benchmark-based assessment. The follow-up discussion adds a practical usability question—whether an agent can recover the full pa
- 11-11 03:26groundMantis explores a practical way to make browser-using agents cheaper and quicker: give them concise, actionable text rather than repeatedly processing larger page representations. If its results gener
- 11-11 03:22attention_candidateattach
- 11-11 03:22attachThis release post adds a concise description of Mantis's text-and-number browser interaction approach to the existing case.
- 11-11 03:22propose_attachThis release post adds a concise description of Mantis's text-and-number browser interaction approach to the existing case.
- 11-06 18:23attention_candidatecreate
- 11-06 18:22groundA leaner browser interface could make multi-step web tasks cheaper and faster for agents, potentially widening which workflows are practical under token and latency budgets. Mantis’s own tests suggest
- 11-06 18:22createThe released tool and inspectable, explicitly qualified benchmarks make a concrete agent-efficiency development worth tracking, while the results remain maintainer-reported.