判断自己是不是目标用户。
Agent 运行时基础设施 · 开源项目
E2B
E2B 项目用于安全 agent 代码执行沙箱,覆盖命令、文件、网络、超时和回收边界。
快速判断 · 2026-05-20
E2B 安全代码执行沙箱项目 是什么?
- E2B 提供安全云端沙箱,让 AI agent 和应用隔离执行代码、命令、数据处理和文件操作。
- 最适合:需要给 AI agent 提供隔离代码执行、数据处理、文件生成或命令运行能力的开发者。
- 不适合:不适合无限制 shell 访问,或不能隔离凭据、文件、网络和成本的场景。
- 它给 AI 增加的能力:沙箱执行预检、文件/网络边界复核、命令验收检查、超时预算和恢复指引
- 第一步安全验证:先用一次性沙箱、小输入、无密钥和明确清理路径验证最小任务。
- 当前验证状态:源码、Quick Start 和沙箱安装检查均记录为已通过。
- 最大风险:可能增加新用户试用和生产接入成本。
- 证据基础:https://github.com/e2b-dev/E2B、https://github.com/e2b-dev/E2B#readme、项目说明书、踩坑日志
01
一眼判断
先判断自己是否是目标用户,再决定是否继续。不适合无限制 shell 访问,或不能隔离凭据、文件、网络和成本的场景。
未完成验证前保持审慎。
02
它能做什么
把项目翻译成用户能判断的具体能力,而不是 Doramagic 的使用流程。沙箱范围
先用一次性沙箱、小输入、无密钥和固定超时验证最小路径。
sandbox-scope命令边界
在 agent 使用前列清允许命令、文件路径、网络访问和清理行为。
command-boundary运行恢复
验证超时、产物导出、回收和失败报告,再接入真实任务。
runtime-recovery来源:https://github.com/e2b-dev/E2B、https://github.com/e2b-dev/E2B#readme、项目说明书、踩坑日志。这里只回答“它能帮我做什么”。
03
项目温度与外部声音
站点快照,非实时质量证明;用于开工前背景判断。社区讨论
已收录 13 条来源 · 当前展示 12 条下面是已采集到的项目级社区讨论来源,来源平台:github。这些外部声音用于帮助判断真实使用反馈,不单独作为质量证明。
-
01
Support `AbortSignal` in JS SDK methods for request cancellation
github / github_issue
-
02
RFC: Deterministic OPA/Rego parameter firewalls for outbound sandbox too
github / github_issue
-
03
Paused sandbox is not persisting the file changes / addition after secon
github / github_issue
-
04
(feature request) Run-scoped messaging for multi-sandbox agent workflows
github / github_issue
-
05
process was not killed when auto paused
github / github_issue
-
06
Docker Build Secrets Support
github / github_issue
-
07
When using autoPause in sandbox creation, connect overrides this when re
github / github_issue
-
08
Closed Port Error
github / github_issue
-
09
AuthenticationError: Unauthorized, please check your credentials. - Inva
github / github_issue
-
10
Template Build Fails with "syncing took too long" Error
github / github_issue
-
11
build status polling timed out
github / github_issue
-
12
[Bug]: Incorrect info about webhooks in docs and dashboard
github / github_issue
04
怎么开始使用
先试、再读项目说明书、再带给 AI,最后按官方quick start验证。先试 Prompt
不安装项目,先体验能力节奏。
预览读项目说明书
理解输入、输出、失败模式和边界。
说明书带给 AI
把上下文交给你的宿主 AI 继续工作。
上下文沙箱验证
进入主力环境前先完成安装入口与风险边界验证。
验证npm i e2b来源:https://github.com/e2b-dev/E2B#readme。验证:已通过。
05
项目说明书
每个项目结构不同,Doramagic 保留原项目解释结构,并补充边界与踩坑日志。- https://github.com/e2b-dev/E2B 项目说明书
- 目录
- 项目介绍
- 相关页面
- 概述
- 核心功能
- 安全沙箱环境
06
带给 AI 的上下文包
决定继续后,把项目上下文带给你的宿主 AI。07
继续前检查
在复制命令、导入 AI、安装插件前,看清还不能相信什么。不要把试用当真实运行
试用 Prompt 只展示流程,不证明项目已安装或运行。
确认宿主兼容
本地 CLI
先隔离验证
继续完成沙箱验证和证据复核
- 先用一次性沙箱、小输入、无密钥和明确清理路径验证最小任务。
08
踩坑日志与复核重点
Doramagic 记录的高风险项优先显示,避免用户把候选能力当成已验证能力。来源证据:RFC: Deterministic OPA/Rego parameter firewalls for outbound sandbox tool execution paths
GitHub 社区证据显示该项目存在一个配置相关的待验证问题:RFC: Deterministic OPA/Rego parameter firewalls for outbound sandbox tool execution paths
可能增加新用户试用和生产接入成本。
来源证据:process was not killed when auto paused
GitHub 社区证据显示该项目存在一个配置相关的待验证问题:process was not killed when auto paused
可能增加新用户试用和生产接入成本。
来源证据:Closed Port Error
GitHub 社区证据显示该项目存在一个安装相关的待验证问题:Closed Port Error
可能阻塞安装或首次运行。
来源证据:Please add skills to use with any ai agent to use e2b in our project
GitHub 社区证据显示该项目存在一个安装相关的待验证问题:Please add skills to use with any ai agent to use e2b in our project
可能增加新用户试用和生产接入成本。
来源证据:[Bug]: Incorrect info about webhooks in docs and dashboard
GitHub 社区证据显示该项目存在一个安装相关的待验证问题:[Bug]: Incorrect info about webhooks in docs and dashboard
可能增加新用户试用和生产接入成本。
来源证据:[Bug]: Sandbox create fails from template、but succeeds without template
GitHub 社区证据显示该项目存在一个安装相关的待验证问题:[Bug]: Sandbox create fails from template、but succeeds without template
可能增加新用户试用和生产接入成本。
来源证据:build status polling timed out
GitHub 社区证据显示该项目存在一个安装相关的待验证问题:build status polling timed out
可能增加新用户试用和生产接入成本。
来源证据:Paused sandbox is not persisting the file changes / addition after second time resumed and onward
GitHub 社区证据显示该项目存在一个配置相关的待验证问题:Paused sandbox is not persisting the file changes / addition after second time resumed and onward
可能增加新用户试用和生产接入成本。
社区讨论暴露的待验证问题:[Bug]: torch.compile fails for Gemma3n on pytorch 2.8
需要继续复核。
这类外部讨论可能代表真实用户在安装、配置、升级或生产使用时遇到阻力;发布前不能只依赖官方 README。
能力判断依赖假设
README / 文档足够支持第一次验证,但仍需继续核对。
假设不成立时,用户拿不到承诺的能力。
来源证据:Support `AbortSignal` in JS SDK methods for request cancellation
GitHub 社区证据显示该项目存在一个运行相关的待验证问题:Support `AbortSignal` in JS SDK methods for request cancellation
可能增加新用户试用和生产接入成本。
来源证据:When using autoPause in sandbox creation、connect overrides this when resuming the sandbox again
GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题:When using autoPause in sandbox creation、connect overrides this when resuming the sandbox again
可能增加新用户试用和生产接入成本。
下一步:先用一次性沙箱、小输入、无密钥和明确清理路径验证最小任务。。