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.
Quickstart
[!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.