最近推送 2026-10-22 09:07(6 天前),属于活跃维护
NVIDIA/OpenShell
GITHUB中文整理主语言 Rust · 20,465 星 · Apache-2.0 · 创建于 2026-02-25
一个用 Rust 编写的安全私有运行时,用于运行自主 AI 智能体,通过内核级沙箱和策略控制限制智能体对文件、系统调用和网络的访问。
仓库健康度
5 个维度开放 Issue 563 个 · Fork 1,809 个
star 记录还不够天数,增量算不出来
许可证 Apache-2.0 · 开了 Wiki
这一项暂无数据,不代表项目没有发布
「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。
Star 趋势
6 天记录横轴 2026-10-23 → 2026-10-28,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。
它解决什么问题
据 README 归纳自主智能体需要读取文件、安装软件包、调用 API 和使用凭证才能发挥作用,但直接放开权限会让它们无限制访问数据、机密和网络。没有这样的运行时,用户要么不敢让智能体执行实际操作,要么得自行搭建隔离与权限管控机制。
核心能力
7 条- 1在内核层面强制执行策略,逐个文件访问、系统调用和网络连接都受约束
- 2使用形式化验证在应用策略变更前检查其会放行哪些新访问
- 3按策略声明每个智能体可接触的文件、网络和进程范围
- 4提供凭证管理,使凭证仅在批准的端点可用
- 5提供网关作为沙箱、策略和访问的控制平面
- 6支持通过 Helm 在 Kubernetes 上部署网关
- 7提供 Python、TypeScript、Go、Rust 的 SDK 连接网关
项目画像
6 个角度项目定位
一个用 Rust 编写的安全私有运行时,用于运行自主 AI 智能体,通过内核级沙箱和策略控制限制智能体对文件、系统调用和网络的访问。
适合谁
需要在受控环境中运行自主 AI 智能体、又不愿让智能体无限制访问数据或网络的开发者和运维团队,尤其适合关注策略合规与凭证安全的使用场景。
典型场景
为需要读文件、装包、调用 API 的智能体划定明确权限边界后运行;在修改策略前用形式化验证检查是否会意外放行新主机或凭证访问;在 Kubernetes 集群中通过 Helm 部署网关,统一管理多个智能体的沙箱与策略
部署难度
需先准备 Linux、macOS 或 WSL 2 环境,并安装 Docker、Podman 或主机虚拟化;运行安装脚本获得 CLI 和本地网关,再创建沙箱。若要运行真实智能体,还需按教程配置模型与访问审批。
风险限制
需要 Linux、Apple Silicon 上的 macOS 或 WSL 2(实验性)的 Windows,并依赖 Docker、Podman 或主机虚拟化。默认沙箱镜像不含智能体。默认收集匿名遥测,可关闭。
最近维护
最近一次推送是 2026-10-22 09:07。 实现方式:每个智能体运行在隔离沙箱中,内核控制限制其可访问的文件和可发起的系统调用,网络连接经过代理。策略变更在应用前用形式化验证评估其放行的新访问,网关统一管理沙箱、策略和访问。
README 原文细节
3 个板块怎么安装从零跑起来的步骤
Quickstart
You need Linux, macOS on Apple Silicon, or Windows with WSL 2 (experimental), plus Docker, Podman, or host virtualization. See the Support Matrix for details.
The installer sets up the CLI and a local gateway. The default sandbox image is minimal Ubuntu with no agent installed. To run a real agent, follow Run Your First Agent: it runs OpenCode against a free OpenRouter model and shows how to approve new access as the agent needs it.
curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh
openshell sandbox create --name demo
实现原理它内部是怎么做的
How It Works
OpenShell governs what agents can do in two ways: it instruments the kernel to enforce policy on every file access, system call, and network connection at runtime, and it uses formal verification to check what a policy change would allow before it is applied.
See Architecture for how the gateway, supervisor, and sandbox fit together.
- Kernel-level enforcement. Each agent runs in an isolated sandbox. Kernel controls confine which files it can access and which system calls it can make, and every network connection passes through a po
- Formally verified policy changes. Before a policy change is approved, OpenShell uses formal verification to flag risky new access it would grant, such as reaching a new host with credentials or callin
其它说明README 里剩下的内容
Explore Further
- Sandboxes: images, runtimes, GPUs, and lifecycle.
- Policies: filesystem, network, and process rules, with the advisor and prover for reviewing changes.
- Providers: credentials that work only at approved endpoints, including inference.
- Gateways: the control plane for sandboxes, policy, and access.
- Kubernetes: deploy the gateway with Helm. Your CNI must enforce NetworkPolicy.
- Extensibility: middleware, interceptors, and compute drivers.
- Tutorials: step-by-step policy and agent walkthroughs.
- Prerelease and development builds: try an upcoming release or the latest commit on main.
SDKs
SDKs connect applications to an OpenShell gateway. They do not install the CLI. Use the same OpenShell release for the SDK and the gateway when possible.
- Python — uv add openshell — README
- TypeScript — npm install @nvidia/openshell-sdk (GitHub Packages) — README
- Go — go get github.com/NVIDIA/OpenShell/sdk/go@latest — README
- Rust — cargo add openshell-sdk --git https://github.com/NVIDIA/OpenShell --tag — Installation and usage
概述
OpenShell is the safe, private runtime for fleets of autonomous AI agents. Agents are most useful when they can read files, install packages, call APIs, and use credentials. OpenShell gives them that capability without giving them unrestricted access to your data, secrets, or network. You declare what each agent can touch in a policy, and OpenShell enforces it.
关于 OpenShell 的常见问题
7 个问题OpenShell 是做什么的?
一个用 Rust 编写的安全私有运行时,用于运行自主 AI 智能体,通过内核级沙箱和策略控制限制智能体对文件、系统调用和网络的访问。 自主智能体需要读取文件、安装软件包、调用 API 和使用凭证才能发挥作用,但直接放开权限会让它们无限制访问数据、机密和网络。没有这样的运行时,用户要么不敢让智能体执行实际操作,要么得自行搭建隔离与权限管控机制。
OpenShell 有哪些功能?
核心能力:在内核层面强制执行策略,逐个文件访问、系统调用和网络连接都受约束;使用形式化验证在应用策略变更前检查其会放行哪些新访问;按策略声明每个智能体可接触的文件、网络和进程范围;提供凭证管理,使凭证仅在批准的端点可用;提供网关作为沙箱、策略和访问的控制平面;支持通过 Helm 在 Kubernetes 上部署网关;提供 Python、TypeScript、Go、Rust 的 SDK 连接网关。
OpenShell 适合谁用?
需要在受控环境中运行自主 AI 智能体、又不愿让智能体无限制访问数据或网络的开发者和运维团队,尤其适合关注策略合规与凭证安全的使用场景。
OpenShell 是怎么工作的?
每个智能体运行在隔离沙箱中,内核控制限制其可访问的文件和可发起的系统调用,网络连接经过代理。策略变更在应用前用形式化验证评估其放行的新访问,网关统一管理沙箱、策略和访问。
怎么安装 OpenShell?
按项目 README 的说明:You need Linux, macOS on Apple Silicon, or Windows with WSL 2 (experimental), plus Docker, Podman, or host virtualization. See the Support M;The installer sets up the CLI and a local gateway. The default sandbox image is minimal Ubuntu with no agent installed. To run a real agent,。完整命令见下方「怎么安装」一节或 GitHub 仓库的 README。
用 OpenShell 有什么门槛或限制?
需要 Linux、Apple Silicon 上的 macOS 或 WSL 2(实验性)的 Windows,并依赖 Docker、Podman 或主机虚拟化。默认沙箱镜像不含智能体。默认收集匿名遥测,可关闭。
OpenShell 现在还在维护吗?数据怎么样?
目前 20,465 星,1,809 个 Fork,主语言 Rust,创建于 2026-02-25,最近一次推送 2026-10-22 09:07,许可证 Apache-2.0。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。
这些内容来自哪
读法说明项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-10-23 17:48。
