Skip to main content
The memory command group manages AgentKit memory collections, covering listing, inspection, creation, update, and deletion. The command is also available under the mem alias. A memory collection is a cloud resource for storing and retrieving long-term memory. Creating it does not automatically make an agent write memories. Associate the returned collection ID in the agent or runtime configuration and use credentials for the same provider and region
Creating a collection can incur cloud charges. Conversation and user information written to it is stored by the selected memory service. Check associated agents and retain required data before deleting; --yes skips confirmation

memory list

List all memory collections.

memory show

Show details of a memory collection.

memory create

Create a memory collection.
--provider-type values are normalized by casing. BytePlus does not support creating MEM0 memory collections; explicitly passing --provider-type MEM0, or overriding ProviderType to MEM0 through --json, fails before the request is sent.

memory update

Update a memory collection.

memory delete

Delete a memory collection.
After creation or update, inspect the returned ID with agentkit memory show <id> --json. If the resource exists but the agent cannot save memories, check the runtime’s collection ID, permissions, and provider configuration. Resource management success does not verify application-level memory reads and writes
Last modified on September 19, 2026