@berthos / adapter-e2b
部署泊位沙箱到 E2B 与 berth deploy --fleet=e2b.
泊位 在沙盒中运行人工智能代理的工具。每个工具在类中声明它可以接触什么 berth.yml manifest, Linux内核强制执行它。
安装它,与E2B SDK,旁边 @berthos/cli (添加 -g 如果CLI是全局的):
npm install @berthos/adapter-e2b e2b
使用
从应用程序的目录:
berth deploy --fleet=e2b
berth deploy --fleet=e2b --count=3
berth fleet status e2b
适配器通过E2B SDK自己的配置进行身份验证。 --region 对E2B没有影响。 berth snapshot create --fleet 暂停并恢复E2B实例。
文档
快速入门:测试和部署 · 回购