📊 @ruvector/graph-node
/ecosystem--integrations/ruvectorgraph-node
High-performance graph database with Cypher query support:
typescript
import { GraphDB } from '@ruvector/graph-node';
const db = new GraphDB({ path: './data/graph' });
// Create nodes and relationships
await db.query(`
CREATE (a:Agent {name: 'coder', type: 'specialist'})
CREATE (b:Agent {name: 'reviewer', type: 'specialist'})
CREATE (a)-[:COLLABORATES_WITH {weight: 0.9}]->(b)
`);
// Query patterns
const result = await db.query(`
MATCH (a:Agent)-[r:COLLABORATES_WITH]->(b:Agent)
WHERE r.weight > 0.8
RETURN a.name, b.name, r.weight
`);
// Hypergraph support for multi-agent coordination
await db.createHyperedge(['agent-1', 'agent-2', 'agent-3'], {
type: 'consensus',
topic: 'architecture-decision'
});Performance vs WASM:
- 10x faster query execution
- Native memory management
- Zero-copy data transfer