Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

E2B SDK Tested Against SandBase Sandboxes

AI summary

A Juejin author reports using E2B Python SDK 2.63.0 with SandBase by changing E2B_API_KEY, E2B_API_URL, and E2B_DOMAIN. The author says the test successfully created a sandbox from a ready public template, ran Python commands, wrote and read a text file, and deleted the instance. SandBase’s pricing page and FAQ reportedly say basic sandbox creation, execution, and stopping do not affect the balance, although the Experimental Playground documentation warns that operations may incur charges.

In-depth insight

The reported test provides a practical configuration path for AI-agent developers who already use E2B and want SandBase-hosted sandbox execution without replacing their SDK or creation code.

已经能用官方 E2B Python SDK 起沙箱的人,换一条兼容端点时,最容易卡在两件事上:一是以为要换 SDK 或改创建逻辑,二是只改了域名,请求却被 SDK 自动拼到带 api. 前缀的主机上。2026-11-12(北京时间)我按 Sandbox quickstart 核对过环境变量,仍用官方 Python SDK,只把 E2B_API_KEY、E2B_API_URL、E2B_DOMAIN 改成 SandBase 这一侧,并保持 E2B_DEBUG=false、不设置 E2B_SANDBOX_URL。当天 PyPI 上的官方包最新是 2.63.0(文档仍写针对 2.51.0),我用 2.63.0 在 https://sandbox.sandbase.ai 拉起公开模板 openagentcore-mcode-0-8-0-fbdea0c8,跑了 python3 --version 和一段 5 行探测脚本,退出码都是 0,标准输出里有事先写好的 HELLO=sandbase-e2b-ok-20261112,随后删除了实例。沙箱的创建、运行和停止,按当天定价页和产品 FAQ,目前不碰余额;文档里的 Experimental Playground 另有一句 “may incur charges”,两处我并列记下,不擅自抹平。

SandBase 沙箱产品页配图

#SandBase#E2B Python SDK 2.63.0

Original · 10 min readRead the original
Group chat

No comments yet. Start the conversation.