2026-11-26 15:47 UTC

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

11-06 07:22 (minted)⭐ origin echo-reconstructedMantis presents a lean browser interface for agents and publishes comparisons with Playwright MCP, including task accuracy, token use, calls
Perzian on github (echo) · attributed from hn.story.50388956 · published time unknown
—
11-06 06:38first on hacker news · published · lag ?Show HN: Mantis – AI agents browse 36% faster than with Playwright MCP
aaditsingal7859
—
11-06 06:38amplified on hacker newshn.story.50388956
aaditsingal7859
peak 4 · 0 comments · 36% of case engagement
11-10 15:29amplified on hacker news 👑hn.story.50441765
sharkyy
peak 5 · 2 comments · 64% of case engagement
11-06 07:21our radar first saw it · lag ?discovery anchor: hn.story.50388956—
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

sourceobjectauthorscorecomments
🟧 hnShow HN: Mantis – AI agents browse 36% faster than with Playwright MCP
Retrieved article excerpt

Open 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
aaditsingal785940
🟧 echo.github ⭐Mantis presents a lean browser interface for agents and publishes comparisons with Playwright MCP, including task accuracy, token use, callsPerzian——
🟧 hnShow HN: Mantis – Faster browser interaction than Playwright MCPsharkyy52

Interpretation history

Decision trace