Skyvern is a Python library that enables AI-powered browser automation by extending Playwright with large language models (LLMs) and computer vision. It allows users to automate complex, multi-step web workflows using natural language prompts, aiming to be more robust than traditional selector-based automation tools. Skyvern also offers a no-code workflow builder and a managed cloud service. The current version is 1.0.31, with active development and frequent releases.
pip install skyvernVerified import paths — ran on the pinned version, not inferred.
This quickstart initializes the Skyvern client with an API key (preferably from an environment variable) and runs a simple task to extract data from a website. For local setup, ensure you run `skyvern quickstart` first and may need to specify a `base_url`.
Ensure all relevant environment variables are updated to reflect the new ports after modifying `docker-compose.yml`.
Increase `max_steps` (default 50, max 75), add explicit completion criteria to prompts (e.g., 'COMPLETE when you see "Order confirmed"'), break complex tasks into smaller workflows, and check your account's concurrency limits. Verify LLM API keys and network access.
Verify credentials in your credential store. For sensitive sites, consider using `RESIDENTIAL_ISP` proxies, configuring TOTP for MFA, or using browser profiles with existing sessions.
Edit `docker-compose.yml` and any associated `.env` files to ensure all port references and related environment variables are consistent with the new port configuration. Restart the Docker containers.
Increase `max_steps` in your task parameters (up to 75). Add clear completion criteria to your prompt (e.g., 'COMPLETE when you see "Order confirmed"'). Review the task recording to identify where the AI got stuck and refine the prompt or break the task into smaller steps.
Check the `screenshot_final` and `llm_response_parsed` artifacts. Add specific descriptions to your schema (e.g., 'The price in USD, without currency symbol'). Provide visual hints in your prompt. Make schema fields optional if data might not always be present, and add validation instructions.
Wait for other runs to complete. Check your plan's concurrency limits in Skyvern settings. If using 'Run Sequentially' with credentials, ensure prior runs have finished. Contact support if the issue persists.