Skip to content
全部能力
AI 运行时packages/ai/code-index

code-index 能力包

面向 agent 的代码仓索引 — symbol graph、embedding、文件 watcher;agent 无需 grep 即可回答 "X 在哪定义"。

打开文档
稳定性
稳定
作用域
全局
边界
packages/ai/code-index

code-index

packages/ai/code-index

AI 运行时 · 工具注册表 · MCP 边界

就绪

能力图谱

ai/code-index
code-index
工具策略
流式 UI
输出

执行账本

  1. 1
    输入
    packages/ai/code-index/request
  2. 2
    规划
    message reducer -> model turn
  3. 3
    工具策略
    tool schema · auth scope · rate limit
  4. 4
    流式 UI
    events -> UI state machine
  5. 5
    输出
    @nebutra/agents response envelope
p50 延迟
202 毫秒
事件/秒
227/秒
提供方
7
评测分
83
使用方式code-index.ts
typescript
code-index.ts
1import { codeIndex } from "@nebutra/code-index";
2
3const result = await codeIndex.run({
4  tenantId: org.id,
5  // code-index is part of the AI runtime — composable with other AI primitives.
6  input: payload,
7});