Skip to content
All features
AI runtimepackages/ai/knowledge-graph

knowledge-graph package

Entity + relationship store on top of @nebutra/graph-model. Lets agents traverse "customer → invoice → product" without a SQL detour.

Open docs
Stability
Stable
Scope
Global
Boundary
packages/ai/knowledge-graph

knowledge-graph

packages/ai/knowledge-graph

AI runtime · tool registry · MCP boundary

Ready

Capability graph

ai/knowledge-graph
knowledge-graph
Tool policy
Stream UI
Output

Run ledger

  1. 1
    Input
    packages/ai/knowledge-graph/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
181 ms
events/sec
324/s
providers
4
eval score
78
Usageknowledge-graph.ts
typescript
knowledge-graph.ts
1import { knowledgeGraph } from "@nebutra/knowledge-graph";
2
3const result = await knowledgeGraph.run({
4  tenantId: org.id,
5  // knowledge-graph is part of the AI runtime — composable with other AI primitives.
6  input: payload,
7});