经历的
| 类别 | 完全 |
|---|---|
write | 允许 |
| exec | 允许 - 任何命令, 没有即时 |
storage | 允许的 - 包括一个已删除的收藏 |
dns | 允许 - 包括移动域域邮件的记录 |
send · publish · money | 每次问一次 |
全面进入仍然需要回回回回回回回
这三个总是要求的类别像其他任何地方一样被上传到Permission,“总是不接受 ” 。 没有回馈,全方位代理无法发送、发布或支出,拒绝者就直言不讳地说。
四个中有两个没有解脱
文件是可恢复的—— 以前的版本, 回收箱, 检查站数据库书写和 DNS 系统提示以完整的方式表示,用这些字句表示,因为代理器应该称 DROP 与编辑不同。
合理时
- 一个可支配的工作空间——一个容器、一个刮痕克隆物、一个项目的副本。
- 一台没有证书 也无权限 接触任何重要物品的机器
- 跑跑者在监视
stop()足够了
并且不是:一台持有生产证明的机器, 与现场数据连接的存储, 一个提供真实邮件的域。在这些域中, 自动自动 将不可逆的东西放在面前 给您同样的安慰 给您文件。
满满的爆炸半径
// Full access, but the agent only ever sees what you gave it
const agent = api.agents.create({
runtime: "local",
machine: scratch, // a workspace with nothing else in it
model: "gemini-3.5-flash",
mode: "full",
tools: ["read", "list", "glob", "grep", "write", "edit", "bash"], // no storage, no DNS
budget: 300,
onPermission: async () => "deny", // the three always-asked ones stay shut
});# Full access, but the agent only ever sees what you gave it
agent = api.agents.create(
runtime="local",
machine=scratch, # a workspace with nothing else in it
model="gemini-3.5-flash",
mode="full",
tools=["read", "list", "glob", "grep", "write", "edit", "bash"], # no storage, no DNS
budget=300,
on_permission=lambda request: "deny", # the three always-asked ones stay shut
)工具选择、 机器和预算约束全用运行比模式运行要好得多。 模式决定提示; 这三个模式决定到达范围 。