cd /news/ai-agents/space-by-perplexity · home › topics › ai-agents › article
[ARTICLE · art-150897] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Space by Perplexity

Perplexity released SPACE (Sandboxed Platform for Agentic Code Execution), an open-source platform that runs code in isolated Firecracker microVMs and exposes an HTTP API for creating Linux environments, executing commands, collecting output, and managing sandbox lifecycles. SPACE uses templates as starting environments and sandboxes as per-instance VMs with writable filesystems, with asynchronous lifecycle operations that return an operation ID to poll and command output delivered over a separate data-plane connection using a session-scoped attachment token. The release includes an E2B Compatibility Wrapper for the tested E2B Python SDK, a Kubernetes-based local Kind deployment path, warm pools to skip cold boots, and hosted Guide and API Reference documentation.

read4 min views1 publishedOct 15, 2026
Space by Perplexity
Image: Michielbdejong (auto-discovered)

SPACE (Sandboxed Platform for Agentic Code Execution) is a sandbox platform for running code in isolated Firecracker microVMs. Applications use its HTTP API to create Linux environments, execute commands, collect output, and manage sandbox lifecycles.

Use SPACE when your application needs a separate execution environment for an agent, a user workspace, or a code-running job. Your application decides what to run and what results to keep; SPACE manages the sandbox, its processes, and the connection carrying command output.

A template supplies the starting environment. A sandbox is an instance of that environment with its own VM and writable filesystem; multiple commands can run in the same sandbox.

Your application
    |
    +-- Create sandbox from template --> Wait for readiness
    |
    +-- Create command session --------> Attach to start the process
    |                                    Read output and exit result
    |
    +-- Keep, , or suspend --------> Wake when needed
    |
    +-- Delete sandbox

Sandbox lifecycle changes are asynchronous: the API returns an operation ID that you poll for completion. Command output uses a separate data-plane connection and a session-scoped attachment token.

Follow Installation and configuration to deploy SPACE in a local Kind cluster and authenticate. Then follow Your first sandbox to run a command and collect its output. The setup guide covers Kubernetes; the architecture guide also explains how SPACE can run without it.

Read the hosted Guide and API Reference online. Both update automatically after changes merge. The links below point to source documentation in this checkout.

Guide What you will learn
Versioning and compatibility Release progression, supported guests, service stability, and upgrade/rollback requirements.
Architecture How templates, sandboxes, processes, sessions, and operations relate; what and suspend preserve; how the services fit together.
Installation and configuration Host prerequisites, local Kind deployment, configuration defaults, authentication, verification, and teardown.
Operator CLI API access, port forwarding, space-admin-cli login , nodes, warm pools, and system-template builds.
Your first sandbox A complete API workflow, command customization, output handling, inspection, and deletion.
E2B Compatibility Wrapper Configure ECW, create a compatibility API key, use the tested E2B Python SDK, and understand supported behavior and limitations.
API reference Endpoints, request and response fields, and examples.
Troubleshooting Local setup, authentication, lifecycle operations, command streams, and safe retries.
Operator egress profiles Configure named policy additions for federated native and ECW creates.
Observability Telemetry build features, the Rust/Go selector contract, and unchanged image defaults.
Warm pools Keep booted sandboxes ready on Kubernetes so creates skip a cold boot.
Base snapshots Restore sandboxes from a snapshot on a single node, optionally with a node warm pool.

To browse the guide and API together locally, install mdBook 0.4.52 and the API build prerequisites. From a clean checkout, run:

bash scripts/build-docs.sh
python3 -m http.server 8000 --bind 127.0.0.1 --directory target/docs/site

Open http://127.0.0.1:8000. The build also requires Git and Python 3.11+. The standalone commands remain bash scripts/build-guide-docs.sh and bash scripts/build-api-docs.sh; they also support local uncommitted edits.

The API serves its generated reference at /openapi-m1.json, with request fields, response schemas, and errors.

The SPACE API manages sandbox lifecycles, runs and controls processes, and streams their output. Fields marked incubating in the schema are outside the supported contract.

SPACE is implemented in Rust, but applications interact with it over HTTP and server-sent events. You do not need to embed a Rust library to use it; the first-sandbox walkthrough runs a standard-library-only Python example. Installation and cluster diagnostics use Bash.

See DEPENDENCIES.md when adding or updating third-party code.

After local installation, run tilt up from the repository root to rebuild affected images and roll their workloads as files change. The Kind runbook covers this development loop, local topology, and template builds.

Use focused unit tests for component logic and the Kind smoke suites for runtime behavior. For setup-specific diagnostics, see host-path troubleshooting and template-build debugging.

crates/apps/            CLI tools and service binaries
crates/libs/            Shared Rust libraries
docs/                   Architecture, setup, API walkthrough, and troubleshooting
examples/               Runnable API examples without an SDK dependency
proto/                  gRPC protobuf definitions
templates/firecracker/  Seed builder and template recipes
scripts/                Utility scripts and smoke suites (scripts/tests/)
docker/                 Service Dockerfiles and Rust artifact build
ci/                     CI checks and artifact build scripts
infra/space/kind/        Local Kind configuration, bootstrap, and development runbook
infra/space/aws/reference/  Reference EKS deployment, applied on a schedule

SPACE is licensed under the Apache License, Version 2.0.

See CONTRIBUTING.md to propose changes or contribute.

For native API contract, concurrency, recovery, and quarantine coverage, see Native API hardening.

── more in #ai-agents 4 stories · sorted by recency
── more on @perplexity 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/space-by-perplexity] indexed:0 read:4min 2026-10-15 · —