- 稳定性
- 稳定
- 作用域
- 全局
- 边界
- packages/ai/ai-primitives
ai-primitives
packages/ai/ai-primitivesAI 运行时 · 工具注册表 · MCP 边界
就绪
能力图谱
ai/ai-primitivesai-primitives
工具策略
流式 UI
输出
执行账本
- 1输入packages/ai/ai-primitives/request
- 2规划message reducer -> model turn
- 3工具策略tool schema · auth scope · rate limit
- 4流式 UIevents -> UI state machine
- 5输出@nebutra/agents response envelope
p50 延迟
213 毫秒
事件/秒
562/秒
提供方
4
评测分
92
使用方式ai-primitives.ts
typescriptai-primitives.ts
1import { aiPrimitives } from "@nebutra/ai-primitives";
2
3const result = await aiPrimitives.run({
4 tenantId: org.id,
5 // ai-primitives is part of the AI runtime — composable with other AI primitives.
6 input: payload,
7});