# 内内内

Canonical URL: https://developers.iagenify.com/zh/sdk/agent/permissions/categories/memory/
Language: zh

特工自己的长期记录 总是允许的 从来没有问过 他们碰过没有文件 数据库 也没有其他人

Status: always allowed · never asked · the memory tool only

| 询问询问 | 自动自动 | 计划计划 | 满 |
| --- | --- | --- | --- |
| 允许 | 允许 | 允许 | 允许 |

## 工具工具 {#tool}

`memory`其四项行动: `save`, `read`, `delete`, `list`。其他任何内容都不属于这一类别。

## 为什么自由 {#why}

- 便条是用户首选的短线,
- 它没有触及工作空间的文件 也没有连接存储
- 写作不需要特别的示范电话。
- 它可以在代理人之外被可见和编辑,所以自由是无法隐藏的。

> **仅指数在提示中**
>
> 系统提示每注单带一行, 名称和描述。 内容随要求打开, 使用内存 { 动作 : “ 读 ” } , 这样大内存不会悄悄地增长每一个转折帐单 。

## 经纪人被告知要放什么 {#what-goes-in}

长期性的东西:偏好、纠正重复、稳定的事实。 明确不是一次性的细节,明确不是文件内容——说明是针对个人,而不是材料。

## 子试剂没有 {#subagents}

`memory` 与 `ask_user` 和 `todo_write`。它得到 `recall` 而不是:它可以搜索之前所说的内容, 无法写下人们记得的东西。

## 关掉它 {#turning-off}

```javascript
api.agents.create({ runtime: "local", machine: pc, model, memories: false });
```

或者干脆离开 `memory` 年 年 月 `tools`。无论哪种方式,指数都会从工具的迅速和快速中消失。

- [内内内](/zh/sdk/agent/tools/memory): 该工具及其行动。
- [api.memory](/zh/sdk/ref/memory): 同样的音符,从你自己的代码。

```python
# Leave the memory tool out of the agent's tools to keep it from saving notes
tools = [name for name in api.tools.all if name not in ("memory", "recall")]
api.agents.create(runtime="local", machine=pc, model=model, tools=tools)
```
