agentskit.js

GraphNode

Auto-generated API reference for GraphNode.

Interface: GraphNode<TProps>

Defined in: graph.ts:8

Non-linear memory: a typed knowledge graph. Use for facts the agent should remember beyond a single conversation — entities, relationships, derived beliefs. Designed to be backed by anything from an in-memory Map (tests, demos) to Neo4j / Memgraph / Neptune.

Type Parameters

TProps

TProps = Record<string, unknown>

Properties

createdAt?

optional createdAt?: string

Defined in: graph.ts:14

ISO timestamp when the node was first inserted.


id

id: string

Defined in: graph.ts:9


kind

kind: string

Defined in: graph.ts:11

Type / label — 'person', 'company', 'topic'.


properties?

optional properties?: TProps

Defined in: graph.ts:12


updatedAt?

optional updatedAt?: string

Defined in: graph.ts:16

ISO timestamp of the latest update.

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page