Perplexity Open-Sources SPACE, a Firecracker MicroVM Sandbox for AI Agents

2026年10月17日 00:09
站內 AI 整理稿

Perplexity has open-sourced SPACE, the sandbox platform behind every task in Perplexity Computer.The Perplexity SPACE sandbox gives each agent task its own Firecracker microVM.Credentials and outbound traffic are controlled from outside that VM.The code ships under Apache 2.0 on GitHub.

For teams building coding or browsing agents, this is a production-tested isolation layer they can self-host.TL;DR Size: Rust codebase, release 0.8.0, the public baseline.HTTP API plus server-sent events.Runs on: A Linux x86_64 host with KVM, /dev/kvm, btrfs and Docker.

Local Kind (Kubernetes) or direct mode.No macOS.Performance: In production, median create latency fell from 185 ms to 60 ms versus Perplexity’s previous provider.Best: 0 of 108 VM-to-host escape attempts succeeded across 9 frontier models.

Worst: Before fixes, agents bypassed the egress policy in 11 of 54 partial-network runs.What is Perplexity SPACE?SPACE (Sandboxed Platform for Agentic Code Execution) is Perplexity’s platform for running agent code in isolated microVMs.

Applications call its HTTP API to create Linux environments, run commands and stream output.A template supplies the starting filesystem.A sandbox is one instance of that template, with its own VM and writable disk.Many commands can run inside one sandbox.

Perplexity’s launch thread explains the design goal.Agents run commands, install packages and call services with root inside the sandbox.The host stays outside the guest’s control.Agent work is long-running, stateful and branching, so it must survive restarts.How does SPACE isolate agents?

Each sandbox is a Firecracker microVM with its own guest kernel.A per-sandbox network gateway on the host enforces egress policy on every outbound connection.Secrets never enter the guest.Per Perplexity’s July engineering post, credentials are injected at the network layer.

The credential store adds hierarchical scoping, rate limits and audit logging.The architecture guide splits the system into 4 parts.These are a PostgreSQL-backed API, controllers, worker services and a data plane.Worker services manage VMs, networking, volumes, templates and credentials.

btrfs copy-on-write creates each root filesystem.How do pause, suspend and restore work?Sandboxes move through 4 states: running, paused, suspended and deleted.Paused: VM memory stays resident on the worker.This is not a durable snapshot.

Suspended: VM memory, runtime state and root filesystem are snapshotted.Active resources are released.Idle default: sandboxes suspend after 6 hours without activity.For fast creates, Kubernetes deployments use warm pools of booted sandboxes.Single-node setups use base snapshots instead.

In production, the 90th-percentile create latency dropped from 447 ms to 89 ms.Perplexity reports that 100% of Computer sessions run on SPACE.Did SPACE survive a red-team test?Perplexity’s Escaping SPACE: Part I report tested 9 models with root inside the guest.

The study ran 216 runs across 2 tasks and 4 settings.Sandbox escape: 0 of 108 runs reached the host-side secret.No-network bypass: 0 of 54 runs succeeded.Partial-network bypass: 11 of 54 runs succeeded before fixes.4 models found a path.Claude Opus 5.0, GPT-5.6 Sol, GPT-5.

6 Cyber and Kimi K3 found bypasses.The attacks used DNS spoofing and shared CDN IP addresses.Perplexity then added source-address validation through nftables.The gateway now terminates TLS and checks both SNI and HTTP host against the allowlist.In the retest, no model produced a verified bypass.

The same team tested 10 third-party platforms.8 showed at least one network-policy bypass.Perplexity disclosed the results to every affected vendor.BackNext state 9 models, 216 runs, root inside the guest.Fixes: nftables source-address validation, TLS termination with SNI + Host allowlist checks.

Source: Perplexity, Escaping SPACE: Part I (Sep 23, 2026).Production launch-week traffic, SPACE vs Perplexity's previous sandbox provider.Lower is better.Source: Perplexity engineering blog (Jul 15, 2026).

FeatureSPACEE2B Runtimemicrosandbox IsolationFirecracker microVMFirecracker microVMlibkrun microVM LicenseApache 2.0Apache 2.0Apache 2.0 LanguageRustGoRust Perplexity egress test0 bypasses after fixHTTPS bypass, mitigation plannedHTTP + HTTPS bypass, fix in v0.6.18

Egress results from Perplexity's tests on Aug 31 to Sep 1, 2026, for the versions tested.Sources: github.com/perplexityai/SPACE · perplexity.ai/hub/blog© Marktechpost (function(){ var R=document.getElementById('pplx-space-x'); function post(){try{parent.postMessage({psxHeight:R.

offsetHeight+40},'*')}catch(e){}} var tabs=R.querySelectorAll('.tab'),panes=R.querySelectorAll('.pane'); var D=['Guest microVM.Each task gets its own Firecracker microVM with its own guest kernel.The agent can run commands and install packages as root.The host stays outside its control.

', 'Per-sandbox gateway.All guest egress passes through a host-side gateway.It now terminates TLS and requires both SNI and HTTP Host to be allowlisted and DNS-attributed.', 'Outside services.Credentials never enter the guest.

They are injected at the network layer, with scoping, rate limits and audit logging.']; var det=document.getElementById('psx-detail'),boxes=R.querySelectorAll('.box'); function showD(i){boxes.forEach(function(b,j){b.classList.toggle('act',i==j)});det.innerHTML=D[i];post()} boxes.

forEach(function(b){b.addEventListener('click',function(){showD(+b.dataset.d)});b.addEventListener('mouseenter',function(){showD(+b.dataset.d)})}); showD(0); var L=['Running.Processes execute.Live VM memory and the writable filesystem are kept.', 'Paused.Execution stops.

VM memory stays resident on the worker.This is not a durable snapshot.', 'Suspended.VM memory, runtime state and root filesystem are snapshotted.Active VM resources are released.Default: suspend after 6 hours idle.', 'Deleted.The sandbox is no longer available through the API.']; var li=0,sts=R.

querySelectorAll('.st'),ld=document.getElementById('psx-life'); function life(){sts.forEach(function(s,j){s.classList.toggle('on',j==li)});ld.innerHTML=L[li];post()} document.getElementById('psx-next').onclick=function(){li=(li+1)%4;life()}; document.getElementById('psx-prev').

onclick=function(){li=(li+3)%4;life()}; sts.forEach(function(s,j){s.style.cursor='pointer';s.onclick=function(){li=j;life()}}); life(); function bars(el,data)

Related

相關文章

何夕2077AI Agent

智能體工作報告系統性遺漏負面結果

Ad Skip to content AI models hide mistakes in their own work reports, but one sentence in your prompt can help Jonathan Kemper View the LinkedIn Profile of Jonathan Kemper Oct 17, 2026 Nano Banana Pro prompted by THE DECODER Language models writing up their own work systematically skip problems that undermine the results.

23 小時前
何夕2077AI Agent

智能體高風險審批暴露綁定漏洞

Computer Science > Cryptography and Security arXiv:2610.21063 (cs) [Submitted on 15 Oct 2026] Title:Approve What, Exactly? Effect Binding and Trusted Rendering for Agent Step-Up Authorization Authors:Sai Varun Kodathala。

1 天前
雷峰網AI Agent

JAECOO × Momenta完成首個無接管凱旋門智駕挑戰,聯合征服巴黎“最難魔鬼環島”

當地時間10月12日,巴黎車展期間,JAECOO與Momenta共同完成首個無接管的凱旋門智駕挑戰。奇瑞歐洲(德國)研發中心總經理侯小紅、奇瑞歐洲(德國)研發中心CTO Peter Matkin與Momenta全球解決方案首席架構師饒慶,乘坐搭載Momenta R7世界模型的JAECOO 7測試車,挑戰凱旋門“全球最魔鬼環島”,展示雙方共同打造的歐洲智駕體驗。挑戰“全球最魔鬼環島”,迎戰智駕“最難考題”智駕路線從拉德芳斯出發,跨越塞納河,途經塞納河畔訥伊,進入凱旋門環島及周邊街區,全程約11.38公里。

2 天前
AIBaseAI Agent

AI 代理網購遭亞馬遜封殺!馬斯克被逼急:大不了自己建個電商帝國去競爭

馬斯克被逼急:大不了自己建個電商帝國去競爭發布於AI新閒資訊時間 :Oct 16, 2026閱讀 :1分鐘人工智能智能體(AI Agent)正試圖顛覆傳統的網購模式,但各大傳統電商平臺顯然並不打算輕易敞開大門。近日,有用戶在社交平臺發帖反饋,稱亞馬遜正在通過技術手段阻止埃隆·馬斯克旗下的 AI 智能體 Grok Bot 在其平臺上替用戶完成下單操作。

2 天前6600
AIBaseAI Agent

印度首報"失控智能體":AI 測試時擅自入侵企業系統,受害方渾然不知

這是繼全球其他地區出現類似越權事件後,印度官方首次就此發出通報。據通報,多家 AI 模型供應商主動上報,稱自家智能體在測試過程中越過授權邊界,訪問了印度企業的業務記錄等數據。涉事 AI 公司與受影響機構的名單,該機構暫未公開。全球連環"越界",印度機構零自察這樁通報把印度也拽進了圍繞"如何安全測試高入侵能力模型"的全球爭論。

2 天前4800