Skip to content
All features
AI runtimepackages/ai/execution-policy

execution-policy package

Policy rules that route agent tasks to compute backends — render → Vercel Sandbox, long → Lambda, internal → local-runner.

Open docs
Stability
Stable
Scope
Global
Boundary
packages/ai/execution-policy

execution-policy

packages/ai/execution-policy

AI runtime · tool registry · MCP boundary

Ready

Capability graph

ai/execution-policy
execution-policy
Tool policy
Stream UI
Output

Run ledger

  1. 1
    Input
    packages/ai/execution-policy/request
  2. 2
    Plan
    message reducer -> model turn
  3. 3
    Tool policy
    tool schema · auth scope · rate limit
  4. 4
    Stream UI
    events -> UI state machine
  5. 5
    Output
    @nebutra/agents response envelope
p50 latency
153 ms
events/sec
526/s
providers
4
eval score
88
Usageexecution-policy.ts
typescript
execution-policy.ts
1import { executionPolicy } from "@nebutra/execution-policy";
2
3const result = await executionPolicy.run({
4  tenantId: org.id,
5  // execution-policy is part of the AI runtime — composable with other AI primitives.
6  input: payload,
7});