# Styne > The computer and the web for AI agents. Isolated Linux microVMs (sandboxes) with snapshots, fork, pause and resume, and cloud browsers that stay logged in, plus GitHub Actions CI runners, and a web search, fetch and crawl API. Your browser agent logs in once and the whole browser is kept (cookies, storage, open tabs, memory). Idle browsers sleep at $0 and wake where they left off; a logged-in browser can be forked into parallel copies. Drive it over CDP with Playwright, Puppeteer, Stagehand or Browser Use. Native API: https://api.styne.ai (OpenAPI 3.1: https://styne.ai/openapi.json) Auth: Authorization: Bearer $STYNE_API_KEY. Get a key at https://app.styne.ai/signup. Start a browser: POST https://api.styne.ai/browsers (optional body: timeout in seconds, region). The answer carries id, state, cdp_url, expires_at and region; pass cdp_url to Playwright connectOverCDP or Puppeteer connect. Stop it with DELETE https://api.styne.ai/browsers/{id}. Browserbase and Steel clients: the Browserbase session API is served under https://api.styne.ai/browserbase and the Steel session API under https://api.styne.ai/steel/v1, with your Styne key. Browser quickstart: https://docs.styne.ai/browsers Search, fetch and crawl: POST https://api.styne.ai/v1/search, /v1/fetch and /v1/crawl with the same key. Search is $1 / $2 / $5 per 1,000 searches (fast / auto / deep, per started block of 10 results); fetch and crawl are $1 per 1,000 pages. Docs: https://docs.styne.ai/search, https://docs.styne.ai/fetch, https://docs.styne.ai/crawl. Product page: https://styne.ai/search Prices: https://styne.ai/pricing Plans: Starter $20 a month with a 7-day trial, card required, cancel any time (700 VM hours and 350 browser hours); Pro $99 a month, with checkpoint and rewind (4,000 VM hours and 2,500 browser hours); Scale $499 a month, with checkpoint and rewind (14,000 VM hours and 7,500 browser hours, sizes up to 16 vCPU and 32 GB). After the included hours: $0.032 per VM hour (4 vCPU default; small 2 vCPU $0.016, large $0.064, xlarge $0.128) and $0.04 per browser hour. A sleeping browser or paused VM costs $0. ## StyneVM (API reference) The same account and key also run StyneVM, Linux microVMs (called sandboxes in the API). E2B SDK: set E2B_API_KEY to your Styne key, E2B_API_URL=https://api.styne.ai and E2B_SANDBOX_URL=https://sandbox.styne.ai. Use template base (Node.js and Python 3 included). ## Get started - [Overview](https://docs.styne.ai): Run code for AI agents in isolated microVMs: create one from a template, run commands, fork it, pause it and resume with state kept. - [Quickstart](https://docs.styne.ai/quickstart): Create a sandbox, run a command in it, write a file and kill it, in about two minutes. - [Switch from E2B](https://docs.styne.ai/e2b-drop-in): Run the unmodified e2b package, Python and JavaScript 2.63.0, against Styne by setting three environment variables. - [Switch from Daytona](https://docs.styne.ai/migrate-daytona): Point the Daytona SDK at Styne by changing its API URL and key; your code stays as it is. - [Switch from Vercel Sandbox or Modal](https://docs.styne.ai/migrate-vercel-modal): Move a Vercel Sandbox or Modal Sandbox workload to Styne with the E2B SDK (Python e2b or JavaScript e2b, version 2.63 and later) and Styne's snapshot calls. Each call... - [Switch from boat](https://docs.styne.ai/migrate-boat): Change boat's base URL and bearer key to point its HTTP API and SDKs at Styne. ## Search and fetch - [Search](https://docs.styne.ai/search): POST /v1/search returns ranked web results for a query, with the text of the best passages of each page, the publish date and the licence where one applies. It is... - [Fetch](https://docs.styne.ai/fetch): POST /v1/fetch returns the clean text of up to 100 URLs as Markdown or plain text. It reads the Styne index first and fetches the page live when the index has no copy... - [Crawl](https://docs.styne.ai/crawl): POST /v1/crawl starts a crawl job: from one start URL it follows links, within the scope you set, and keeps the text of every page it reads. You start the job, poll it... - [Drop-in for Tavily and Google Custom Search](https://docs.styne.ai/tavily-google-drop-in): Two endpoints speak the request and response formats of other search APIs. Change the URL and the key; the code that reads the answer keeps working. Both are billed... ## VMs - [Sandboxes](https://docs.styne.ai/sandboxes): A sandbox is a microVM restored from a template snapshot that you create, run commands in, pause, fork and kill. - [Regions](https://docs.styne.ai/regions): A VM or browser runs in US East (Ashburn). Amsterdam (EU) is coming back later; a create that names ams runs in Ashburn and the answer's region says ash. - [Templates](https://docs.styne.ai/guide-templates): A template is the prepared VM a sandbox starts from; pick one by name or save your own start state as a snapshot. - [Timeouts, pause and resume](https://docs.styne.ai/pause-tiers): Keep a sandbox's files, processes and memory while you are away, set how long it lives, and know what is metered. - [Fork](https://docs.styne.ai/fork): Copy a running sandbox into children that start from its memory and disk and then run on their own. - [Checkpoints and rewind](https://docs.styne.ai/checkpoints): Save a sandbox or a browser at known steps, and go back to any of them without losing its id. - [Snapshots](https://docs.styne.ai/snapshots): Save a running sandbox's memory and disk under a name and start any number of sandboxes from it. - [Volumes](https://docs.styne.ai/volumes): [//]: # (smoke: not executed, it needs a volume of the account to mount and the smoke account holds none) - [Container images](https://docs.styne.ai/images): [//]: # (smoke: not executed, an image starts only on a node that holds a prepared build of it, and an image nobody prepared answers 404) - [Export and import](https://docs.styne.ai/export): Take a sandbox's whole filesystem out as one file and restore it in a new sandbox with the same files. - [State store](https://docs.styne.ai/state): Keep a small key-value store per account that lives beside your sandboxes, not inside them. ## Run code - [Run commands](https://docs.styne.ai/exec): Run a process in a sandbox and read its output as it is produced. - [Files](https://docs.styne.ai/files): Move files in and out of a sandbox, find and change them in place, and share a file with a link. - [Ports and preview URLs](https://docs.styne.ai/ports): Run a server in a sandbox and open its port at a URL you can share. - [A git workspace](https://docs.styne.ai/guide-git): Clone, branch, commit and push inside a sandbox, like on a laptop. - [A database in a sandbox](https://docs.styne.ai/guide-databases): Run SQLite or Postgres inside a sandbox, and start every run from the same seeded data. ## Agents and evals - [Give your agent sandboxes](https://docs.styne.ai/guide-agents-mcp): Let a coding agent run untrusted or heavy work in a sandbox, through the command line, an SDK or the MCP server. - [Run a coding agent in a sandbox](https://docs.styne.ai/agents): [//]: # (smoke: not executed, a prompt needs the caller's own model key) - [Evals and RL fan-out](https://docs.styne.ai/guide-fan-out): Prepare one sandbox, then start every eval, test or rollout task from it in parallel, each in a sandbox of its own. ## Events and schedules - [Wake triggers and schedules](https://docs.styne.ai/wake-triggers): Wake a sleeping sandbox when a schedule comes due or a webhook arrives, and hand it the event, so an agent costs nothing between messages. - [Webhooks](https://docs.styne.ai/webhooks): Receive a signed HTTPS POST at your own URL when one of your sandboxes changes state or one of your browser profiles signs out or back in. ## Networking - [SSH and port forwarding](https://docs.styne.ai/ssh): [//]: # (smoke: not executed, it opens an SSH session; live proof 2026-11-23 through ssh.styne.ai:2222) - [Calls between sandboxes](https://docs.styne.ai/calls): Call a port of another sandbox of your account by name, with no public URL. - [Network and egress](https://docs.styne.ai/network): Choose what a sandbox may reach on the internet, and change the rules while it runs. - [AI credentials proxy](https://docs.styne.ai/ai-credentials): Store your model-provider keys once and let sandboxes call the provider without ever holding the real key. ## Observability - [Logs and metrics](https://docs.styne.ai/observability): Read what a sandbox's commands wrote and how much CPU, memory and disk it used. ## Account - [API keys](https://docs.styne.ai/authentication): Create an API key and send it in the Authorization header of every request. - [Plans and billing](https://docs.styne.ai/billing): One subscription covers StyneVM and StyneBrowser. Styne Starter ($20 a month) starts with a 7-day free trial (card required); Styne Pro ($99 a month) and Styne Scale... - [Limits](https://docs.styne.ai/limits): The limits the API enforces, with the answer you get when you hit each one. - [Organizations](https://docs.styne.ai/organizations): Add members to one account and give each a role. - [Agent sign-up](https://docs.styne.ai/agent-signup): Let an AI agent create an account with a single call and hand a claim link to a person. - [Data retention](https://docs.styne.ai/data-retention): Control what Styne keeps about your sandboxes, or delete all your data. ## Overview - [Introduction](https://docs.styne.ai/api-reference): The Styne API is a JSON HTTP API for creating sandboxes, running commands in them and managing files, snapshots and usage. - [API v1](https://docs.styne.ai/api-v1): The v1 API is served at https://api.styne.ai/v1. This reference is generated from the OpenAPI document the API itself serves at /v1/openapi.json, so it always lists... - [Errors](https://docs.styne.ai/errors): Read the error body of a failed call to see its code, who caused it and whether to retry. ## SDKs - [SDKs](https://docs.styne.ai/sdks): Use the sandbox clients you already know: change the endpoint and key and an existing E2B or Daytona client connects to Styne. ## CLI - [Install the CLI](https://docs.styne.ai/install): Install the styne command-line client for sandboxes with one command, no root needed. - [CLI reference](https://docs.styne.ai/cli): Drive VMs and browsers from a terminal or a script with styne: create, list, exec, files, snapshots, forks, ports, logs, pause, resume and kill. ## MCP - [MCP server](https://docs.styne.ai/mcp): Give an AI agent sandbox tools through the Model Context Protocol, using your own API key. ## Changelog - [Changelog](https://docs.styne.ai/changelog): Customer-visible changes to Styne sandboxes, newest first, with dates in UTC. ## Optional - [All pages in one file](https://styne.ai/llms-full.txt) Contact: support@styne.ai