ai-openshell/openshell

OpenShell is the safe, private runtime for autonomous AI agents.

What it solves

Autonomous AI agents become far more useful when they can read files, install packages, call APIs, and use credentials. But giving them unrestricted access to your data, secrets, or network is dangerous. OpenShell solves this by letting you declare exactly what each agent can touch in a policy, then enforcing that policy at the kernel level — so agents get the power they need without the risk.

How it works

OpenShell governs agents with two complementary mechanisms:

  • 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. Every network connection passes through a policy check before leaving the sandbox. Agents never see real credentials; OpenShell injects them only into requests bound for approved endpoints.
  • Formally verified policy changes. Before a policy change takes effect, OpenShell uses formal verification to flag risky new access it would grant — such as reaching a new host with credentials or calling a new API method. These changes are held for human review, preventing accidental privilege escalation.

Who it's for

OpenShell is designed for developers and teams running fleets of autonomous AI agents in production — especially when those agents handle sensitive data, access external services, or operate under compliance requirements. It suits anyone who needs to give agents broad capabilities while maintaining strict, auditable control over what they can actually do.

Highlights

  • Kernel‑level isolation: each agent runs in a sandbox with mandatory file, syscall, and network restrictions
  • Formal verification of policy changes catches risky access before it's applied
  • Credential safety: agents never see real secrets; credentials are only added to approved endpoints
  • Multi‑platform support: Linux, macOS on Apple Silicon, Windows with WSL2 (experimental), and Kubernetes via Helm
  • SDKs for Python, TypeScript, Go, and Rust to connect applications to the gateway
  • Agent skills that teach coding agents how to use OpenShell directly
  • Anonymous telemetry with an opt‑out flag; no sensitive data is collected

Related

  • Project
  • Project
  • Project
  • Project