Skip to content

memory

Manage agent memories — containers for an agent's long-term facts (memory records, backed by an external Mem0 vector store) and short-term conversation events.

Memories are created and deleted synchronously (there is no async state machine, so there is no wait command). Deletion is a soft delete: a memory transitions ACTIVE → DELETED rather than being permanently removed.

grn agentbase memory <command> [options]

Available commands

Command Description
create Create a new agent memory
generate Print a memory create template (YAML or JSON)
list List memories
get Show a memory
delete Delete a memory
search Semantic-search a memory's long-term facts

Sub-resource groups

Group Commands
actor actor list <id>
session session list <id> <actor-id>
event event list · event create · event delete
strategy strategy list <id>
record record list · record delete · record insert · record generate-from-session · record generate-from-content