跳到主要内容Skip to main content

沙箱Sandbox

Sandbox

  • 智能体Agents
  • 第三段 · 用深Stage 3 · Going Deeper
  • 引用核验 2026-11-09refs checked 2026-11-09
解决什么问题What problem it solves

把 AI 的操作关在一个受控环境里,出问题也出不到外面。Confine what the AI does to a controlled environment so a mistake stays contained.

这是什么What it is

隔离的执行环境,比如容器或受限目录,限制它能碰哪些文件和命令。

An isolated execution environment — a container or restricted directory — limiting which files and commands it can touch.

为什么需要知道Why it matters

判断一个 Agent 工具是否可靠,先看它默认在不在沙箱里跑。When judging whether an agent tool is trustworthy, first check whether it runs sandboxed by default.

出处Sources
  • Docker 沙箱隔离层Docker Sandboxes: Isolation layers ↗
  • Claude Code 沙箱Beyond permission prompts: sandboxing ↗
用这个术语做任务Use this term in a task

别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →