For AI agents: the index of this site is https://dejo.run/llms.txt, and every page is also served as markdown (add .md to its address, or send Accept: text/markdown).

dejo

Dejo vs agent-browser

The short answer: agent-browser, from Vercel Labs, is "a native Rust CLI that gives an AI agent a browser it can drive one command at a time": snapshot the page, act on a ref like @e1, snapshot again. Dejo is an MCP server that remembers website tasks: your agent drives it step by step the first time, and every run after that is one tool call with zero model calls. For fast one-off driving from the shell, agent-browser is a strong pick. For website work that comes back, Dejo saves the repeat.

Side by side

Dejoagent-browser
what it isMCP server (Python)command-line tool (Rust), with an MCP mode (agent-browser mcp)
how the agent drives itstep lines in dejo_run, many per callone shell command per step
element refse12 from look@e1 from snapshot
remembers a task between sessionsyes, replays with zero model callsnot in its README (it keeps the browser and session state)
checks each stepyes, every saved step carries a check that it landeda click fails when the target is hidden, disabled, off screen or covered
when a site changesstops at the one step that moved; your agent fixes itthe agent snapshots and works it out again
browsersChrome or Chromium, or a Chrome you point it at with DEJO_CDP_URLChrome for Testing, a running Chrome, Lightpanda, Obscura, iOS Simulator Safari, cloud providers
licenseMITApache-2.0
tokens, our real-site benchmark251K first run, 89K afternot measured yet

The agent-browser column comes from its README, read 13 November 2026. agent-browser has not been through our benchmark, so there is no token number for it.

One command at a time, or one call for the whole task

agent-browser is built to make each step cheap. A background daemon keeps the browser open between commands, snapshots are compact text, and refs let the agent act without re-reading the whole page. Its README says to take a new snapshot after a page changes and act on the fresh refs. That loop is quick, and the agent still decides every step on every run.

Dejo cuts the loop out once a task is learned:

  1. The first run, your agent explores through dejo_run, which can take many step lines in one call, and Dejo saves each step with a check that proves it worked.
  2. Every run after, one dejo_run call walks the whole task in plain code. No snapshots, no model call inside Dejo.
  3. When the site changes, only the step that moved fails, and your agent fixes that one step.

On our benchmark of 19 tasks on 11 real websites, Dejo's runs after the first averaged 89K tokens against 409K for Playwright MCP, and 17 of the 19 tasks replayed in a single call.

When agent-browser is the better choice

When Dejo is the better choice

Set up Dejo

pip install dejo-mcp
playwright install chromium
claude mcp add --scope user dejo -- dejo-mcp

Then ask your agent for something on a website, in your own words. Other agents: Codex, Cursor.

More comparisons: Dejo vs Browser MCP, Playwright MCP alternative and Playwright MCP vs Playwright CLI.

FAQ

What is the difference between agent-browser and Dejo?

agent-browser is Vercel's command-line browser for AI agents: the agent runs one short command per step, reads a compact snapshot and acts on refs like @e1. Dejo is an MCP server that remembers each website task, so after the first run the whole task is one tool call with zero model calls.

Does agent-browser have an MCP server?

Yes. agent-browser mcp starts an MCP server over stdio. It also ships skills for agent harnesses, and most people use it as a shell command.

Does agent-browser remember tasks?

Its README describes a browser that stays open between commands and saved session state, not a saved task. Each new task is driven step by step by the agent. Dejo saves a learned task with a check on every step and replays it in one call.

Can I use agent-browser and Dejo together?

Yes. One is a CLI and the other an MCP server. agent-browser suits fast one-off driving from the shell; Dejo suits website tasks your agent repeats.