nowfound

AI · alternatives · 2026

24 alternatives to WASM runtime for sandboxing Python code

A while ago I started experimenting with compiling the Python interpreter to WASM. To build a secure, fast, and lightweight sandbox for code execution — ideal for running LLM-generated Python code.

Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. WASM runtime for sandboxing Python code launched in 2024; newer entries below may have overtaken it.

  1. 1

    Hi everyone, I built a runtime to isolate untrusted code using wasm sandboxes. Basically, it protects your host system from problems that untrusted code can cause. We’ve had a great discussion about sandboxing in Python lately that elaborates a bit more on the problem [1]. In TypeScript, wasm integration is even more natural thanks to the close proximity between both ecosystems. The core is built in Rust. On top of that, I use WASI 0.2 via wasmtime and the component model, along with custom SDKs that keep things as idiomatic as possible. For example, in Python we have a simple decorator:…

    Feb 2026 · github.com · its alternatives →

  2. 2

    Write, run, debug, embed and share your Python code

    2022 · its alternatives →

  3. 3

    LLM 0.26 is out with the biggest new feature since I started the project: support for tools. You can now use the LLM CLI tool—and Python library—to grant LLMs from …

    2025 · simonwillison.net · its alternatives →

  4. 4

    Inspired by Simon Willison's blog post that was catalyzed by this HN post: https://news.ycombinator.com/item?id=34598024 wasm_exec is a Wasm-powered, sandboxed implementation of exec() for safely running dynamic Python code There are number of use-cases emerging that require arbitrary code execution, often code that is generated by LLMs (Large Language Models) like ChatGPT. This can enable some really cool functionality - like generative BI or website generation - but also introduce a massive security flaw if implemented via eval() or exec(). This is because arbitrary code can…

    2023 · github.com · its alternatives →

  5. 5

    This is a pet project of mine where I build a MCP with WASM plugin system (published to OCI). I added a new plugin today that use Rust, compiled to WebAssembly to run Python code securely.

    2025 · github.com · its alternatives →

  6. 6

    WASM sandbox for running LLM-generated code safely. Agents get a bash-like shell and can only call tools you provide, with constraints you define. No Docker, no subprocess, no SaaS — just pip install amla-sandbox

    Jan 2026 · github.com · its alternatives →

  7. 7
    Runno▲148

    Make embeddable code snippets that run in the browser

    2021 · runno.dev · its alternatives →

  8. 8

    I've open sourced a JavaScript to WASM compiler. It's an experimental tool, but given the semantics I already implemented, I'm fairly certain I am able to eventually cover 100% of JavaScript spec. Any ideas, questions or critique welcomed! If you are interested in WASM, especially with new proposals like WASM GC or exception handling, it might be a good source of seeing these features in action - the project has a few thousand lines of hand written WAT so far.

    2024 · github.com · its alternatives →

  9. 9

    This is a Python package that allows you to write function signatures to define LLM queries. This makes it easy to mix regular code with calls to LLMs, which enables you to use the LLM for its creativity and reasoning while also enforcing structure/logic as necessary. LLM output is parsed for you according to the return type annotation of the function, including complex return types such as streaming an array of structured objects. I built this to show that we can think about using LLMs more fluidly than just chains and chats, i.e. more interchangeably with regular code, and to make it…

    2023 · github.com · its alternatives →

  10. 10WW
  11. 11

    A WebAssembly runtime embedded in Godot game engine projects. Interact with Wasm modules from GDScript. Accessing Wasm modules via GDScript provides the following benefits. - Sandboxed environment allows safely loading zero-trust mods/extensions to a project. - Single target means that Wasm modules can be built from any language e.g. Rust, Go, AssemblyScript and the single binary can be run on all platforms. - Fast execution compared to GDScript allows for offloading compute-heavy operations or running bots/mods/etc. at high FPS. This might be useful for loading mods, bot AI,…

    2023 · github.com · its alternatives →

  12. 12

    Linux virtual machine, running in the browser via HTML5/WebAssembly. Networking and graphics supported.

    2021 · repl.leaningtech.com · its alternatives →

  13. 13

    Run WebAssembly made for outside the browser, inside the browser.

    2022 · runno.dev · its alternatives →

  14. 14

    Hi HN — I’m learning Rust and decided to build a universal CLI for running code in many languages. The tool, Run, aims to be a single, minimal dependency utility for: running one-off snippets (from CLI flags), running files, reading and executing piped stdin, and providing language-specific REPLs that you can switch between interactively. I designed it to support both interpreted languages (Python, JS, Ruby, etc.) and compiled languages (Rust, Go, C/C++). It detects languages from flags or file extensions, can compile temporary files for compiled languages, and exposes a unified REPL…

    2025 · github.com · its alternatives →

  15. 15PA

    I’m sure many of you are familiar, but there’s a treacherous gap between finding (or building) a model that works in PyTorch, and getting that deployed into your application, especially in consumer-facing applications. I’ve been very interested in solving this problem with a great developer experience. Over time, I gradually realized that the highest-impact thing to have was a way to go from existing Python code to a self-contained native binary—in other words, a Python compiler. I was already pretty familiar with a successful attempt: when Apple introduced armv8 on the iPhone 5s, they…

    2025 · blog.fxn.ai · its alternatives →

  16. 16
    Cliprun▲110

    Run Python code from any website with a right-click

    2025 · its alternatives →

  17. 17

    Run Python code in browser

    2021 · its alternatives →

  18. 18

    I've been working with a partner team to integrate wasm workloads with existing container toolchains with the goal of enabling wasm workloads anywhere, be it on the edge, in kubernetes, or wherever. To that end, this project implements a containerd shim which runs those wasm workloads. It is designed as a library to bring your own host implementation, but also includes an implementation for WASI. Right now the library assumes you are using wasmtime, which is embedded in. It works either standalone (run with containerd directly) or in kubernetes. Kubernetes networking and storage are wired…

    2022 · github.com · its alternatives →

  19. 19

    You write a standard solution, just like on LeetCode, and run it through the CLI. It identifies the problem by ID or title, executes your code against local test cases, and shows the result. It currently supports around 1.4k problems and multiple languages, including Python, C++, Rust, Java, Go, TypeScript, Swift, and others. The project is still an MVP. System design, SQL, and concurrency problems are not supported yet, but support for more problem types is planned. Made in Haskell!

    Aug 2026 · github.com · its alternatives →

  20. 20

    As a personal project I wrote a really tiny Wat 2 Wasm compiler in Go. Mainly for demonstrative and educational purposes. It was tough: I didn't know anything about WebAssembly internals and I'm a newbie with Go... so I tried to document it as much as I could for anyone that would like to approach the quest in the future! It misses a lot of features (that will be gradually implemented). Any feedback is welcomed!! Demo: https://luna-demo.vercel.app

    2022 · github.com · its alternatives →

  21. 21
    Satta▲64

    A note taking tool where developers can run Python scripts

    2022 · its alternatives →

  22. 22

    Edge full-stack LLM platform. Written in Rust. Contribute to llm-edge/hal-9100 development by creating an account on GitHub.

    2023 · github.com · its alternatives →

  23. 23

    Python & JS/TS SDK for running AI-generated code/code interpreting in your AI app - GitHub - e2b-dev/code-interpreter: Python & JS/TS SDK for running AI-generated code/code interpreting in your AI app

    2024 · github.com · its alternatives →

  24. 24

    KJC phát triển hệ sinh thái giải trí toàn cầu trên nền tảng công nghệ hiện đại, đẩy mạnh đổi mới, mở rộng hợp tác và kiến tạo giá trị bền vững.

    2022 · meadowrun.io · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →