What do you want to do?
5 use cases
-
Run agent-written code in an isolated sandbox
Create a sandbox, run a command in it, and collect its output over the HTTP API.
- SPACE
- Software and DevOps
- Intermediate
View prompt
Using the repo perplexityai/SPACE, follow docs/first-sandbox.md against a local deployment at <SPACE API URL> to run <command> in a new sandbox. Report the command output and exit result. Verify that the sandbox is deleted after the run.
-
Point existing E2B Python SDK code at SPACE
Use the E2B Compatibility Wrapper so E2B Python SDK scripts run on SPACE sandboxes.
- SPACE
- Software and DevOps
- Advanced
View prompt
In the perplexityai/SPACE repo, follow docs/ecw.md to configure the E2B Compatibility Wrapper and create a compatibility API key. Run <path to E2B Python script> against it and report whether it completes. Verify that any call the guide lists as unsupported is not used by the script.
-
Build the SPACE guide and API docs on your machine
Build the mdBook guide and API reference locally and browse them in a browser.
- SPACE
- Software and DevOps
- Intermediate
View prompt
In the perplexityai/SPACE checkout, install mdBook 0.4.52, run `bash scripts/build-docs.sh`, then serve target/docs/site on 127.0.0.1 port 8000. Report the build result, and verify that the page at http://127.0.0.1:8000 loads.
-
Rebuild and test SPACE changes with a Tilt loop
Run tilt up to rebuild affected images and roll workloads as you edit SPACE files.
- SPACE
- Software and DevOps
- Advanced
View prompt
In the perplexityai/SPACE repo, after local installation, run `tilt up` from the repository root, then run the Kind smoke suites described in infra/space/kind/README.md. Report which suites pass and fail. Verify that Tilt shows the workloads rolled after your edit.
-
Cut sandbox start time with warm pools and snapshots
Keep booted sandboxes ready or restore from a base snapshot to skip cold boots.
- SPACE
- Software and DevOps
- Advanced
View prompt
In the perplexityai/SPACE repo, read docs/warm-pools.md and docs/base-snapshots.md, run `space-admin-cli login`, and configure a warm pool or base snapshot for <target node or cluster>. Report the configuration you applied and the create result. Verify that a new sandbox is created from the pool or snapshot as the guide describes.
How to use SPACE
- Check you have what it needs: A host that meets the prerequisites in docs/installation.md; Docker-compatible local setup for a Kind cluster, as described in docs/installation.md; Bash for installation and cluster diagnostics.
- Open perplexityai/SPACE on GitHub and read the README and license.
- Follow [Installation and configuration](docs/installation.md) to deploy SPACE in a local Kind cluster and authenticate.
- Follow [Your first sandbox](docs/first-sandbox.md) to create a sandbox from a template and wait for readiness.
- Create a command session, attach to it to start the process, and read the output and exit result.
- Delete the sandbox when the run finishes.
These steps come from our top use case, Run agent-written code in an isolated sandbox, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forPlatform engineers and developers who need a separate, isolated execution environment for agent or user code, reached over HTTP.
- Why it is hot
- LanguageRust
- Sourcegithub.com/perplexityai/SPACE · Back to Hot repos
Requirements
- A host that meets the prerequisites in docs/installation.md
- Docker-compatible local setup for a Kind cluster, as described in docs/installation.md
- Bash for installation and cluster diagnostics
- Git and Python 3.11+ and mdBook 0.4.52 only if you build the docs locally
Maintain SPACE? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/perplexityai-space/?ref=badge)
Questions about SPACE
What is SPACE?
SPACE is a Rust sandbox platform that runs code in isolated Firecracker microVMs, controlled through an HTTP API. It is an open-source project on GitHub: https://github.com/perplexityai/SPACE.
Who is SPACE for?
Platform engineers and developers who need a separate, isolated execution environment for agent or user code, reached over HTTP.
What can I do with SPACE?
5 use cases so far, for example: Run agent-written code in an isolated sandbox; Point existing E2B Python SDK code at SPACE; Build the SPACE guide and API docs on your machine. Each has steps and a copy-paste agent prompt.
What do I need to run SPACE?
A host that meets the prerequisites in docs/installation.md; Docker-compatible local setup for a Kind cluster, as described in docs/installation.md; Bash for installation and cluster diagnostics; Git and Python 3.11+ and mdBook 0.4.52 only if you build the docs locally.
What are alternatives to SPACE?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is SPACE safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.