Agent Sandboxesagentsandboxes.org
Sandbox profile · Open-source project

Wasmer

Answer in brief

An MIT-licensed WebAssembly runtime and WASIX ecosystem that runs registry packages such as Python, Bash and PHP in local sandboxes, with Wasmer Edge as the hosted option. A practical way to embed interpreter sandboxes in JS or Python apps; pick Wasmtime for a pure engine and a hosted VM sandbox for full Linux.

By the Agent Sandboxes editors · Updated

Overview

Wasmer is a WebAssembly runtime and CLI, MIT-licensed, that "runs your apps in fast, secure, and lightweight sandboxes: locally, in the cloud, or in your browser". The company, backed by Y Combinator, pairs the runtime with a registry of ready-to-run packages (Bash, PHP, Python, Node.js, PGlite, SQLite, curl, FFmpeg, Pandoc) and WASIX, its superset of WASI. The runtime is "Secure by default. No file, network, or environment access, unless explicitly enabled", offers Singlepass, Cranelift and LLVM backends plus browser and V8 integration backends, and installs on macOS, Linux and Windows; wasmer run python/python starts a sandboxed Python. The separate wasmer-sdk "turns packages from the Wasmer registry into composable sandboxes" from JavaScript (Node.js 20+ and browsers), Python, Rust and a Swift preview, and is "currently alpha".

Wasmer Edge is the hosted side: a platform "powered by WebAssembly, Wasmer, and WASIX" that runs stateless HTTP workloads close to users, with volumes, cron jobs, wasmer ssh sessions and rollback, and always-on workloads in development. The Hobby plan is free for non-commercial use and Pro is $10 per month with usage overages; Enterprise adds subhosting, private locations and a 99.95% SLA. Wasmer sells this as "Universal compute. Built for AI", but the pages checked do not describe an agent-specific sandbox API. Wasmer v7.5.0 was released on 1 October 2026. Because everything runs as Wasm, native packages that are not in the registry or compiled to WASIX are out of reach.

Notable

  • Runtime is MIT-licensed; v7.5.0 released 1 October 2026; about 21,000 GitHub stars
  • Backed by Y Combinator; Wasmer Edge Pro is $10/month, Hobby is free with 12 global regions
  • wasmer-sdk (JavaScript, Python, Rust, Swift) is labelled alpha

Wasmer specifications

AttributeDetails
IsolationWebAssembly sandbox per package; "No file, network, or environment access, unless explicitly enabled"; WASIX extends WASI with POSIX-style features
DeploymentOpen-source project · Self-hostable
Open sourceYes (MIT)
SDKs and interfacesCLI, JavaScript/TypeScript, Python, Rust, Swift
Cold start (vendor claim)Home page claims 107x faster cold starts and 51x less memory per instance than VPS or VM alternatives, based on Wasmer's own comparison model; no absolute figure
Max session lengthNot documented
PersistenceWasmer Edge offers persistent volumes, remote sessions via wasmer ssh and app versioning with rollback; the runtime itself has no snapshotting
GPUNo - CPU-only WebAssembly execution
NetworkingDisabled unless explicitly enabled; WASIX networking in the runtime, and in the JavaScript SDK Node.js networking is bridged through node:net and node:dns
PricingRuntime free and open source. Wasmer Edge: Hobby free; Pro $10/month with overages of $0.50 per million requests, $0.10 per GB bandwidth, $0.10 per active CPU hour, $0.01 per GB-hour memory, $0.05 per GB storage; Enterprise and subhosting custom
Free tierFree to self-host; Wasmer Edge Hobby plan free for personal non-commercial projects: 100 apps, 1,000,000 requests, 150 GB bandwidth, 6 active CPU hours and 400 GB-hours memory per month
ComplianceNot documented
RegionsWasmer Edge: 12 global regions on Hobby and Pro; private dedicated locations on Enterprise

Facts from Wasmer’s public documentation, verified November 9, 2026. Performance numbers are vendor claims.

Strengths and trade-offs

Strengths

  • You want to run a sandboxed Python or Bash interpreter inside a JavaScript or Python process, including in the browser
  • You need a runtime that installs on macOS, Windows and Linux without a hypervisor
  • You want a hosted path (Wasmer Edge) with a free tier and published overage rates

Trade-offs

  • Only packages compiled to Wasm/WASIX run; arbitrary native dependencies are unavailable
  • The sandbox SDK is alpha and its API may change
  • Wasmer Edge is stateless HTTP by default; TCP/UDP and always-on workloads require contacting the team or are in development
  • Cold-start and memory claims on the home page are relative to Wasmer's own comparison model

Good fit for: Running interpreter packages (Python, PHP, Bash) in Wasm sandboxes from JavaScript or Python, locally, in the browser or on Wasmer Edge.

How Wasmer compares

SandboxIsolationOpen sourceSelf-host / BYOCCold start (vendor)Max sessionSnapshots / pauseGPUSDKs
WasmerWasm sandboxYesYes / NoNot documentedNot documentedNot documented / Not documentedNoCLI, JavaScript/TypeScript, Python, Rust, Swift
WasmtimeWasm sandboxYesYes / NoNot documentedEmbedder-setNo / Not documentedNoCLI, Rust, C, C++, Python, .NET, Go, Ruby
Spin (Fermyon)Wasm componentYesYes / Noms (claim)30 s (Fermyon Cloud)No / NoNoCLI, Rust, JavaScript/TypeScript, Go, Python
PyodideCPython in WasmYesYes / NoNot documentedNot documentedNo / NoNoJavaScript/TypeScript, Python
ExtismWasm plug-in sandboxYesYes / NoNot documentedHost-setNo / NoNoRust, JavaScript/TypeScript, Go, Python, Ruby, .NET, Java, PHP, Elixir, Haskell, OCaml, Perl, Zig, C, C++
Cloudflare Sandbox SDKMicroVM (Containers)YesNo / No1–3 sNo fixed capYes / Not documentedNot documentedTypeScript (Workers)

See all Wasmer alternatives →

Frequently asked questions

What is Wasmer?
An MIT-licensed WebAssembly runtime and WASIX ecosystem that runs registry packages such as Python, Bash and PHP in local sandboxes, with Wasmer Edge as the hosted option. A practical way to embed interpreter sandboxes in JS or Python apps; pick Wasmtime for a pure engine and a hosted VM sandbox for full Linux.
How does Wasmer isolate code?
Wasmer documents its isolation as: WebAssembly sandbox per package; "No file, network, or environment access, unless explicitly enabled"; WASIX extends WASI with POSIX-style features.
Is Wasmer open source?
Yes (MIT). It can be self-hosted.
How much does Wasmer cost?
Runtime free and open source. Wasmer Edge: Hobby free; Pro $10/month with overages of $0.50 per million requests, $0.10 per GB bandwidth, $0.10 per active CPU hour, $0.01 per GB-hour memory, $0.05 per GB storage; Enterprise and subhosting custom Check the official pricing page for current rates.
What are the alternatives to Wasmer?
Common alternatives include Wasmtime, Spin (Fermyon), Pyodide, Extism, Cloudflare Sandbox SDK. See Wasmer alternatives for a full comparison.

Sources

  1. wasmer.io
  2. wasmer.io/pricing
  3. docs.wasmer.io
  4. docs.wasmer.io/runtime
  5. docs.wasmer.io/edge
  6. github.com/wasmerio/wasmer
  7. github.com/wasmerio/wasmer-sdk
  8. github.com/wasmerio/wasmer/releases

Cite this page

Agent Sandboxes. (2026). Wasmer. agentsandboxes.org. Last reviewed November 9, 2026. https://agentsandboxes.org/sandboxes/wasmer/

Found an error or a missing sandbox? Submit a correction — every entry links to the sources it relies on.