Credentials. The compatibility API key controls sandbox access, so keep it in a secret store and out of source code and logs.
Who it is forA team with existing E2B Python SDK code that wants to move sandbox execution onto SPACE without rewriting the calling code.
The problemExisting E2B-based scripts depend on a sandbox provider the team wants to replace or run in its own infrastructure.
The outcomeThe same E2B Python SDK script runs against SPACE through the compatibility layer, within the behavior the guide lists as supported.
What you need first
- 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
Steps
- Read [E2B Compatibility Wrapper](docs/ecw.md) to see the supported behavior and limitations.
- Configure ECW as described in the guide.
- Create a compatibility API key as described in the guide.
- Run your E2B Python SDK script against the SPACE endpoint configured for ECW.
Prompt for your agent
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.
Caveat. The README limits this path to the behavior documented in the ECW guide, so scripts that rely on other E2B features may not work.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page