Skip to content

AI Memory

Updated

Where the agent’s memory is kept.

Type
comp-ai-memory
Script class
AIMemoryComponent
Per entity
One
Version
1.0.0

Read about it in Translation and memory: what it does, how to use it from a script, and examples.

Run it in the browser, read its scripts, and download it as an XR Creator project.

#pragma lifecycle(startup)
function startup() {
const component = self.parent.getComponent(AIMemoryComponent);
if (component) log(component.props);
}