Perplexity open-sources SPACE, its agent sandbox platform
Perplexity has released SPACE, the isolation platform behind its Computer agent, as open source. In the company's own tests, no model managed to break out of a virtual machine onto the host, but some got around network restrictions.
AI search company Perplexity released its SPACE platform as open source on 15 October. The company uses SPACE to keep the work of its Computer agent isolated from the rest of the system. According to Unite.AI, the code is on GitHub under the Apache 2.0 licence.
An agent sandbox is an isolated environment where an agent runs code and commands without its mistakes or harmful actions reaching the host machine. According to Unite.AI, each sandbox in SPACE is a small Firecracker virtual machine with its own operating system. A central control plane creates workspaces, pauses and resumes them, and deletes them. The platform does not trust the sandbox. Instead, it controls network connections and service credentials from outside it. The agent can therefore reach permitted services, but its working environment never holds the credentials.
SPACE takes frequent snapshots of files and of the entire running environment. These snapshots mean work is not lost when it is interrupted, and users can restore a workspace to an earlier state or fork it into separate copies. Each snapshot stores only the changes, not the whole environment every time.
Perplexity launched Computer in February. At first it ran the agent on a commercial sandbox service, then moved to its own SPACE in July. The company says the platform creates millions of sandboxes a day. It also says that in a comparison using the same production traffic, SPACE created sandboxes 3–5 times faster than the previous provider.
The sources give different figures for the breakout tests, and it is not clear which figure is correct. According to Semafor, Perplexity said it instructed nine leading models to try to break out. None succeeded in 118 attempts, whereas models did escape from some other, closed-source sandboxes. Unite.AI cites a security assessment published by Perplexity, which states that no agent got from the virtual machine to the host in 108 attempts. In some attempts, however, agents got around the network restrictions. Perplexity says it has fixed these weaknesses and that neither of the attack methods found worked in follow-up tests. All the results come from the company's own tests.
According to Semafor, sandboxes have become a talking point because AI labs have reported models escaping their restrictions and attacking targets including Hugging Face and the Australian government. SiliconANGLE links the Hugging Face incident to agents tested by OpenAI.
SPACE is written in Rust, but users work with it through an HTTP API. A compatibility layer included in the release lets SPACE be used with the Python library of the E2B sandbox service. The documentation explains how to install the platform on a local Kind cluster, which runs Kubernetes in Docker containers, and how to run it without Kubernetes.
According to Perplexity, CoreWeave and Akamai have tested SPACE and deployed it on their cloud platforms. Both are working with Perplexity to make the platform available to their customers. The company says Crusoe also plans to add SPACE to its range of managed AI services.