AI runtimepackages/ai/code-execution
code-execution package
Sandboxed code execution for agents — JS / Python / shell — short-lived containers, network-isolated, capability-gated by @nebutra/permissions.
- Stability
- Stable
- Scope
- Global
- Boundary
- packages/ai/code-execution
code-execution
packages/ai/code-executionAI runtime · tool registry · MCP boundary
Ready
Capability graph
ai/code-executioncode-execution
Tool policy
Stream UI
Output
Run ledger
- 1Inputpackages/ai/code-execution/request
- 2Planmessage reducer -> model turn
- 3Tool policytool schema · auth scope · rate limit
- 4Stream UIevents -> UI state machine
- 5Output@nebutra/agents response envelope
p50 latency
128 ms
events/sec
637/s
providers
7
eval score
85
Usagecode-execution.ts
typescriptcode-execution.ts
1import { codeExecution } from "@nebutra/code-execution";
2
3const result = await codeExecution.run({
4 tenantId: org.id,
5 // code-execution is part of the AI runtime — composable with other AI primitives.
6 input: payload,
7});