{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "vercel-labs-agent-browser--let-your-agent-browse-with-short-cli-commands",
 "repo": "vercel-labs/agent-browser",
 "repo_url": "https://github.com/vercel-labs/agent-browser",
 "repo_slug": "vercel-labs-agent-browser",
 "title": "Let your agent browse with short CLI commands",
 "page_title": "How to let your agent browse with short CLI commands with Agent Browser",
 "summary": "Install Agent Browser and have the agent open, snapshot, click and fill by element ref.",
 "who": "A developer whose agent can run shell commands and needs to test a web flow.",
 "problem": "Browser MCP servers load big tool schemas into every conversation.",
 "outcome": "An agent that drives a real browser with compact commands and readable snapshots.",
 "steps": [
  "Install: `npm install -g agent-browser`, then `agent-browser install` to get Chrome",
  "Open a page: `agent-browser open example.com`",
  "Get the accessibility tree with refs: `agent-browser snapshot`",
  "Act by ref: `agent-browser click @e2`, `agent-browser fill @e3 \"test@example.com\"`, `agent-browser get text @e1`"
 ],
 "agent_prompt": "Install vercel-labs/agent-browser and use it to open http://localhost:<port>, fill the signup form with test data, submit it, and report the resulting page text.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "npm, Homebrew or Cargo",
  "Chrome (agent-browser install downloads Chrome for Testing)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/vercel-labs-agent-browser/let-your-agent-browse-with-short-cli-commands/",
 "md": "https://dedupedai.com/use-cases/vercel-labs-agent-browser/let-your-agent-browse-with-short-cli-commands/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/vercel-labs-agent-browser--let-your-agent-browse-with-short-cli-commands.json",
 "api_version": "v1"
}
