capsule
github.com · Open source · Active
Runtime that runs untrusted code in WebAssembly sandboxes
- Security & privacy
- Open source
- Rust
- Day-7 check
- Day-30 check
- 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-runnpm install -g @capsule-run/clinpm install @capsule-run/sdkTaken 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.
Release timeline every entry links to its source
- Repository created on GitHub: mavdol/capsule
- Release v0.1.0
- Found: mavdol04 posted it to Show HN. Show HN
- Release v0.7.2
- Release v0.8.0
- Release v0.8.7
- Release v0.8.8
- Release v0.8.9
- Release v0.8.10
- Day-7 check recorded by Kip (details)
- 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
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | mavdol/capsule REST API record | |
| GitHub Releases | release 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
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.