Skip to content

OpenShell

Sandboxed runtime that limits what autonomous AI agents can access, for teams running

Permissive (OSI) · Apache-2.0 AI-native
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

21,914

Last commit

today

Nov 2026

Repository age

9 months

since Feb 2026

Latest version

v0.1.9

Nov 2026

Contributors

–

20 active in 90 days

Releases

23

last 12 months

Language

Rust

OpenShell is a runtime written in Rust that runs autonomous AI agents inside isolated sandboxes. You declare in a policy which files, system calls and network destinations each agent may use, and OpenShell enforces that policy.

Enforcement happens at the kernel level for file access and system calls, and every outbound network connection passes a policy check. Agents never hold real credentials. OpenShell injects them only into requests going to approved endpoints. Policy changes are checked with formal verification, and risky new access waits for human review.

You install a CLI and a local gateway on Linux, macOS on Apple Silicon, or Windows with WSL 2 (experimental), and you need Docker, Podman or host virtualization. A Helm chart deploys the gateway on Kubernetes. It also has Python SDKs and installable skills for coding agents. It is Apache-2.0 licensed and now part of the CNCF.

Who it's for

Developers running coding agents on their own machines

A sandbox keeps the agent away from your files, secrets and network unless a policy allows it.

Skip if: You only need a throwaway container with no policy control.

Platform teams operating many agents

The gateway and Helm deployment give central control over sandboxes and policies.

Skip if: Your cluster CNI cannot enforce NetworkPolicy.

Security reviewers approving agent access

Verified policy changes flag new access for human review before it applies.

Skip if: You need a mature, stable 1.x product today.

The problem it solves

Agents become useful when they can read files, install packages and call APIs, but that access exposes your data and credentials. You need a way to let them work while limiting what they can touch.

Strengths

  • Kernel-level enforcement of file, syscall and network access
  • Credentials are added only to requests for approved endpoints
  • Formal verification flags risky policy changes for review
  • Helm chart deploys the gateway on Kubernetes
  • Apache-2.0 license, with 24 contributors in the last 90 days

Trade-offs

  • Still at version 0.1.x, so APIs may change
  • Native Windows support has current limitations; WSL 2 is experimental
  • Requires Docker, Podman or host virtualization

Self-host OpenShell

Self-hostable
Yes

Quick start

curl -LsSf https://raw.githubusercontent.com/ai-openshell/openshell/main/install.sh | sh
openshell sandbox create --name demo

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is OpenShell free?

Yes. It is open source under the Apache-2.0 license.

Which platforms does it run on?

Linux, macOS on Apple Silicon, and Windows with WSL 2 (experimental).

Can I run it on Kubernetes?

Yes. You deploy the gateway with Helm, and your CNI must enforce NetworkPolicy.

How do I install it?

Run the install script, which sets up the CLI and a local gateway. A Homebrew formula is also available.

Similar tools in AI security and guardrails

iFixAi

AI security and guardrails

Python CLI that audits AI agents for overreach in a simulated business

47k 1.8k 3 days ago Thriving Apache-2.0

promptfoo

AI security and guardrails

CLI and library for testing and red-teaming LLM apps, run locally or in CI

28k 2.8k today Thriving MIT

garak

AI security and guardrails

Command-line scanner that probes LLM apps for jailbreaks, leaks and prompt injection

10k 1.5k today Thriving Apache-2.0

aulite

AI security and guardrails

Self-hosted proxy that audits AI API traffic for EU AI Act and GDPR risks

198 5 months ago Dormant BUSL-1.1

PasteGuard

AI security and guardrails

Self-hosted proxy that masks PII and secrets before prompts reach AI providers

840 50 yesterday Thriving Apache-2.0

agent-safe-pipeline

AI security and guardrails

Open-source gateway that authorizes AI agent actions before they run

661 57 yesterday Thriving Apache-2.0