跪拜 Guibai
← Back to the summary

Skyvern: 23k Stars for a Browser Agent That Stops Caring About Selectors

For those who write UI automation: this 23k-star automation Agent lets the browser test itself!

Hello everyone, I'm Kuang Shi.

Today I'd like to share an open-source browser automation Agent project: Skyvern. It has already earned 23k stars on GitHub, was built by a team incubated by Y Combinator, was open-sourced in early 2024, and is now nearly three years old. The latest version, v1.0.58, was released on 2026-11-15, and the repository is still being updated frequently.

This project uses a Python backend with a TypeScript frontend, and the browser layer is based on Playwright. It uses LLMs plus computer vision to replace traditional scripts, automatically operating the browser to complete repetitive tasks on web pages.

What it does is simple to put in one sentence: you describe a task in natural language, and it opens the browser, looks at the page, clicks buttons, fills out forms, and brings back the result.

Where does traditional browser automation hurt?

Anyone who has written UI automation knows that the big cost of scripts is never in the writing—it's in the maintenance. You use Selenium or Playwright to write an order flow, relying on XPath and CSS selectors to locate elements. The frontend changes once; a button goes from div to button; your selectors all break, and hundreds of test cases go red overnight.

Traditional RPA tools make recording very smooth, but the underlying principle is the same: fixed coordinates plus fixed selectors. A website redesign means you have to re-record. So the real state of many RPA flows in enterprises is: they run for three months after recording, then after a redesign nobody wants to maintain them, and they gradually get abandoned.

Skyvern swaps out the entire locator layer. It doesn't pre-hardcode selectors. At each step it looks at the page on the spot: parses the DOM, takes a screenshot, lists the interactive elements, and hands them to an LLM. The LLM decides which element to click next and what to fill in where. The page changes, a button moves or changes its label—as long as the functionality is still there, the LLM can re-read the page and still find it.

Can ordinary people play with it? That depends on which of two cases you fall into.

If you want to use it as an SDK with code, you'll need to know Python. Reading something like page.act() is enough; the bar isn't high. If you don't want to write code, there's a way too: it ships with a Web UI where you type natural language directly into a task input box, and there are ready-made templates like "add to cart", "get an insurance quote", and "fill a contact form"—one click and it runs.

Skyvern task input interface, with a set of task templates built in

The real unavoidable hurdle is the LLM API Key. The open-source version doesn't include a model. To run tasks you have to configure at least one key yourself. OpenAI, Anthropic, and Gemini are all supported. Domestic (Chinese) models can also be connected through OpenAI-compatible interfaces; the underlying layer uses litellm for unified scheduling. Without a key, it won't run even after installation.

Look inside the source code: the core is a single loop

Clone the repo and have AI analyze it, and the backend Python code splits into three major parts. forge is the execution engine: task scheduling, prompt management, and failure classification all live here; the core agent.py is one file with 13,000 lines. webeye handles "seeing": browser management, DOM extraction, and action execution. taskv3 is the new-generation engine; more on that later.

The official architecture diagram lays out the execution flow plainly: a Planner breaks the big task into smaller steps, the Task executor runs a six-step loop, and a Validator checks after each step whether the goal is complete. If not, it continues with feedback.

Official system architecture diagram: Planner splits tasks, Task runs a six-step loop, Validator validates

The six-step loop is the soul of the whole project. Let's go through it one by one.

  1. Number the page elements. Inject a piece of JS into the page, find all interactive elements—buttons, input fields, dropdowns, clickable divs—and tag each one with a unique_id attribute.
  2. Parse the HTML plus take a screenshot. Convert the page structure into an element list and capture a full-page screenshot.
  3. Extract interactive elements. Pair the list with the screenshot to form an element list with IDs.
  4. Call the LLM to decide. Stuff the element list, screenshot, task goal, and action history into a prompt; the LLM returns a JSON saying what the next action is and which element ID to operate on.
  5. Execute the action. With the ID, use querySelector to look up the DOM element and hand it to Playwright to perform the click or input.
  6. Loop. Go back to step one and re-read the page until the LLM judges the goal is complete, then output COMPLETE.

Two design choices in here deserve special mention.

One is that element addressing uses IDs, not letting the LLM generate XPath directly. When you ask an LLM to write XPath, the hallucination rate is high; it often locates nodes that don't exist. Skyvern only lets the LLM do multiple choice—pick an ID from a list—and the execution layer uses the ID to look up the element. Judgment goes to the model, certainty goes to code; each side does what it's good at.

The other is prompt-injection defense. Web content is untrusted input. If the page has a hidden line like "ignore all previous instructions," and the model obeys, you're in trouble. The first line of the decision prompt (extract-action.j2) is a security boundary declaration: it explicitly tells the model that everything on the page is data and can never act as instructions. A browser automation Agent faces the open internet directly; this detail shows the team has stepped on real pitfalls.

By the way, there's also a taskv3 directory in the repo—the new-generation engine. The approach shifts from "independently ask the LLM on every step" to "persistent session plus tool calls." The model keeps a single conversation throughout and autonomously advances the task through tools like observe, execute, and finish. v1 is stable and each step is auditable; v3 is closer to the mainstream Agent style today and saves a lot of token overhead from repeated prompts. Both engines coexist, and you can choose when creating a task.

Quick start

Official deployment offers two routes; pick according to your situation.

pip route: install the core service.

pip install "skyvern[server]"
skyvern quickstart

Python version must be 3.11 to 3.13. quickstart uses SQLite by default; data lands in ~/.skyvern/data.db. You can run it without a database. The local process starts the API service on port 8000.

Docker route: one shot, with UI included.

git clone https://github.com/skyvern-ai/skyvern.git && cd skyvern
cp .env.example .env
# edit .env, fill in at least one LLM API Key
docker compose up -d

Once it's up, open http://localhost:8080 in a browser; that's the full version with a visual management interface. Compose brings up three containers: Postgres, the API service, and the frontend.

Hardware requirements are modest. The model runs on a cloud API; locally you only have the browser and the API service. An ordinary 8GB dev machine is enough; no GPU needed. If you want full offline, you can configure Ollama with a local model, though the local small model's browser-operation ability will be noticeably weaker—don't expect too much.

Two deployment routes and six common pitfalls at a glance|700x389

The easy places to trip, listed one by one.

  1. After pip install, there's no Web UI. This is the most common confusion: the pip package only contains the API service, not the front end. For UI, go the Docker route, or install from source and run skyvern run ui.
  2. Windows users can't install. Some dependencies need local compilation. Officially you're required to install Rust and the C++ toolchain for VS Code. Windows users are suggested to go straight to Docker or WSL.
  3. Dependency conflicts stop the install. There's a known issue with version 1.0.31: pip install will report ResolutionImpossible due to a dependency conflict between litellm and fastmcp. Upgrade to 1.0.32 or higher, or switch to uv pip install skyvern.
  4. quickstart reports table organizations already exists. Same 1.0.31 bug; delete ~/.skyvern/data.db and re-run.
  5. You filled in your key but the model won't call. In .env, each vendor has a preceding ENABLE_XXX switch, all defaulting to false. Filling in the key without flipping the switch means nothing is configured.
  6. Telemetry is on by default. If you care, add a line: SKYVERN_TELEMETRY=false.

Can it really be used in production?

It depends on the scenario. For personal and internal team use, the completeness is enough. Failed tasks have automatic retry and failure classification; every execution leaves a complete action log, screenshots, and recordings; you can also watch what the browser is doing in real time. Observability is stronger than most similar projects.

Scaling to production has three hurdles to think through first.

The first hurdle is the license. This project uses the AGPL-3.0 license. If you modify its code and provide a service externally, you're obligated to open up your modifications. Internal company use is unaffected, but if you want to do second-development and sell the product, you have to get past legal.

The second hurdle is that anti-bot capability isn't in the open-source version. The README is explicit: anti-bot measures belong exclusively to the cloud-hosted version. In the open-source version, when you hit Cloudflare shields or sites heavy with captchas, the success rate will drop notably. On the WebBench leaderboard, the project reports 64.4% accuracy (the number comes from the team's own testing), with WRITE tasks like form filling, login, and file download ranking first. The reference value here is relatively leading among peers, but don't read it as a universal promise that six out of ten attempts succeed. The official score chart also draws a reference line; the combination someone runs with human supervision is 76.5%, and the fully automated top scorers are still a dozen points behind.

Official WebBench total score chart published by the team; the dashed line is the reference when there's human supervision

The third hurdle is cost. Each step in the loop is a multimodal LLM call; calls with screenshots consume a lot of tokens. A multi-step task can easily burn tens of thousands of tokens. If you're scaling to run on thousands of sites, calculate the API bill first. The official cloud service charges by usage. Self-hosting saves the service fee, but doesn't save token cost.

Picking among similar projects

The browser automation Agent direction has produced a lot of comparable tools. Here are several representative projects for comparison. Star counts were pulled live as of the day of writing.

Project Stars Approach Best for
browser-use 121k Python library, LLM makes all decisions Rapid Agent prototyping
playwright-mcp 40k Microsoft official, attaches browser to any LLM Teams that already have an Agent ecosystem
stagehand 26k TypeScript, code-first with AI as fallback Frontend, Node stacks
Skyvern 23k Vision + DOM hybrid engine, visual workflow Form filling, RPA replacement

Selection suggestions go by scenario.

If you want to give one task description and let it run a full webpage flow, and you also want visual management, execution logs, and workflow orchestration, pick Skyvern—those are the most complete among the four.

If you're building an AI Agent product and need to add browser capability to your Agent, browser-use has the hottest ecosystem and the fastest iteration. A lighter option is playwright-mcp: reuse your existing Agent framework directly, and the browser is just a tool hooked onto it.

If your team writes TypeScript and automation scripts are part of a serious codebase, pick stagehand; it insists on code-first, AI only intercedes when locating elements, so behavior is most controllable.

If you already have Playwright scripts running well, there's no need to rewrite everything. Skyvern's SDK supports mixing traditional selectors with AI location, and you can configure it to automatically fall back to AI when a selector fails. Just gradually replace your most fragile test cases.

In conclusion

Skyvern's suitable scenario, in one sentence: The website isn't yours, you can't control its redesigns, its pages look wildly different, but the flow itself is highly repetitive.

Whether Skyvern is worth installing depends on whether you have work that involves "repeatedly visiting a bunch of other people's websites." If you do, it's currently one of the most complete open-source solutions in this direction.

If you don't have that need yet, there are still two ideas worth borrowing. One is the division of labor that lets the LLM do multiple choice and code do the execution, directly removing the most hallucination-prone step; this idea works in any AI automation scenario. The other is the security boundary that treats web content as untrusted data—someone making Agents will eventually need it.

GitHub project address:

https://github.com/Skyvern-AI/skyvern
Comments

Top 3 from juejin.cn, machine-translated. The original thread is authoritative.

恬静的小魔龙Unity 1 likes

The Star section left the deepest impression — it's written very solidly.

wenps

I also wrote that interactive-element thing, but back then it was used for annotating weights.

badhope

Using ID for element addressing and not letting the model write XPath directly — that design is critical. We stepped on this ourselves with UI Agent before: XPaths generated by the model often pointed at nodes that didn't exist, and it only got stable after we switched to a candidate list + ID. A question: how does Skyvern feed Validator feedback back into the next step? Does it just return a failure-reason sentence, or does it include structured page differences?