logoalt Hacker News

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

225 points • by niemandhier • today at 5:44 PM • 120 comments • view on HN

Comments

smallnix • today at 9:23 PM

> 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.

To me this obfuscates an oxymoron: the more access you give the agent the more capable it becomes. You can't have you cake and eat it, this tool allows to strike a balance I guess. But the blurp reads like it can do it all, but now secure. That can't be true.

fennecbutt • today at 9:40 PM

I've been using iron proxy recently for a project I just started, it does network restrictions by domain etc with plenty of options, credential swapping and more.

I have no affiliation with it, but it solved most of what I need in one go when I was stressing out about it.

Only real problem remaining if you truly want to be able to trust agents is how to prevent data (in my case codebases the agent works on) exfiltration a la HF incident.

We can restrict network to trusted domains, but there's always a chance an agent could be extra slippery especially if prompt injected and doing something like pushing data out a few characters at a time.

In my case I'm also giving it gh access and having to deeply check things like: can it manage to fork public repos and embarrass us by submitting prs, could it open issues, etc.

But that's kind of solved by proxying the heck out of gh rather than giving it direct (or wrapping it or whatever) for additional controls that gh themselves don't provide.

I'm still musing over the "it could send data to an allowed domain in a way we don't expect that exfiltrates something"...

mfro • today at 6:25 PM

If you haven’t already been running your agents in containers, you’re crazy. That said, this looks like a great way to manage those containers.

➕ show 2 replies
crypt1d • today at 7:59 PM

I tried to vibecode something similar last weekend. Got tripped up by Claude's safety classifier. It wouldn't let me build any features that track/audit process executions , not through custom kernel hooks nor even using off the shelf software for it.

➕ show 7 replies
razuba • today at 9:45 PM

We've been using OpenShell for a while - now enabling ourselves and other teams do this in a batteries-included kinda way. I've been working on a layer above it that also manages team policies, safe git usage (in case you don't want your agent to always have the same access as your user account), and SCA/SAST built in. Curious to see how others are dealing with these issues. The agent traces I've seen are wild and goal seeking without a boundary is real.

overflowy • today at 6:11 PM

>OpenShell collects anonymous telemetry, limited to operational categories and counts, to help improve the project.

>To disable it, set OPENSHELL_TELEMETRY_ENABLED=false on the gateway, or server.telemetryEnabled=false for Helm installs.

niemandhier • today at 5:44 PM

Just came back from GTC Europe and a significant part of the demos used that.

I had never heard about it before.

dangoodmanUT • today at 6:21 PM

Taking default telemetry is insane.

That aside, the level of control is cool, almost too pedantic. It likely is only particularly useful for very nuanced enterprise requirements (probably what it's targeting). Most companies can be much more coarse with their permissions, and I think the agentic industry is moving away from k8s as a deployment platform.

➕ show 1 reply
ivanjermakov • today at 7:01 PM

Agent runtime - actually a good name for what is called today coding agent or agent harness.

agentdev001 • today at 6:17 PM

Nvidia Openshell is absolutely awesome, great bundle of features in one spot. Im happy to see Nvidia seems to have accelerated on support here, I was kinda worried that as competing projects have popped up in the last 6mo that openshell would get google'd

thehours • today at 7:05 PM

In this vein, Anthropic's sandbox-runtime [0] has struck a good balance between security and convenience. Simple config, filesystem and network restrictions, and credential masking make me comfortable running Pi in YOLO mode.

Though I'm often running into frustrating (albeit intentional) sandbox restrictions with common workflows e.g. xcode/swift and Docker access.

Would love suggestions for how to give agents access to those kinds of tooling inside the sandbox, either with srt or an alternative (with similar convenience characteristics).

[0] https://github.com/anthropics/sandbox-runtime

➕ show 2 replies
nasretdinov • today at 6:21 PM

It's funny that it takes checks notes a video game card manufacturer to make a good sandbox for AI agents and not the AI companies themselves...

➕ show 4 replies
simlevesque • today at 6:22 PM

I asked last week if anyone had any info on agent security/hardening, this seems very interesting !

jrm4 • today at 7:34 PM

Is it fair to immediately get the ick from the name and the description (OpenShell is the safe, private runtime for autonomous AI agents) without knowing anything about what it does?

"Open" and "Shell" and just calling something private and safe out the box genuinely makes me think it's likely to fail at all of those claims.

➕ show 1 reply
hkt • today at 6:58 PM

I prefer to read it this way: Nvidia Opens Hell

Unhelpful, I know

➕ show 1 reply
dingaling911 • today at 8:00 PM

Why not just use containers...

➕ show 1 reply
spider-mario • today at 6:53 PM

Looks neat. I’ll give Claude root access so it can set it up.

➕ show 4 replies
vermaden • today at 8:33 PM

Open and Nvidia in one sentence is a nice oxymoron.

esafak • today at 6:49 PM

Does anyone know how it compares to all the other sandboxes? Any distinguishing features? My expectation is that it will be poorly maintained; nvidia is not a software company.

19219357 • today at 8:29 PM

This sandbox is finally secure! I know it, I have followed many!

opengrass • today at 6:33 PM

NOOOOOOOO not AI in the heckin start menu!!!1!

b2y • today at 8:31 PM

[flagged]

josvann • today at 8:17 PM

[flagged]

byoungyoung • today at 8:43 PM

[dead]

iluvcommunism • today at 7:36 PM

[dead]

150g2 • today at 6:46 PM

[dead]

moooff • today at 6:40 PM

right now i am experimenting on an agent in a browser as a single.html file running a virtual filesystem and using python in WASM to do the heavy lifting. its really useful and funny to watch how it works.

it is quite useful and solves / addresses quite a lot of privacy and security issues but it is more limited of course. i really like the results if you want you can try it out with an inference endpoint you want its live/downloadable at

https://moooff.github.io/HermitUI/hermit-agent/dist/hermit-a...

iam always open to discussion ad feedback of course

LostBeard • today at 8:43 PM

[flagged]

flohofwoe • today at 7:33 PM

From the top of AGENTS.md:

> We design systems and use agents to implement them — this is not vibe coding.

Lol, what is even the point of such a statement, and who are they to define what vibe codig is or isn't :D

➕ show 1 reply
sscaryterry • today at 6:47 PM

> OpenShell collects anonymous telemetry

Spyware

➕ show 1 reply
smashed • today at 7:30 PM

Well, I guess its time to shamelessly plug my agent sandbox, egzo.ai [1]

Looking at the complexity of OpenShell and the simplicity of just building on top of docker, in a whitelist only mode.. I don't quite get the use-case of OpenShell. May be for large orgs where there is so much legacy and difficulty in organizing access to tools, OpenShell can simply re-use whatever you already have access to on your corporate account.

I chose to build straight on top of docker and agents are simply fully sandboxed by default. All data and network access must be granted in a simple project file, docker-compose style.

The web-ui connects to the docker socket and lets you spawn agents, and connect terminals. I'm having lots of fun with it and it allows me to cleanly organize and isolate my projects.

End-goal is to monitor for the Lethal Trifecta [2], ensuring all individual agents are properly isolated. Not quite there yet.

1: https://github.com/egzo-ai/egzo 2: https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/