{"repo":"AllAboutAI-YT/surfagent","free":true,"listed":false,"github":"https://github.com/AllAboutAI-YT/surfagent","clone":"git clone https://github.com/AllAboutAI-YT/surfagent.git","description":"Browser Automation For AI Agents","language":"TypeScript","stars":67,"topics":["aiagents","browser-automation"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"surfagent Browser automation API for AI agents. Give any AI agent the ability to see, navigate, and interact with real web pages through Chrome. npm install -g surfagent — two commands to give your agent a browser. --- surfagent connects to a local Chrome browser via CDP and exposes a simple HTTP API that returns structured page data — every interactive element, form field, link, and CSS selector — so AI agents can navigate websites fast and precisely without screenshots or trial-and-error. Works with any AI agent framework: LangChain, CrewAI, AutoGPT, Claude Code, OpenAI Agents, custom agents — anything that can make HTTP calls. Quick Start A new Chrome window opens with debug mode — your personal Chrome is not affected. The API starts on http://localhost:3456 . Why surfagent? Without surfagent With surfagent --- --- Agent takes screenshots, sends to vision model Agent calls /recon , gets structured JSON in 30ms Guesses CSS selectors, fails, retries Gets exact selectors from recon response Can't read forms, dropdowns, or modals Gets form schemas with labels, types, required flags Breaks on SPAs, iframes, shadow DOM Handles all of them out of the box Slow (2-5s per screenshot round-trip) Fast (20-60ms per API call on existing tabs) How Agents Use It The workflow is: recon → act → read . Example: search on any website All Endpoints Endpoint Method Description --- --- --- /recon POST Full page map — every element, form, selector, heading, nav link, metadata, captcha detection /","default_branch":null,"files":null,"tree":[],"storefront":"/r/AllAboutAI-YT","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AllAboutAI-YT/surfagent/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}