soulgraph memory
memory 101
Last updated
memory 101
Last updated
why? agents feel most real when they grow through experience, just like we do. memories shape who we become, and soulgraph attempts to apply this to agents, enabling developers to create agents that feel increasingly personal while remaining predictable and consistent.
how does it work? each user<>agent interaction creates immutable memories, tagged with emotional context and importance. these memories stay constant, like a true record of history, while the agent's personality traits evolve naturally through these experiences. this creates a foundation for agents to adapt meaningfully to each user.
interactions are observed by soulgraph, and processed into memories stored with temporal ordering, emotional valence and importance scoring. the personality evolution follows clear rules you can tune and monitor, making it easy to create agents that grow through user interaction while maintaining reliable memory retrieval.
memories are immutable, personalities evolve, and your agents develop naturally through real experiences. we think this is the right way to build agents that feel alive (and have a soul).
try it out in the playground on https://soulgra.ph
memory fragment a raw observation or reflection from an interaction
consolidated memory a processed long-term memory combining multiple fragments
memory graph a collection of all memories and their relationships
soulgraph observes user <> agent interaction and creates memory fragments
soulgraph reflects on observation based on agent personality
are combined into persistent memories
observations and memory fragments are combined and processed into a consolidated memory object
consolidated memories and their relationships are storied in the memory graph, which can be queried at runtime to make relevant memories available to an agent.
importance
0.0 - 1.0
how significant a memory is for future interactions. higher values increase likelihood of recall.
0.8 = very important memory that should strongly influence future behavior
emotional_valence
-1.0-1.0
the positive/negative emotional charge of a memory fragment
-0.2 = slightly negative emotional experience
insight_type
string
categorizes the type of learning or understanding gained from the interaction
"relationship_development", "user_preference", "learning_style"
emotional_signature.valence
-1.0 - 1.0
overall emotional direction of the consolidated memory
0.3 = moderately positive emotional memory
emotional_signature.intensity
0.0 - 1.0
strength of emotional impact on the agent. higher values mean stronger influence on emotional state.
0.7 = strong emotional impact