Latest / Security & privacy

capsule

github.com · Open source · Active

Runtime that runs untrusted code in WebAssembly sandboxes

Visit github.com ↗Share

Stars
303
Forks
22
Open issues
0
Last commit
Releases
26
Found
10 months ago

GitHub figures as of . They are context, not a ranking.

capsule is a Rust runtime that runs untrusted code inside WebAssembly sandboxes, using WASI 0.2 and wasmtime, with Python and TypeScript SDKs. Tasks can set limits such as memory, allowed files and timeouts.

Repository description on GitHub: “Secure runtime to sandbox AI agent tasks. Run untrusted code in isolated WebAssembly environments.”

What it does

  • Runs each task inside its own WebAssembly sandbox
  • Per-task limits for memory, CPU time, timeouts and allowed files
  • Python and TypeScript SDKs built on WASI 0.2 and wasmtime

Good for

  • Run LLM-generated Python code inside a sandbox with memory and time limits
  • Execute untrusted TypeScript tasks with automatic retries

Suits: Developers building AI agents that run generated code.

What you can try

Read the README on GitHub and install from source.

Install

pip install capsule-run
npm install -g @capsule-run/cli
npm install @capsule-run/sdk

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw capsule on , when mavdol04 posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . capsule had been shipping tagged releases for 49 days before it was found. 26 releases have been published in total; the latest is v0.8.10 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: v0.5.2 (9 Feb 2026)
  • Show HN discussion at check time: 76 points, 25 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 5 releases shipped

  • 5 releases in the first 30 days: v0.5.2 (9 Feb 2026), v0.6.0 (16 Feb 2026), v0.6.1 (16 Feb 2026), v0.6.2 (24 Feb 2026), v0.6.3 (2 Mar 2026)
  • Show HN discussion at check time: 76 points, 25 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (26 in total, busiest month 8).
  1. Repository created on GitHub: mavdol/capsule
  2. Release v0.1.0
  3. Found: mavdol04 posted it to Show HN. Show HN
  4. Release v0.7.2
  5. Release v0.8.0
  6. Release v0.8.7
  7. Release v0.8.8
  8. Release v0.8.9
  9. Release v0.8.10
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 26 releases. All releases on GitHub

Quick answers

When was capsule released?
Its first tagged release on GitHub is dated 16 Dec 2025. Kip found it on Show HN on 3 Feb 2026.
Is capsule open source?
Its source is public on GitHub at mavdol/capsule under the Apache-2.0 licence.
What does capsule run on?
Library.
Is capsule free?
It is open source, so the code is free to read and run; check the licence for terms.
Is capsule still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorymavdol/capsule
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-46871387. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Security & privacy

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.