Agent First Browse

github.com

Fast, token-efficient autonomous browser control for AI agents, with MCP and CLI.

Pricing
Open source
Published
Nov 26, 2026

Next steps

What it does

Agent First Browse is an open-source Python package that lets AI agents control a browser on their own. It perceives pages through the accessibility tree first, verifies steps with LangGraph, and ships a native MCP server (stdio) and CLI. Published on PyPI as agent-first-browse, it needs Python 3.11 or later and builds on Playwright.

Use cases

  • Let an AI agent control a browser using the accessibility tree instead of screenshots
  • Expose web automation to Claude or other MCP clients over stdio or CLI
  • Verify each browser step with a LangGraph loop to cut wasted tokens

Frequently asked questions

What is Agent First Browse?
An open-source Python package for autonomous browser control by AI agents. It reads pages through the accessibility tree, verifies steps with LangGraph and ships a native MCP server and CLI.
How do I install it?
It is published on PyPI as agent-first-browse and requires Python 3.11 or later. It builds on Playwright.
Does it support MCP?
Yes. The README documents MCP over stdio and a CLI, with no separate API service required.
What is the license?
Apache-2.0.
Log in to join the discussion