🐉 Automate Browser-based workflows using LLMs and Computer Vision 🐉
Skyvern automates browser-based workflows using LLMs and computer vision. It provides a Playwright-compatible SDK that adds AI functionality on top of playwright, as well as a no-code workflow builder to help both technical and non-technical users automate manual workflows on any website, replacing brittle or unreliable automation solutions.
Traditional approaches to browser automations required writing custom scripts for websites, often relying on DOM parsing and XPath-based interactions which would break whenever the website layouts changed.
Instead of only relying on code-defined XPath interactions, Skyvern relies on Vision LLMs to learn and interact with the websites.
How it works
Skyvern was inspired by the Task-Driven autonomous agent design popularized by BabyAGI and AutoGPT -- with one major bonus: we give Skyvern the ability to interact with websites using browser automation libraries like Playwright.
Skyvern uses a swarm of agents to comprehend a website, and plan and execute its actions:

This approach has a few advantages:
- Skyvern can operate on websites it's never seen before, as it's able to map visual elements to actions necessary to complete a workflow, without any customized code
- Skyvern is resistant to website layout changes, as there are no pre-determined XPaths or other selectors our system is looking for while trying to navigate
- Skyvern is able to take a single workflow and apply it to a large number of websites, as it's able to reason through the interactions necessary to complete the workflow A detailed technical report can be found here.
Demo
https://github.com/user-attachments/assets/5cab4668-e8e2-4982-8551-aab05ff73a7f
Quickstart
Skyvern Cloud
Skyvern Cloud is a managed cloud version of Skyvern that allows you to run Skyvern without worrying about the infrastructure. It allows you to run multiple Skyvern instances in parallel and comes bundled with anti-bot detection mechanisms, proxy network, and CAPTCHA solvers.
If you'd like to try it out, navigate to app.skyvern.com and create an account.
Run Locally (UI + Server)
Choose your preferred setup method:
Database default:
skyvern quickstartandskyvern run serverdefault to a SQLite database at~/.skyvern/data.dbso the pip path works without Postgres or Docker. To use Postgres instead, pass--database-stringfor an existing database (or omit--no-postgressoquickstartstarts its own Postgres container). Docker Compose always uses the bundled Postgres service.
Option A: pip install (Recommended for Python-managed local setup)
Dependencies needed:
Additionally, for Windows:
- Rust
- VS Code with C++ dev tools and Windows SDK
1. Install Skyvern
pip install "skyvern[all]"
2. Run Skyvern
skyvern quickstart
The pip quickstart uses SQLite by default. To use a local Postgres container instead, run skyvern quickstart (Postgres container is started unless you pass --no-postgres), or connect to an existing database with --database-string=postgresql+psycopg://user:pass@host:5432/dbname.
Option B: Docker Compose
Use this option if you want everything containerized (Postgres, API, UI) and don't want to install Python/Node locally.
- Install Docker Desktop
- Clone the repository:
git clone https://github.com/skyvern-ai/skyvern.git && cd skyvern - Configure your LLM provider in
.env(thequickstart --docker-composecommand below will create it from.env.exampleif missing):cp .env.example .env # if not already created # edit .env to add your LLM API key - Start everything:
docker compose up -d - Open http://localhost:8080
Troubleshooting
(sqlite3.OperationalError) table organizations already exists — You hit a known bug in pip install skyvern==1.0.31. Fix:
rm ~/.skyvern/data.db # remove the leftover SQLite file
pip install --upgrade skyvern # 1.0.32+ contains the fix
skyvern quickstart
If you are still on 1.0.31 and cannot upgrade, install via uv instead:
uv pip install skyvern
pip install skyvern fails with ResolutionImpossible (litellm / fastmcp) — You hit a dependency-resolution conflict in 1.0.31. Either upgrade to 1.0.32+ or use uv: uv pip install skyvern.
SDK
Skyvern is a Playwright extension that adds AI-powered browser automation. It gives you the full power of Playwright with additional AI capabilities—use natural language prompts to interact with elements, extract data, and automate complex multi-step workflows.
Installation:
- Python SDK / cloud API:
pip install skyvern - Local server + packaged UI:
pip install "skyvern[all]"then runskyvern quickstart - Local server + packaged UI with Postgres:
pip install "skyvern[all]"then runskyvern quickstart --database-string=postgresql+psycopg://user:pass@host:5432/dbname - Packaged UI for an existing API:
pip install "skyvern[ui]"then setVITE_API_BASE_URL(andVITE_SKYVERN_API_KEYif your API requires a key) and runskyvern run ui - TypeScript:
npm install @skyvern/client
AI-Powered Page Commands
Skyvern adds four core AI commands directly on the page object:
| Command | Description |
|---|---|
page.act(prompt) |
Perform actions using natural language (e.g., "Click the login button") |
page.extract(prompt, schema) |
Extract structured data from the page with optional JSON schema |
page.validate(prompt) |
Validate page state, returns bool (e.g., "Check if user is logged in") |
page.prompt(prompt, schema) |
Send arbitrary prompts to the LLM with optional response schema |
Additionally, page.agent provides higher-level workflow commands:
| Command | Description |
|---|---|
page.agent.run_task(prompt) |
Execute complex multi-step tasks |
page.agent.login(credential_type, credential_id) |
Authenticate with stored credentials (Skyvern, Bitwarden, 1Password) |
page.agent.download_files(prompt) |
Navigate and download files |
page.agent.run_workflow(workflow_id) |
Execute pre-built workflows |
AI-Augmented Playwright Actions
All standard Playwright actions support an optional prompt parameter for AI-powered element location:
| Action | Playwright | AI-Augmented |
|---|---|---|
| Click | page.click("#btn") |
page.click(prompt="Click login button") |
| Fill | page.fill("#email", "[email protected]") |
page.fill(prompt="Email field", value="[email protected]") |
| Select | page.select_option("#country", "US") |
page.select_option(prompt="Country dropdown", value="US") |
| Upload | page.upload_file("#file", "doc.pdf") |
page.upload_file(prompt="Upload area", files="doc.pdf") |
**Th