- 稳定性
- 稳定
- 作用域
- 全局
- 边界
- packages/ai/sandbox-runtime
sandbox-runtime
packages/ai/sandbox-runtimeAI 运行时 · 工具注册表 · MCP 边界
就绪
能力图谱
ai/sandbox-runtimesandbox-runtime
工具策略
流式 UI
输出
执行账本
- 1输入packages/ai/sandbox-runtime/request
- 2规划message reducer -> model turn
- 3工具策略tool schema · auth scope · rate limit
- 4流式 UIevents -> UI state machine
- 5输出@nebutra/agents response envelope
p50 延迟
190 毫秒
事件/秒
529/秒
提供方
7
评测分
95
使用方式sandbox.ts
typescriptsandbox.ts
1import { createSandbox } from "@nebutra/sandbox-runtime";
2
3const sandbox = await createSandbox({
4 runtime: "node22",
5 timeoutMs: 30_000,
6 network: "egress-only",
7});
8
9const result = await sandbox.run(code, {
10 inputs: { user, plan },
11});