Urgent.News

What's breaking now, across hundreds of outlets.

AI

OpenShell – A safe, private runtime for fleets of autonomous AI agents

Article URL: https://github.com/NVIDIA/OpenShell Comments URL: https://news.ycombinator.com/item?id=50198675 Points: 321 # Comments: 166

OpenShell is a secure, private runtime environment designed for fleets of autonomous AI agents. These agents require the ability to read files, install packages, call APIs, and utilize credentials. OpenShell provides this functionality while preventing agents from having unrestricted access to your data, secrets, or network. By defining a policy for each agent, OpenShell ensures they can only access specified resources.

OpenShell enforces policies through two methods: real-time kernel instrumentation to monitor file access, system calls, and network connections, and formal verification to review potential policy changes. This combination provides a robust security framework. The runtime supports Linux, macOS on Apple Silicon, and Windows with WSL 2 (though experimental), and requires Docker, Podman, or host virtualization. The installation process sets up a local gateway and a minimal Ubuntu sandbox image.

To operate a real agent, follow the "Run Your First Agent" guide, which demonstrates running OpenCode against a free OpenRouter model and approving new access as needed. The public OpenShell skills facilitate this process, enabling agents to interact with the OpenShell CLI, create sandbox policies, and debug gateways and inference routing. These skills are located in the skills/ directory and require no OpenShell source checkout.

SDKs are available for applications to connect with OpenShell gateways, but they do not install the CLI. It is recommended to use the same OpenShell release for both the SDK and the gateway. OpenShell is developed with an agent-first approach, utilizing agent-driven workflows. Contributions follow specific guidelines outlined in CONTRIBUTING.md, and coding conventions are detailed in AGENTS.md.

OpenShell collects anonymized telemetry to enhance the project, focusing on operational categories and counts. Sensitive data like sandbox names, hostnames, file paths, prompts, credentials, provider or model names, and user content are not collected. Telemetry can be disabled by setting the OPENSHELL_TELEMETRY_ENABLED environment variable or configuring server.telemetryEnabled for Helm installations. Users can also compile telemetry out completely.

The software accesses external materials, which are governed by separate terms, conditions, and licenses. Users are responsible for reviewing these agreements and ensuring the security, integrity, and suitability of the retrieved materials for their specific use case. OpenShell is provided "AS IS," without any warranty, and the author assumes no liability for any losses, damages, or legal consequences arising from its use. The software is licensed under the Apache License 2.0.

Rewritten by urgent.news; may contain errors — check the original.

Source: github.com

Read the original at github.com →

Report a problem with this story

More in AI

More from Thursday 22 October →