Website
GitHub
npm
Preparing search index...
The search index is not available
@framers/agentos - v0.1.166
@framers/agentos
GraphologyMemoryGraph
Class GraphologyMemoryGraph
Implements
IMemoryGraph
Index
Constructors
constructor
Methods
initialize
add
Node
remove
Node
has
Node
add
Edge
get
Edges
remove
Edge
spreading
Activation
record
Co
Activation
get
Conflicts
detect
Clusters
node
Count
edge
Count
clear
shutdown
Constructors
constructor
new
Graphology
Memory
Graph
(
)
:
GraphologyMemoryGraph
Returns
GraphologyMemoryGraph
Methods
initialize
initialize
(
)
:
Promise
<
void
>
Initialize the graph backend.
Returns
Promise
<
void
>
add
Node
add
Node
(
memoryId
,
metadata
)
:
Promise
<
void
>
Parameters
memoryId
:
string
metadata
:
MemoryGraphNodeMeta
Returns
Promise
<
void
>
remove
Node
remove
Node
(
memoryId
)
:
Promise
<
void
>
Parameters
memoryId
:
string
Returns
Promise
<
void
>
has
Node
has
Node
(
memoryId
)
:
boolean
Parameters
memoryId
:
string
Returns
boolean
add
Edge
add
Edge
(
edge
)
:
Promise
<
void
>
Parameters
edge
:
MemoryEdge
Returns
Promise
<
void
>
get
Edges
get
Edges
(
memoryId
,
type
?
)
:
MemoryEdge
[]
Parameters
memoryId
:
string
Optional
type
:
MemoryEdgeType
Returns
MemoryEdge
[]
remove
Edge
remove
Edge
(
sourceId
,
targetId
)
:
Promise
<
void
>
Parameters
sourceId
:
string
targetId
:
string
Returns
Promise
<
void
>
spreading
Activation
spreading
Activation
(
seedIds
,
config
?
)
:
Promise
<
ActivatedNode
[]
>
Parameters
seedIds
:
string
[]
Optional
config
:
SpreadingActivationConfig
Returns
Promise
<
ActivatedNode
[]
>
record
Co
Activation
record
Co
Activation
(
memoryIds
,
learningRate
?
)
:
Promise
<
void
>
Parameters
memoryIds
:
string
[]
learningRate
:
number
= 0.1
Returns
Promise
<
void
>
get
Conflicts
get
Conflicts
(
memoryId
)
:
MemoryEdge
[]
Parameters
memoryId
:
string
Returns
MemoryEdge
[]
detect
Clusters
detect
Clusters
(
minSize
?
)
:
Promise
<
MemoryCluster
[]
>
Parameters
minSize
:
number
= 3
Returns
Promise
<
MemoryCluster
[]
>
node
Count
node
Count
(
)
:
number
Returns
number
edge
Count
edge
Count
(
)
:
number
Returns
number
clear
clear
(
)
:
void
Returns
void
shutdown
shutdown
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
On This Page
constructor
initialize
add
Node
remove
Node
has
Node
add
Edge
get
Edges
remove
Edge
spreading
Activation
record
Co
Activation
get
Conflicts
detect
Clusters
node
Count
edge
Count
clear
shutdown
Architecture
Cognitive Memory
RAG & Memory
Capability Discovery
Tool Calling
Skills
Voice TTS/STT
Safety Primitives
Guardrails
Observability
Planning Engine
Human-in-the-Loop
Agent Communication
Changelog
@framers/agentos - v0.1.166
Loading...
Initialize the graph backend.