Prefer a visual interface? Try the Cloud UI instead — no code required.
Step 1: Get your API key

Step 2: Install the SDK
Troubleshooting: Python version errors
Troubleshooting: Python version errors
The Skyvern SDK requires Python 3.11, 3.12, or 3.13. If you encounter version errors, try using pipx:pipx installs Python packages in isolated environments while making them globally available.
Step 3: Run your first task
Let’s scrape the title of the #1 post on Hacker News. You only need two parameters:prompt— Natural language instructions for what the AI should do. Be specific about the data you want extracted.url— The starting page. Skyvern’s AI will navigate from here based on your prompt.
run_id you’ll use to check status and fetch results.
Step 4: Check the status
Since tasks run asynchronously, you have two options:- Polling — Periodically check the task status (shown below)
- Webhooks — Get notified when the task completes (see webhooks guide)
run.output contains the extracted data as a dictionary.
created— Task initialized, not yet queuedqueued— Waiting for an available browserrunning— AI is navigating and executingcompleted— Task finished successfullyfailed— Task encountered an errorterminated— Task was manually stoppedtimed_out— Task exceeded time limitcanceled— Task was cancelled before starting
Step 5: View your results
When the task completes, you’ll get a response like this:output contains whatever data the AI extracted based on your prompt. The app_url links to the Cloud UI where you can view the full run details.
Step 6: Watch the recording
Every task is recorded. There are two ways to access recordings:From the API response
Therecording_url field is included in every completed run response:
From the Cloud UI
Navigate to Runs and click on your run to see the Recording tab.
What you’ll see
- Live browser view — Watch the AI navigate in real-time
- Recording — Full video replay of the session
- Actions — Step-by-step breakdown with screenshots
- AI Reasoning — See why the AI made each decision
Run with a local browser
You can run Skyvern with a browser on your own machine. This is useful for development, debugging, or automating internal tools on your local network. Prerequisites:- Skyvern SDK installed (
pip install skyvern) - PostgreSQL database (local install or Docker)
- An LLM API key (OpenAI, Anthropic, Azure OpenAI, Gemini, Ollama, or any OpenAI-compatible provider)
Docker is optional. If you have PostgreSQL installed locally, Skyvern will detect and use it automatically. Use
skyvern init --no-postgres to skip database setup entirely if you’re managing PostgreSQL separately.Set up local Skyvern

- Set up your database (detects local PostgreSQL or uses Docker)
- Configure your LLM provider
- Choose browser mode (headless, headful, or connect to existing Chrome)
- Generate local API credentials
- Optionally configure local MCP for Claude Code, Claude Desktop, Cursor, or Windsurf
- Download the Chromium browser
- write a project-local
.mcp.json - pin the MCP command to the active Python interpreter (
/path/to/python -m skyvern run mcp) - install bundled Claude Code skills into
.claude/skills/, including/qa - keep the whole path local, so Claude Code can test
localhostdirectly without Skyvern Cloud or browser tunneling
BASE_URL and SKYVERN_API_KEY:
Start the local server
If you usedskyvern quickstart and chose to start services, Skyvern is already running. If you used skyvern init, start the server with:

Run a task locally
The only difference from cloud is thebase_url parameter pointing to your local server. The API is identical, so the same code works in both environments — develop locally, deploy to cloud without changes.
/qa http://localhost:3000 in Claude Code to validate the app against your local environment.
Next steps
Extract Structured Data
Define a schema to get typed JSON output from your automations
Handle Logins
Store credentials securely for sites that require authentication
Build Workflows
Chain multiple steps together for complex automations
Use Webhooks
Get notified when tasks complete instead of polling

