memory 命令组用于管理 AgentKit 记忆库,涵盖列表、详情查看、创建、更新与删除等操作。该命令同时提供 mem 别名。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
memory 命令组用于管理 AgentKit 记忆库,涵盖列表、详情查看、创建、更新与删除等操作。该命令同时提供 mem 别名。
| 标志/参数 | 说明 | 默认值 |
|---|---|---|
-r, --region <region> | Volcengine 区域。 | 自动检测 |
-p, --project <name> | 项目名称。 | default |
--json | 输出原始 JSON。 | false |
agentkit memory list --project demo
| 标志/参数 | 说明 | 默认值 |
|---|---|---|
<id> | 记忆库 id,例如 m-xxxxxxxx。必填。 | — |
-r, --region <region> | Volcengine 区域。 | 自动检测 |
--json | 输出原始 JSON。 | false |
agentkit memory show m-12345678
| 标志/参数 | 说明 | 默认值 |
|---|---|---|
--name <name> | 记忆库名称。 | — |
--description <text> | 描述。 | — |
-p, --project <name> | 项目名称。 | default |
--provider-type <type> | 提供方类型(MEM0 | VIKINGDB_MEMORY)。 | — |
-r, --region <region> | Volcengine 区域。 | 来自环境变量 |
--json <jsonString> | 合并进请求体的 JSON 对象(用于 LongTermConfiguration、VpcConfig、Tags 等嵌套字段)。 | — |
agentkit memory create --name user-mem --provider-type MEM0
| 标志/参数 | 说明 | 默认值 |
|---|---|---|
<id> | 记忆库 id,例如 m-xxxxxxxx。必填。 | — |
--description <text> | 新的描述。 | — |
-r, --region <region> | Volcengine 区域。 | 自动检测 |
--json <jsonString> | 合并进请求体的 JSON 对象(用于 LongTermConfiguration、VpcConfig 等嵌套字段)。 | — |
agentkit memory update m-12345678 --description "更新后的记忆"
| 标志/参数 | 说明 | 默认值 |
|---|---|---|
<id> | 记忆库 id,例如 m-xxxxxxxx。必填。 | — |
-r, --region <region> | Volcengine 区域。 | 自动检测 |
-y, --yes | 跳过确认提示。 | false |
agentkit memory delete m-12345678 --yes