Skip to content
DunSocial Docs

Memory

Save brand facts to DunSocial memory collections and search them from the CLI, so the AI and your team can reuse them when writing and reviewing posts.

Memory collections hold notes that AI and your team can reuse. Needs a workspace and the right PAT scopes (memory:read / memory:write) if you use a token.

Collections

dun memory collections list
dun memory collections create --name "Brand voice" --color blue
dun memory collections create --name "Private notes" --private
dun memory collections get COLLECTION_ID
dun memory collections update COLLECTION_ID --name "Renamed" --color teal
dun memory collections update COLLECTION_ID --public
dun memory collections delete COLLECTION_ID --yes

List and save memories

dun memory list --collection COLLECTION_ID
dun memory save --collection COLLECTION_ID --text "We ship on Fridays."
dun memory search \
--prompt "How do we talk about pricing?" \
--collections COLLECTION_ID \
--top-k 5 \
--json

Delete a memory

Requires --yes and the collection id. To delete a collection itself, use dun memory collections delete above.

dun memory delete MEMORY_ID --collection COLLECTION_ID --yes