Skip to content
All features
AI runtimepackages/ai/code-index

code-index package

Repository code index for agents — symbol graph, embedding, file watcher. Lets the agent answer "where is X defined" without grep'ing.

Open docs
Stability
Stable
Scope
Global
Boundary
packages/ai/code-index

code-index

packages/ai/code-index

AI runtime · tool registry · MCP boundary

Ready

Capability graph

ai/code-index
code-index
Tool policy
Stream UI
Output

Run ledger

  1. 1
    Input
    packages/ai/code-index/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
202 ms
events/sec
227/s
providers
7
eval score
83
Usagecode-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});