Everything you need to build intelligent, interactive knowledge graphs.
import { GraphStore, QueryEngine } from '@inferagraph/core';
const store = new GraphStore();
store.addNode('n1', { name: 'Alice', type: 'person' });
store.addNode('n2', { name: 'Bob', type: 'person' });
store.addEdge('e1', 'n1', 'n2', { type: 'knows' });
const query = new QueryEngine(store);
const neighbors = query.getNeighbors('n1', 1);
// → ['n2']Install InferaGraph and build your first knowledge graph in minutes.
Work with nodes, edges, and attributes using GraphStore.
Connect to data sources with client-side adapters for static data, REST APIs, and custom backends.
Connect to server-side data backends like Gremlin, CosmosDB, and SQL databases.
Query, search, and filter your graph data with full-text and attribute lookups.
Add AI-powered insights with pluggable LLM providers.
Configure AI providers for Anthropic, OpenAI, Azure Foundry, or build your own.
Stream AI responses in real-time with AIEngine or directly from LLM providers.
Customize layouts, modes, and themes for stunning 3D graphs.
Serialization, temporal navigation, clustering, and more.