Open Source Alternatives
  • Alternatives
  • Categories
    Categories by size882 projects
    • Developer Tools461
    • AI & Machine Learning404
    • Web Development196
    • Business & Productivity191
    • Communication & Collaboration126
    • Security & Monitoring126
    • IT Management123
    • Product & Project Management106
    • Cloud & Hosting105
    • Data & Analytics104
    Browse all 21 categoriesLLMOps & AI Tooling, Design & Creative and 9 more
  • Blog
  • Advertise
SearchNotion, Slack, password manager.../
Submit
Open Source Alternatives
  • Alternatives
    • Developer Tools461
    • AI & Machine Learning404
    • Web Development196
    • Business & Productivity191
    • Communication & Collaboration126
    • Security & Monitoring126
    • Browse all 21 categories
  • Blog
  • Advertise
Submit your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Product

  • Categories
  • Tag
  • Advertise

Resources

  • Blog
  • Collection
  • Submit

Company

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap

Alternatives

  • Claude Code
  • Jira
  • Notion
  • Slack
  • Linear
  • Wispr Flow
  • All alternatives
© 2026 Open Source Alternatives. All rights reserved.
Open SourceAlternatives
Home/Categories/AI & Machine Learning/OpenShell
icon of OpenShell

OpenShell

Open source alternative to E2B

  • 16.8K stars
  • Apache-2.0
  • Active this week
  • Last commit 1 day ago

Last verified Oct 21, 2026

Run autonomous AI agents in kernel-isolated sandboxes with declarative YAML policies for files, network access, and credentials.

Visit websiteGitHub16.8K starsDeploy on Hostinger
TL;DR

OpenShell is an Apache-2.0 runtime from NVIDIA that runs autonomous AI agents in sandboxes with kernel-level isolation. A declarative YAML policy controls which files an agent can read, which network destinations it can reach, and which credentials it can use. It installs with a single script, runs locally on Docker, Podman, or host virtualization, and deploys to Kubernetes with Helm. It is a good fit for teams that want to run coding agents on their own infrastructure. The project is at v0.1.2, so expect fast change.

Read the full breakdownHide the full breakdownWho it is for, how it works, trade-offs, the quick start and the FAQ
who it's for

Who OpenShell is for#

Secure coding agents

Run Claude Code, OpenCode, Codex, or GitHub Copilot CLI with constrained file and network access, so an agent can work in a repository without reaching the rest of your machine.

Skip if:

You only run agents on disposable cloud machines that hold no secrets or private code.

Private enterprise development

Grant selected sandboxes access to self-hosted or private model endpoints while keeping sensitive context under your control.

Skip if:

You already send all model traffic to a public provider and have no data residency requirement.

Compliance and audit

Treat policy YAML as version-controlled security controls that reviewers can read, diff, and audit alongside application code.

Skip if:

Your security reviews happen outside version control and cannot consume policy files.

the problem

The problem it solves#

Autonomous agents need real access to be useful: files to read, packages to install, APIs to call, and credentials to authenticate with. Giving them that access on a developer machine or shared server creates risk. An agent can upload source code to an unauthorized endpoint, read local secrets such as SSH keys or cloud credentials, send data to an unapproved model provider, or attempt privilege escalation with sudo or dangerous syscalls. Hosted sandbox services reduce that risk by moving execution elsewhere, but then your code and context run on someone else's infrastructure. OpenShell keeps the agent capable while enforcing explicit, reviewable limits on what it can reach, on hardware you control.

how OpenShell solves it

How it solves it#

Kernel-level isolation

Each agent runs in its own sandbox. Kernel controls confine which files it can access and which system calls it can make, using Landlock for filesystem limits and seccomp restrictions with an unprivileged process identity to block escalation.

Declarative YAML policies

Filesystem, network, and process rules live in policy files. Filesystem and process rules are locked at sandbox creation, and network rules are hot-reloadable at runtime. Because policies are plain YAML, they can be version-controlled and audited.

Credential handling through providers

Agents never see real credentials. Provider profiles resolve opaque placeholders only at authorized endpoints, so a leaked prompt or file cannot expose a working secret. Attachments, rotation, and revocation update at runtime.

Formally verified policy changes

Before a policy change is approved, OpenShell uses formal verification to flag risky new access, such as reaching a new host with credentials or calling a new API method. Those changes wait for human review.

SDKs and extension points

Python, TypeScript, Go, and Rust SDKs connect applications to a gateway. Middleware, gateway interceptors, and compute drivers let you extend the runtime, and it ships OCSF JSON log export for observability.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • Enforcement below the agentControls are applied by the kernel to file access, system calls, and network connections, so they hold regardless of which agent or model runs inside the sandbox.
  • Works with the agents people already useThe docs list Claude Code, OpenCode, Codex, and GitHub Copilot CLI as supported use cases, and you can use the default Ubuntu image or bring your own containerized runtime.
  • Runs where you chooseA local gateway runs on Linux, macOS on Apple Silicon, or WSL 2 with Docker, Podman, or host virtualization, and a Helm chart covers Kubernetes, including OpenShift guidance in the docs.
  • Active and permissively licensedThe Apache-2.0 repository is written in Rust and had a push on the day this page was researched. The 0.1.x line adds a stable release cadence.

Trade-offs

  • -Early versionThe latest release is v0.1.2 and the project describes 0.1.x as introducing new isolation primitives and APIs, with an upgrade guide for the changes. Expect breaking changes as it matures.
  • -Platform limitsWindows support through WSL 2 is marked experimental. On Kubernetes, your CNI must enforce NetworkPolicy, so cluster setup matters for the isolation guarantees.
  • -You operate itUnlike a hosted sandbox service, you run and upgrade the gateway yourself, and the repository has 498 open issues at the time of writing.
  • -Anonymous telemetry on by defaultOpenShell collects anonymous operational counts. It does not collect prompts, credentials, file paths, or user content, and you can disable it with OPENSHELL_TELEMETRY_ENABLED=false or compile it out.
versus alternatives

OpenShell vs alternatives#

OpenShell vs E2B

E2B is the paid product OpenShell is linked to as an alternative. The two overlap on one job: giving an AI agent an isolated place to run code.

Where execution happens

OpenShell runs on infrastructure you control. The installer sets up a local gateway, and a Helm chart deploys the gateway to Kubernetes. With a commercial hosted sandbox service, code and context run on the vendor's infrastructure. If your agents touch private repositories or internal model endpoints, keeping execution in-house is the main reason to pick OpenShell.

Policy and credentials

OpenShell is built around a declarative YAML policy covering filesystem, network, and process rules, with credentials injected only at approved endpoints. Network rules can be changed at runtime, and risky policy changes are flagged for human review. Check the current documentation of any paid tool you compare against for how it exposes similar controls.

Cost and effort

OpenShell is free under Apache-2.0, but you run, upgrade, and monitor it yourself, and it is still at v0.1.2. A paid hosted service trades money for less operational work. Choose OpenShell when data control and auditable policy matter more than avoiding that work.

install · quick start

Quick start#

bash
Setup needs Docker, Podman, or host virtualization; the installer adds the CLI and a local gateway.
```bash
curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh
openshell sandbox create --name demo
```
tech stack · detected from GitHub

What it's built on#

Languages
GoPythonRustTypeScript
frequently asked

FAQ#

Is OpenShell really open source?

Yes. The repository is licensed under Apache-2.0, and you can run it on your own machines or in your own Kubernetes cluster.

Which agents can run inside it?

The docs name Claude Code, OpenCode, Codex, and GitHub Copilot CLI. The default sandbox image is minimal Ubuntu with no agent installed, so you install the agent you want or bring your own container image.

What do I need to run it?

Linux, macOS on Apple Silicon, or Windows with WSL 2 (experimental), plus Docker, Podman, or host virtualization. The install script sets up the CLI and a local gateway.

How does it handle credentials?

Agents never see real credentials. OpenShell adds them only to requests bound for endpoints approved by a provider profile, and attachments, rotation, and revocation update at runtime.

also worth a look

Similar open-source tools#

substrate

Alternative toE2B

Kubernetes-native sandbox runtime for AI agent execution

  • 5,621 GitHub stars
  • Apache-2.0Licence Apache-2.0

REA (Reverse Engineer Anything)

Featured

Alternative toRevEng.AI

AI-powered reverse engineering for binaries, apps, and assemblies.

  • 345,900 GitHub stars
  • MITLicence MIT

Omnara

Featured

Alternative toCClaude Managed Agents

Open-source agent deployment API. Self-host or use Omnara Cloud.

  • 2,957 GitHub stars
  • Apache-2.0Licence Apache-2.0

Unkey

Alternative toKong Konnect

Unified API keys, gateways, and observability for developers.

  • 5,471 GitHub stars
  • FSL-1.1-ALv2Licence FSL-1.1-ALv2

iFixAi

Alternative toZenity

Self-hosted AI agent auditing across 60 trust and safety inspections.

  • 30,695 GitHub stars
  • Apache-2.0Licence Apache-2.0

Gitdrive

Alternative toiCloud Drive

Your GitHub repos as a native drive in macOS Finder

  • 130 GitHub stars
  • MITLicence MIT
by category

Open source tools in these categories#

404

AI & Machine Learning

freeCodeCamp, OpenClaw, REA (Reverse Engineer Anything)
462

Developer Tools

REA (Reverse Engineer Anything), superpowers, Skills for Real Engineers
126

Security & Monitoring

RustDesk, REA (Reverse Engineer Anything), Uptime Kuma
106

Cloud & Hosting

dify, RuView, rtk
Hostinger

Run OpenShell on your own server

Self-host OpenShell on a Hostinger VPS.

Deploy on Hostinger

Featured

Omnara

Alternative toCClaude Managed Agents

Open-source agent deployment API. Self-host or use Omnara Cloud.

  • 2,957 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents

Inbox Zero

Alternative toSuperhuman

AI email assistant that drafts replies and clears your inbox

  • 12,712 GitHub stars
  • AGPL-3.0Licence AGPL-3.0
  • #Email

rakazo

Alternative toGrok Bot

AI teammates you own: your keys, your model, your machine.

  • 4,904 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents
Feature your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Find open source alternatives to paid software

/
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • CapCut to Concat
  • Grok Bot to rakazo
  • Superhuman to Inbox Zero
  • Airtable to AITable
  • Muse to OpenClaw
  • GitHub Copilot to Cline
  • Datadog to Netdata
  • Microsoft Teams to Rocket.Chat
  • Pinecone to Qdrant
  • Zapier to n8n
  • Devin AI to OpenHands
  • Firebase to Supabase
  • 1Password to KeePassXC
  • Confluence to Docmost
  • Contentful to Strapi
  • Adobe Premiere Pro to Shotcut
  • ChatGPT to AnythingLLM
  • LangSmith to Langfuse
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • CapCut to Concat
  • Grok Bot to rakazo
  • Superhuman to Inbox Zero
  • Airtable to AITable
  • Muse to OpenClaw
  • GitHub Copilot to Cline
  • Datadog to Netdata
  • Microsoft Teams to Rocket.Chat
  • Pinecone to Qdrant
  • Zapier to n8n
  • Devin AI to OpenHands
  • Firebase to Supabase
  • 1Password to KeePassXC
  • Confluence to Docmost
  • Contentful to Strapi
  • Adobe Premiere Pro to Shotcut
  • ChatGPT to AnythingLLM
  • LangSmith to Langfuse