skyvern

Automate browser based workflows with AI

22,740 stars Python Markdown Skills API Spec #ai#api#automation#browser
AI Prompts & Specs

Repository: Skyvern-AI/skyvern


Stars: 21210

CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Development Commands

Python Backend Commands


- Install dependencies: uv sync
- Run Skyvern service: skyvern run all (starts both backend and UI)
- Run backend only: skyvern run server
- Run UI only: skyvern run ui
- Check status: skyvern status
- Stop services: skyvern stop all
- Quickstart: skyvern quickstart (for first-time setup with DB migrations)

Code Quality & Testing


- Lint: ruff check and ruff format
- Type checking: mypy skyvern
- Run tests: pytest tests/
- Pre-commit hooks: pre-commit run --all-files

Frontend Commands (in skyvern-frontend/)


- Install dependencies: npm install
- Development: npm run dev
- Build: npm run build
- Lint: npm run lint
- Format: npm run format

Database Management


- Run migrations: alembic upgrade head
- Create migration: alembic revision --autogenerate -m "description"

Architecture Overview

Skyvern is a browser automation platform that uses LLMs and computer vision to interact with websites. The architecture consists of:

Core Components


- Agent System (skyvern/agent/): Multi-agent system for web navigation and task execution
- Browser Engine (skyvern/webeye/): Playwright-based browser automation with computer vision
- Workflow Engine (skyvern/services/): Orchestrates complex multi-step workflows
- API Layer (skyvern/forge/): FastAPI-based REST API and WebSocket support

Key Directories


- skyvern/agent/: LLM-powered agents for web interaction
- skyvern/webeye/: Browser automation, DOM scraping, action execution
- skyvern/forge/: FastAPI server, API endpoints, request handling
- skyvern/services/: Business logic for tasks, workflows, and browser sessions
- skyvern/cli/: Command-line interface
- skyvern/client/: Generated Python client SDK
- skyvern-frontend/: React-based UI for task management and monitoring
- alembic/: Database migrations

Workflow System


- Blocks: Modular components (navigation, extraction, validation, loops, etc.)
- Parameters: Dynamic values passed between blocks
- Runs: Execution instances of workflows
- Browser Sessions: Persistent browser state across workflow steps

Data Flow


1. User creates tasks/workflows via UI or API
2. Agent system plans actions using LLM analysis of screenshots
3. Browser engine executes actions via Playwright
4. Results are captured, processed, and stored
5. Workflow orchestrator manages multi-step sequences

Development Notes

Environment Setup


- Requires Python 3.11+ and Node.js
- Uses UV for Python dependency management
- PostgreSQL database (managed via Docker or local install)
- Browser dependencies installed via Playwright

LLM Configuration


Configure via environment variables or skyvern init llm:
- Supports OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, Gemini, Ollama
- Uses LLM_KEY to specify which model to use
- SECONDARY_LLM_KEY for lightweight agent operations

Testing Strategy


- Unit tests in tests/unit_tests/
- Integration tests require browser automation setup
- Use pytest with async support for testing

Code Style


- Python: Ruff for linting and formatting (configured in pyproject.toml)
- TypeScript: ESLint + Prettier (configured in skyvern-frontend/)
- Line length: 120 characters
- Use type hints and async/await patterns

README.md

<!-- DOCTOC SKIP -->

<h1 align="center">
<a href="https://www.skyvern.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="fern/images/skyvern_logo.png"/>
<img height="120" src="fern/images/skyvern_logo_blackbg.png"/>
</picture>
</a>
<br />
</h1>
<p align="center">
πŸ‰ Automate Browser-based workflows using LLMs and Computer Vision πŸ‰
</p>
<p align="center">
<a href="https://www.skyvern.com/"><img src="https://img.shields.io/badge/Website-blue?logo=googlechrome&logoColor=black"/></a>
<a href="https://www.skyvern.com/docs/"><img src="https://img.shields.io/badge/Docs-yellow?logo=gitbook&logoColor=black"/></a>
<a href="https://discord.gg/fG2XXEuQX3"><img src="https://img.shields.io/discord/1212486326352617534?logo=discord&label=discord"/></a>
<!-- <a href="https://pepy.tech/project/skyvern" target="_blank"><img src="https://static.pepy.tech/badge/skyvern" alt="Total Downloads"/></a> -->
<a href="https://github.com/skyvern-ai/skyvern"><img src="https://img.shields.io/github/stars/skyvern-ai/skyvern" /></a>
<a href="https://github.com/Skyvern-AI/skyvern/blob/main/LICENSE"><img src="https://img.shields.io/github/license/skyvern-ai/skyvern"/></a>
<a href="https://twitter.com/skyvernai"><img src="https://img.shields.io/twitter/follow/skyvernai?style=social"/></a>
<a href="https://www.linkedin.com/company/95726232"><img src="https://img.shields.io/badge/Follow%20 on%20LinkedIn-8A2BE2?logo=linkedin"/></a>
</p>

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.

<p align="center">
<img src="fern/images/geico_shu_recording_cropped.gif"/>
</p>

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:

<picture>
<source media="(prefers-color-scheme: dark)" srcset="fern/images/skyvern_2_0_system_diagram.png" />
<img src="fern/images/skyvern_2_0_system_diagram.png" />
</picture>

This approach has a few advantages:

1. 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
1. 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
1. 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


<!-- Redo 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:

Dependencies needed:
- Python 3.11.x, works with 3.12, not ready yet for 3.13
- NodeJS & NPM

Additionally, for Windows:
- Rust
- VS Code with C++ dev tools and Windows SDK

#### 1. Install Skyvern

bash
pip install skyvern

#### 2. Run Skyvern

bash
skyvern quickstart

Option B: Docker Compose

1. Install Docker Desktop
2. Clone the repository:

bash
git clone https://github.com/skyvern-ai/skyvern.git && cd skyvern

3. Run quickstart with Docker Compose:
bash
pip install skyvern && skyvern quickstart

When prompted, choose "Docker Compose" for the full containerized setup.
4. Navigate to http://localhost:8080

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: pip install skyvern then run skyvern quickstart for local setup
- 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") |

Three interaction modes:

python

1. Traditional Playwright - CSS/XPath selectors


await page.click("#submit-button")

2. AI-powered - natural language


await page.click(prompt="Click the green Submit button")

3. AI fallback - tries selector first, falls back to AI if it fails


await page.click("#submit-btn", prompt="Click the Submit button")

Core AI Commands - Examples

python

act - Perform actions using natural language


await page.act("Click the login button and wait for the dashboard to load")

extract - Extract structured data with optional JSON schema


result = await page.extract("Get the product name and price")
result = await page.extract(
prompt="Extract order details",
schema={"order_id": "string", "total": "number", "items": "array"}
)

validate - Check page state (returns bool)


is_logged_in = await page.validate("Check if the user is logged in")

prompt - Send arbitrary prompts to the LLM


summary = await page.prompt("Summarize what's on this page")

Quick Start Examples

Run via UI:

bash
skyvern run all

Navigate to http://localhost:8080 to run tasks through the web interface.

Python SDK:

python
from skyvern import Skyvern

Local mode


skyvern = Skyvern.local()

Or connect to Skyvern Cloud


skyvern = Skyvern(api_key="your-api-key")

Launch browser and get page


browser = await skyvern.launch_cloud_browser()
page = await browser.get_working_page()

Mix Playwright with AI-powered actions


await page.goto("https://example.com")
await page.click("#login-button") # Traditional Playwright
await page.agent.login(credential_type="skyvern", credential_id="cred_123") # AI login
await page.click(prompt="Add first item to cart") # AI-augmented click
await page.agent.run_task("Complete checkout with: John Snow, 12345") # AI task

TypeScript SDK:

typescript
import { Skyvern } from "@skyvern/client";

const skyvern = new Skyvern({ apiKey: "your-api-key" });
const browser = await skyvern.launchCloudBrowser();
const page = await browser.getWorkingPage();

// Mix Playwright with AI-powered actions
await page.goto("https://example.com");
await page.click("#login-button"); // Traditional Playwright
await page.agent.login("skyvern", { credentialId: "cred_123" }); // AI login
await page.click({ prompt: "Add first item to cart" }); // AI-augmented click
await page.agent.runTask("Complete checkout with: John Snow, 12345"); // AI task

await browser.close();

Simple task execution:

python
from skyvern import Skyvern

skyvern = Skyvern()
task = await skyvern.run_task(prompt="Find the top post on hackernews today")
print(task)

Advanced Usage

Control your own browser (Chrome)


WARNING

Since Chrome 136, Chrome refuses any CDP connect to the browser using the default user_data_dir. In order to use your browser data, Skyvern copies your default user_data_dir to ./tmp/user_data_dir the first time connecting to your local browser.

1. Just With Python Code

python
from skyvern import Skyvern

The path to your Chrome browser. This example path is for Mac.


browser_path = "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
skyvern = Skyvern(
base_url="http://localhost:8000",
api_key="YOUR_API_KEY",
browser_path=browser_path,
)
task = await skyvern.run_task(
prompt="Find the top post on hackernews today",
)

2. With Skyvern Service

Add two variables to your .env file:

bash

The path to your Chrome browser. This example path is for Mac.


CHROME_EXECUTABLE_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
BROWSER_TYPE=cdp-connect

Restart Skyvern service skyvern run all and run the task through UI or code

Connect Skyvern Cloud to your local browser

Let Skyvern Cloud control a Chrome browser running on your machine β€” with all your existing cookies, logins, and extensions. Useful for automating sites where you're already logged in or behind a VPN.

bash

One command to start Chrome + create a tunnel to Skyvern Cloud


skyvern browser serve --tunnel

Then use the tunnel URL in your task:

python
from skyvern import Skyvern

skyvern = Skyvern(api_key="your-api-key")
task = await skyvern.run_task(
prompt="Download the latest invoice from my account",
browser_address="https://abc123.ngrok-free.dev",
)

WARNING

Always use --api-key when exposing your browser via a tunnel. Without it, anyone with the URL has full control of your browser. See the security docs.

See the full documentation for all options, manual tunnel setup, and troubleshooting.

Get consistent output schema from your run


You can do this by adding the data_extraction_schema parameter:
python
from skyvern import Skyvern

skyvern = Skyvern()
task = await skyvern.run_task(
prompt="Find the top post on hackernews today",
data_extraction_schema={
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the top post"
},
"url": {
"type": "string",
"description": "The URL of the top post"
},
"points": {
"type": "integer",
"description": "Number of points the post has received"
}
}
}
)

Helpful commands to debug issues


bash

Launch the Skyvern Server Separately*


skyvern run server

Launch the Skyvern UI


skyvern run ui

Check status of the Skyvern service


skyvern status

Stop the Skyvern service


skyvern stop all

Stop the Skyvern UI


skyvern stop ui

Stop the Skyvern Server Separately


skyvern stop server

Performance & Evaluation

Skyvern has SOTA performance on the WebBench benchmark with a 64.4% accuracy. The technical report + evaluation can be found here

<p align="center">
<img src="fern/images/performance/webbench_overall.png"/>
</p>

Performance on WRITE tasks (eg filling out forms, logging in, downloading files, etc)

Skyvern is the best performing agent on WRITE tasks (eg filling out forms, logging in, downloading files, etc), which is primarily used for RPA (Robotic Process Automation) adjacent tasks.

<p align="center">
<img src="fern/images/performance/webbench_write.png"/>
</p>

Skyvern Features

Skyvern Tasks


Tasks are the fundamental building block inside Skyvern. Each task is a single request to Skyvern, instructing it to navigate through a website and accomplish a specific goal.

Tasks require you to specify a url, prompt, and can optionally include a data schema (if you want the output to conform to a specific schema) and error codes (if you want Skyvern to stop running in specific situations).

<p align="center">
<img src="fern/images/skyvern_2_0_screenshot.png"/>
</p>


Skyvern Workflows


Workflows are a way to chain multiple tasks together to form a cohesive unit of work.

For example, if you wanted to download all invoices newer than January 1st, you could create a workflow that first navigated to the invoices page, then filtered down to only show invoices newer than January 1st, extracted a list of all eligible invoices, and iterated through each invoice to download it.

Another example is if you wanted to automate purchasing products from an e-commerce store, you could create a workflow that first navigated to the desired product, then added it to a cart. Second, it would navigate to the cart and validate the cart state. Finally, it would go through the checkout process to purchase the items.

Supported workflow features include:
1. Browser Task
1. Browser Action
1. Data Extraction
1. Validation
1. For Loops
1. File parsing
1. Sending emails
1. Text Prompts
1. HTTP Request Block
1. Custom Code Block
1. Uploading files to block storage
1. (Coming soon) Conditionals

<p align="center">
<img src="fern/images/block_example_v2.png"/>
</p>

Livestreaming


Skyvern allows you to livestream the viewport of the browser to your local machine so that you can see exactly what Skyvern is doing on the web. This is useful for debugging and understanding how Skyvern is interacting with a website, and intervening when necessary

Form Filling


Skyvern is natively capable of filling out form inputs on websites. Passing in information via the navigation_goal will allow Skyvern to comprehend the information and fill out the form accordingly.

Data Extraction


Skyvern is also capable of extracting data from a website.

You can also specify a data_extraction_schema directly within the main prompt to tell Skyvern exactly what data you'd like to extract from the website, in jsonc format. Skyvern's output will be structured in accordance to the supplied schema.

File Downloading


Skyvern is also capable of downloading files from a website. All downloaded files are automatically uploaded to block storage (if configured), and you can access them via the UI.

Authentication


Skyvern supports a number of different authentication methods to make it easier to automate tasks behind a login. If you'd like to try it out, please reach out to us via email or discord.

<p align="center">
<img src="fern/images/secure_password_task_example.png"/>
</p>


πŸ” 2FA Support (TOTP)


Skyvern supports a number of different 2FA methods to allow you to automate workflows that require 2FA.

Examples include:
1. QR-based 2FA (e.g. Google Authenticator, Authy)
1. Email based 2FA
1. SMS based 2FA

πŸ” Learn more about 2FA support here.

Password Manager Integrations


Skyvern currently supports the following password manager integrations:
- [x] Bitwarden
- [x] Custom Credential Service (HTTP API)
- [ ] 1Password
- [ ] LastPass


Model Context Protocol (MCP)

Skyvern supports the Model Context Protocol (MCP) to allow you to use any LLM that supports MCP.

See the MCP documentation here

Zapier / Make.com / N8N Integration


Skyvern supports Zapier, Make.com, and N8N to allow you to connect your Skyvern workflows to other apps.

* Zapier
* Make.com
* N8N

πŸ” Learn more about 2FA support here.


Real-world examples of Skyvern


We love to see how Skyvern is being used in the wild. Here are some examples of how Skyvern is being used to automate workflows in the real world. Please open PRs to add your own examples!

Invoice Downloading on many different websites


Book a demo to see it live

<p align="center">
<img src="fern/images/invoice_downloading.gif"/>
</p>

Automate the job application process


πŸ’‘ See it in action
<p align="center">
<img src="fern/images/job_application_demo.gif"/>
</p>

Automate materials procurement for a manufacturing company


πŸ’‘ See it in action
<p align="center">
<img src="fern/images/finditparts_recording_crop.gif"/>
</p>


πŸ’‘ See it in action
<p align="center">
<img src="fern/images/edd_services.gif"/>
</p>
<!-- Add example of delaware entity lookups x2 -->

Filling out random contact us forms


πŸ’‘ See it in action
<p align="center">
<img src="fern/images/contact_forms.gif"/>
</p>


Retrieving insurance quotes from insurance providers in any language


πŸ’‘ See it in action
<p align="center">
<img src="fern/images/bci_seguros_recording.gif"/>
</p>

πŸ’‘ See it in action

<p align="center">
<img src="fern/images/geico_shu_recording_cropped.gif"/>
</p>

Contributor Setup


Make sure to have uv installed.
1. Run this to create your virtual environment (.venv)
bash
uv sync --group dev

2. Perform initial server configuration
bash
uv run skyvern quickstart

3. Navigate to http://localhost:8080 in your browser to start using the UI
The Skyvern CLI supports Windows, WSL, macOS, and Linux environments.

Documentation

More extensive documentation can be found on our πŸ“• docs page. Please let us know if something is unclear or missing by opening an issue or reaching out to us via email or discord.

Supported LLMs


| Provider | Supported Models |
| -------- | ------- |
| OpenAI | GPT-5, GPT-5.2, GPT-4.1, o3, o4-mini |
| Anthropic | Claude 4 (Sonnet, Opus), Claude 4.5 (Haiku, Sonnet, Opus) |
| Azure OpenAI | Any GPT models. Better performance with a multimodal llm (azure/gpt4-o) |
| AWS Bedrock | Claude 3.5, Claude 3.7, Claude 4 (Sonnet, Opus), Claude 4.5 (Sonnet, Opus) |
| Gemini | Gemini 3 Pro/Flash, Gemini 2.5 Pro/Flash |
| Ollama | Run any locally hosted model via Ollama |
| OpenRouter | Access models through OpenRouter |
| OpenAI-compatible | Any custom API endpoint that follows OpenAI's API format (via liteLLM) |

#### Environment Variables

##### OpenAI
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| ENABLE_OPENAI| Register OpenAI models | Boolean | true, false |
| OPENAI_API_KEY | OpenAI API Key | String | sk-1234567890 |
| OPENAI_API_BASE | OpenAI API Base, optional | String | https://openai.api.base |
| OPENAI_ORGANIZATION | OpenAI Organization ID, optional | String | your-org-id |

Recommended LLM_KEY: OPENAI_GPT5, OPENAI_GPT5_2, OPENAI_GPT4_1, OPENAI_O3, OPENAI_O4_MINI

##### Anthropic
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| ENABLE_ANTHROPIC | Register Anthropic models| Boolean | true, false |
| ANTHROPIC_API_KEY | Anthropic API key| String | sk-1234567890 |

Recommended LLM_KEY: ANTHROPIC_CLAUDE4.5_OPUS, ANTHROPIC_CLAUDE4.5_SONNET, ANTHROPIC_CLAUDE4_OPUS, ANTHROPIC_CLAUDE4_SONNET

##### Azure OpenAI
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| ENABLE_AZURE | Register Azure OpenAI models | Boolean | true, false |
| AZURE_API_KEY | Azure deployment API key | String | sk-1234567890 |
| AZURE_DEPLOYMENT | Azure OpenAI Deployment Name | String | skyvern-deployment|
| AZURE_API_BASE | Azure deployment api base url| String | https://skyvern-deployment.openai.azure.com/|
| AZURE_API_VERSION | Azure API Version| String | 2024-02-01|

Recommended LLM_KEY: AZURE_OPENAI

##### AWS Bedrock
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| ENABLE_BEDROCK | Register AWS Bedrock models. To use AWS Bedrock, you need to make sure your AWS configurations are set up correctly first. | Boolean | true, false |

Recommended LLM_KEY: BEDROCK_ANTHROPIC_CLAUDE4.5_OPUS_INFERENCE_PROFILE, BEDROCK_ANTHROPIC_CLAUDE4.5_SONNET_INFERENCE_PROFILE, BEDROCK_ANTHROPIC_CLAUDE4_OPUS_INFERENCE_PROFILE

##### Gemini
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| ENABLE_GEMINI | Register Gemini models| Boolean | true, false |
| GEMINI_API_KEY | Gemini API Key| String | your_google_gemini_api_key|

Recommended LLM_KEY: GEMINI_3.0_FLASH, GEMINI_2.5_PRO, GEMINI_2.5_FLASH, GEMINI_2.5_PRO_PREVIEW, GEMINI_2.5_FLASH_PREVIEW

##### Ollama
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| ENABLE_OLLAMA| Register local models via Ollama | Boolean | true, false |
| OLLAMA_SERVER_URL | URL for your Ollama server | String | http://host.docker.internal:11434 |
| OLLAMA_MODEL | Ollama model name to load | String | qwen2.5:7b-instruct |
| OLLAMA_SUPPORTS_VISION | Enable vision support | Boolean | true, false |

Recommended LLM_KEY: OLLAMA

Note: Set OLLAMA_SUPPORTS_VISION=true for vision models like qwen3-vl, llava, etc.

##### OpenRouter
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| ENABLE_OPENROUTER| Register OpenRouter models | Boolean | true, false |
| OPENROUTER_API_KEY | OpenRouter API key | String | sk-1234567890 |
| OPENROUTER_MODEL | OpenRouter model name | String | mistralai/mistral-small-3.1-24b-instruct |
| OPENROUTER_API_BASE | OpenRouter API base URL | String | https://api.openrouter.ai/v1 |

Recommended LLM_KEY: OPENROUTER

##### OpenAI-Compatible
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| ENABLE_OPENAI_COMPATIBLE| Register a custom OpenAI-compatible API endpoint | Boolean | true, false |
| OPENAI_COMPATIBLE_MODEL_NAME | Model name for OpenAI-compatible endpoint | String | yi-34b, gpt-3.5-turbo, mistral-large, etc.|
| OPENAI_COMPATIBLE_API_KEY | API key for OpenAI-compatible endpoint | String | sk-1234567890|
| OPENAI_COMPATIBLE_API_BASE | Base URL for OpenAI-compatible endpoint | String | https://api.together.xyz/v1, http://localhost:8000/v1, etc.|
| OPENAI_COMPATIBLE_API_VERSION | API version for OpenAI-compatible endpoint, optional| String | 2023-05-15|
| OPENAI_COMPATIBLE_MAX_TOKENS | Maximum tokens for completion, optional| Integer | 4096, 8192, etc.|
| OPENAI_COMPATIBLE_TEMPERATURE | Temperature setting, optional| Float | 0.0, 0.5, 0.7, etc.|
| OPENAI_COMPATIBLE_SUPPORTS_VISION | Whether model supports vision, optional| Boolean | true, false|

Supported LLM Key: OPENAI_COMPATIBLE

##### General LLM Configuration
| Variable | Description| Type | Sample Value|
| -------- | ------- | ------- | ------- |
| LLM_KEY | The name of the model you want to use | String | See supported LLM keys above |
| SECONDARY_LLM_KEY | The name of the model for mini agents skyvern runs with | String | See supported LLM keys above |
| LLM_CONFIG_MAX_TOKENS | Override the max tokens used by the LLM | Integer | 128000 |

Feature Roadmap


This is our planned roadmap for the next few months. If you have any suggestions or would like to see a feature added, please don't hesitate to reach out to us via email or discord.

- [x] Open Source - Open Source Skyvern's core codebase
- [x] Workflow support - Allow support to chain multiple Skyvern calls together
- [x] Improved context - Improve Skyvern's ability to understand content around interactable elements by introducing feeding relevant label context through the text prompt
- [x] Cost Savings - Improve Skyvern's stability and reduce the cost of running Skyvern by optimizing the context tree passed into Skyvern
- [x] Self-serve UI - Deprecate the Streamlit UI in favour of a React-based UI component that allows users to kick off new jobs in Skyvern
- [x] Workflow UI Builder - Introduce a UI to allow users to build and analyze workflows visually
- [x] Chrome Viewport streaming - Introduce a way to live-stream the Chrome viewport to the user's browser (as a part of the self-serve UI)
- [x] Past Runs UI - Deprecate the Streamlit UI in favour of a React-based UI that allows you to visualize past runs and their results
- [X] Auto workflow builder ("Observer") mode - Allow Skyvern to auto-generate workflows as it's navigating the web to make it easier to build new workflows
- [x] Prompt Caching - Introduce a caching layer to the LLM calls to dramatically reduce the cost of running Skyvern (memorize past actions and repeat them!)
- [x] Web Evaluation Dataset - Integrate Skyvern with public benchmark tests to track the quality of our models over time
- [ ] Improved Debug mode - Allow Skyvern to plan its actions and get "approval" before running them, allowing you to debug what it's doing and more easily iterate on the prompt
- [ ] Chrome Extension - Allow users to interact with Skyvern through a Chrome extension (incl voice mode, saving tasks, etc.)
- [ ] Skyvern Action Recorder - Allow Skyvern to watch a user complete a task and then automatically generate a workflow for it
- [ ] Interactable Livestream - Allow users to interact with the livestream in real-time to intervene when necessary (such as manually submitting sensitive forms)
- [ ] Integrate LLM Observability tools - Integrate LLM Observability tools to allow back-testing prompt changes with specific data sets + visualize the performance of Skyvern over time
- [x] Langchain Integration - Create langchain integration in langchain_community to use Skyvern as a "tool".

Contributing

We welcome PRs and suggestions! Don't hesitate to open a PR/issue or to reach out to us via email or discord.
Please have a look at our contribution guide and
"Help Wanted" issues to get started!

If you want to chat with the skyvern repository to get a high level overview of how it is structured, how to build off it, and how to resolve usage questions, check out Code Sage.

Telemetry

By Default, Skyvern collects basic usage statistics to help us understand how Skyvern is being used. If you would like to opt-out of telemetry, please set the SKYVERN_TELEMETRY environment variable to false.

License


Skyvern's open source repository is supported via a managed cloud. All of the core logic powering Skyvern is available in this open source repository licensed under the AGPL-3.0 License, with the exception of anti-bot measures available in our managed cloud offering.

If you have any questions or concerns around licensing, please contact us and we would be happy to help.

Star History

![Star History Chart](https://star-history.com/#Skyvern-AI/skyvern&Date)