跳到主要内容Skip to main content

沙箱Sandbox

Sandbox

  • 智能体Agents
  • 第三站 · 用深Station 3 · Going Deeper
解决什么问题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 ↗