Custom sandbox templates for AI agents, tools preinstalled Orkestr has launched custom sandbox templates for AI agents that preinstall tools like ripgrep and ffmpeg, eliminating the need for repeated installations at runtime. The templates are built once via API or MCP and can be reused across sandbox sessions, saving time and cost. The feature is available on EU-hosted sandboxes and supports Debian and Wolfi bases. If you run AI agents in sandboxes, you've probably hit this: every run boots clean, so the agent reinstalls ripgrep, ffmpeg, whatever it needs before it can do anything useful. That's seconds and money spent on the same setup, every single run. EU-hosted sandboxes for AI agents on orkestr now bake custom templates, so those tools are preinstalled instead of reinstalled. Pick a base, give it a recipe of shell steps, and it builds into a reusable template your agents start from with everything already there. The build happens one time. After that, the agent's first command is a real command, not apt-get install . Here's the whole thing - one request to build the template: curl -X POST https://api.orkestr.eu/v1/templates \ -H "Authorization: Bearer $ORKESTR API KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "my-stack", "base template": "debian-12", "recipe": "apt-get update && apt-get install -y ripgrep ffmpeg" , "network": "restricted" }' - { "id": "tmpl 01J...", "status": "building", ... } It builds in the background. Once it's ready you pass that id like any other template, and the tools are already in the box: python from orkestr import Sandbox with Sandbox.create template="tmpl 01J..." as sbx: print sbx.exec "rg --version" .stdout ripgrep, already there You don't have to write any of that by hand, either. The whole thing is exposed over MCP, so you can hand it to your favorite assistant - Claude, Cursor, whatever speaks MCP - and just say "build me a template with ripgrep and ffmpeg on Debian." The agent calls create template itself, polls the build, and comes back with the tmpl ... id ready to use. The thing that's going to run in the sandbox can set the sandbox up. The recipe runs once, at build time, as root. Whatever it does - apt-get install , pip install , cloning a repo, dropping in a config file - gets snapshotted into the image, and every sandbox you launch from that template starts from that snapshot. You don't strictly need a template to install something. The sandbox root is writable, so apt-get install or apk add works at runtime in a plain sandbox. But a runtime install is ephemeral - it's gone the moment the box terminates. Fine for a one-off, wasteful when every run reinstalls the same thing. A template is how you stop paying that cost: install once at build time, and every run after that starts ready. You also get reproducibility - the recipe is the source of truth for what's in the image, so two sandboxes from the same template are the same box. A few things to know about recipes: HOME=/root . Anything they install sticks. apt-get install -y