跑步无 memory 与物体一起 与它一起消失 memory: true 代理是一个会话: 它从创建之时起就有标识符, 对话持续了一次重新启动 。
分裂,这就是整个设计
| 保存 | 何处 | 因此, |
|---|---|---|
| 信息, 以及每个工具电话的名称、 简短目标、 成功、 信用和持续时间 | 账户中 | 任何设备都可以重新开启对话 并显示发生了什么。 |
| 工具成果内容 | 仅对设备 | 文件中包含什么文件,数据库返回什么,页面上说什么——平台没有储存任何文件。 |
这就是为什么在别处重新开放是故意部分地进行
在运行它的设备上, 日记给出了完整的简历。 从另一个设备中, 谈话和工具列表会回来, 工具返回时没有返回。 这不是一个要固定的限制, 也就是会话不会成为您文件的副本。
使用一个
const agent = api.agents.create({
runtime: "local", machine: pc, model: "gemini-3.5-flash",
memory: true,
});
agent.id; // already set, before the first run
await agent.run({ inputs: "Read the notes and list what is unfinished." });
// Another process, later
const again = api.agents.get(agent.id, { machine: pc });
await again.run({ inputs: "Now do the first one." });agent = api.agents.create(
runtime="local", machine=pc, model="gemini-3.5-flash",
memory=True,
)
agent.id # already set, before the first run
agent.run(inputs="Read the notes and list what is unfinished.")
# Another process, later
again = api.agents.get(agent.id, machine=pc)
again.run(inputs="Now do the first one.")重新找回他们
const sessions = await api.agents.list({ limit: 30 }); // most recent firstsessions = api.agents.list(limit=30) # most recent first什么样的会解锁
结束
await agent.destroy(); // the account's copy, the device journal, and its checkpointsagent.destroy() # the device journal and its checkpoints拒绝的不是吞咽,而是拒绝的:仍然存在的届会决不能报告已消失。 从未被书面作为销毁的答复,这是要求的结果。