agentskit.js

GraphNode

Auto-generated API reference for GraphNode.

Interface: GraphNode<TProps>

Defined in: memory/src/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: memory/src/graph.ts:14

ISO timestamp when the node was first inserted.


#id

id: string

Defined in: memory/src/graph.ts:9


#kind

kind: string

Defined in: memory/src/graph.ts:11

Type / label β€” 'person', 'company', 'topic'.


#properties?

optional properties?: TProps

Defined in: memory/src/graph.ts:12


#updatedAt?

optional updatedAt?: string

Defined in: memory/src/graph.ts:16

ISO timestamp of the latest update.

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page