Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By brekkylabv0.1.0Apache-2.0In 1 marketplace
Runs tasks in disposable Linux microVMs from your Python, Node.js or Rust code, isolating untrusted commands and heavy dependencies from your system. Says it needs no container runtime or daemon setup; remote use needs a server you run.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
sandboxing, microvm, code-execution, untrusted-code, virtual-machine, isolation, vm, sandbox ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
No Docker, no daemon to set up.
English · 简体中文 · 繁體中文 · 日本語 · 한국어
virtx is a microVM sandbox for AI agents. From your own code, it runs tasks in a disposable Linux VM on your machine, on a server you run, or on virtx cloud.
It's useful for jobs with heavy dependencies that you'd rather not install on your own machine, and for code you'd rather not run on it at all, such as the commands an AI agent decides to run. Whatever a VM installs or changes is gone when you remove it, unless it wrote it to a volume you kept.
[!TIP] Using a coding agent? Install the virtx skill and let it write this for you:
claude plugin marketplace add brekkylab/virtx && claude plugin install virtx@brekkylab codex plugin marketplace add brekkylab/virtx && codex plugin add virtx@brekkylab
Each example builds an image with jq in it, boots a sandbox from it, runs a command, and prints its output.
Client.spawn() starts a local server for you.
pip install virtx
import asyncio
from virtx import Client, Recipe
async def main() -> None:
async with Client.spawn() as client:
recipe = Recipe("alpine:latest").run("apk add --no-cache jq")
await client.build_image(recipe, "jq:latest").complete(print=True)
sandbox = await client.create_sandbox("jq:latest")
try:
cmd = ["sh", "-c", """echo '{"hello": "virtx"}' | jq -r .hello"""]
code = await sandbox.exec(cmd).complete(print=True)
print("exited", code)
finally:
await sandbox.remove()
asyncio.run(main())
npm install @brekkylab/virtx
const { Client, Recipe } = require('@brekkylab/virtx')
async function main() {
const client = Client.spawn()
try {
const recipe = new Recipe('alpine:latest').run('apk add --no-cache jq')
await client.buildImage(recipe, 'jq:latest').complete({ print: true })
const sandbox = await client.createSandbox('jq:latest')
try {
const cmd = ['sh', '-c', `echo '{"hello": "virtx"}' | jq -r .hello`]
const code = await sandbox.exec(cmd).complete({ print: true })
console.log('exited', code)
} finally {
await sandbox.remove()
}
} finally {
await client.close()
}
}
main()
cargo add virtx
cargo add tokio --features macros,rt-multi-thread
use virtx::{Client, Recipe, SandboxCreateArgs, SandboxExecArgs};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = Client::spawn_virtx([] as [&str; 0]).await?;
let recipe = Recipe::new("alpine:latest").step("apk add --no-cache jq");
client.build_image(recipe, "jq:latest").complete(true).await?;
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub brekkylab/virtx --plugin virtxPlugins from other owners that cover similar ground