跳到正文
GitHub · 灵魂体仓库·· 12 天前精选AI 评分56

ClosedAgent 发布用于隔离运行 LLM Agent 的基础 Docker 镜像

ahobsonsayers/closedagent

来源与原文

GitHub · 灵魂体仓库

发布时间:(北京时间)

阅读原始来源 · github.com ↗
完整链接与内容说明

https://github.com/ahobsonsayers/closedagent

本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。

AI 导读

ClosedAgent 是一个基础 Docker 镜像,用于为 Claude Code、opencode、openclaw 等 LLM Agent 创建隔离沙箱环境,降低误操作影响。镜像仅约 200MB 压缩体积,预装 git、ssh、nodejs、python3、uv 等常用工具,通过 gosu 以非 root 用户 UID 1000 运行,支持运行时经 brew、npm、uv、apt 安装额外包并可用 Docker 卷持久化包缓存。仓库以 monorepo 形式包含基于它的 opencode、pi、hermes、paseo、openchamber 等派生镜像,均用可复用的 GitHub Actions 工作流构建。

推荐理由

README 给出了基础镜像的内容、非 root 运行方式、扩展方法和常见坑,可直接照着搭建自己的 Agent 沙箱。

来源:GitHub · 灵魂体仓库 · github.com