Using built-in programs
Give a sandbox VirtX's built-in programs, its abins, at /abin: they run on any image, each with the SKILL.md an agent reads to use it.
VirtX has built-in programs, called abins, that a sandbox can be given at /abin.
They run on any image, with nothing installed in it for them.
Give a sandbox its programs
Name them in abins when the sandbox is made.
They are at /abin, read-only and first on its PATH, so a command calls each by its name.
A name the server has no program by is refused, and a sandbox made without abins has no /abin.
sandbox = await client.create_sandbox("alpine:latest", abins=["index", "docread"])print(sandbox.abins) # ['index', 'docread']await sandbox.exec(["index", "--help"]).complete(print=True)const sandbox = await client.createSandbox('alpine:latest', { abins: ['index', 'docread'] })console.log(sandbox.abins) // [ 'index', 'docread' ]await sandbox.exec(['index', '--help']).complete({ print: true })let args = SandboxCreateArgs::new("alpine:latest").abin("index").abin("docread");let sandbox = client.create_sandbox(&args).await?;println!("{:?}", sandbox.info().abins); // ["index", "docread"]sandbox.exec(&SandboxExecArgs::new(["index", "--help"])).complete(true).await?;What an agent reads
Each program has its SKILL.md at /abin/skills/{name}/SKILL.md: what it does, its commands and options, and how to use them.
An agent that runs commands in the sandbox reads it there, as it would a skill of its own, and needs no other instructions to use the program.
cat /abin/skills/index/SKILL.mdThe programs
| Name | What it does | Guide |
|---|---|---|
browser |
Drives a web browser. | Driving a browser |
display |
Runs GUI programs on a screen you watch over VNC. | Running GUI programs |
docread |
Parses documents, such as PDF, Word and PowerPoint, precisely. | Implementing RAG |
index |
Indexes text files and searches them. | Implementing RAG |
Some are open-source tools, built in with what they need:
browseris agent-browser, with a Chrome of its own. Its commands are agent-browser’s, by the same names, and agent-browser’s documentation covers them in full.docreadis docling, in its Rust port docling.rs. Its options are those ofdocling convert, by the same names, and it writes what docling does: Markdown, docling’s JSON, HTML, text and DocLang.