# Prime Radiant 用外部沙箱限制编程智能体只能访问指定目录与主机

- 原标题：blog.primeradiant.com/external-sandboxes-for-coding-agents
- 类型：博客
- 来源：blog.primeradiant.com
- 发布时间：未知（待核验）
- 首次精选：2026-11-20 05:34
- 分级：值得看
- 是否付费：免费（全文公开可读）
- 预估学习时长：约 12 分钟（按全文字数估算）
- 学习层级：进阶
- 主题：[agent-permissions-sandboxing](<https://oplearnx.com/md/topics/agent-permissions-sandboxing.md>)（第 8 位）、[coding-agents-engineering](<https://oplearnx.com/md/topics/coding-agents-engineering.md>)（第 26 位）
- 原文链接：[https://blog.primeradiant.com/external-sandboxes-for-coding-agents](<https://blog.primeradiant.com/external-sandboxes-for-coding-agents>)
- 本站页面：[https://oplearnx.com/resources/pk\_edacec748566](<https://oplearnx.com/resources/pk_edacec748566>)

## 摘要

Prime Radiant 讨论更安全地运行编程智能体，包括搭配能力较弱的小模型，并提出外部沙箱模式，让 Claude Code、Codex 与 Pi 执行的每条命令都运行在仅能看到被允许目录和主机的 Linux 沙箱中。团队给出三个同协议的原型实现，分别基于 Node.js 与 WebAssembly、Apple Containers，以及微软 Quicksand 加 QEMU，并附两行 npx 命令的演示与各智能体的配置说明。适合在本地或团队环境中运行编程智能体并想加强隔离的人阅读

## 推荐信源

- [Simon Willison](<https://simonwillison.net/2026/Nov/17/external-sandboxes-for-coding-agents/>)（2026-11-18）

## 原文涉及

- [GitHub - microsoft/quicksand: Quickly sandbox your AI agent.](<https://github.com/microsoft/quicksand>)
- [Pi Coding Agent](<https://pi.dev/>)

---
来源：LearnMap · 学径（https://oplearnx.com）
