name: openshell
description: Safe, sandboxed runtimes for autonomous AI agents
snapcraft: https://github.com/jslarraz/foo/snapcraft.yaml
upstream: https://github.com/jslarraz/foo
upstream-relation: contributor working with upstream to improve the snap
plugs:
podman:
request-type: manual-connection and auto-connection
reasoning: OpenShell auto-selects its compute driver based on what daemons it can reach, choosing either docker, podman, or vm. Other packaging formats (.deb, .rpm) support podman, so if the user prefers podman, they should be able to use it for the OpenShell snap as well.
kvm:
request-type: auto-connection
reasoning: kvm is required for the built-in VM compute driver to function, which allows the snap to work out of the box without relying on preinstalled Docker or Podman. We want to avoid requiring manual steps by the user to get this to work, so auto-connecting the kvm interface makes the OpenShell snap Just Work and provide secure MicroVM sandboxes by default.
The kvm interface is being added in a currently-open PR (feat(snap): ship the VM driver in the snap and use it by default by olivercalder · Pull Request #4627 · NVIDIA/OpenShell · GitHub), so is not yet in the upstream snapcraft.yaml. The VM driver is the built-in driver for OpenShell which doesn’t require any external prerequisites (like Docker or Podman), so auto-connecting the kvm interface ensures that the OpenShell snap works out-of-the-box without additional manual intervention required by the user.
The podman interface is similarly planned to be added in a PR, but since the podman base declaration (snapd/interfaces/builtin/podman.go at master · canonical/snapd · GitHub) has both deny-connection: true and deny-auto-connection: true, I don’t even want to open the PR yet because there’s no way to test it except manually downloading the snap and then installing with --dangerous, which is not how testing works for the OpenShell snap. So if we can add an assertion to allow (auto-)connection for the podman interface, we can test and land support for podman in the snap upstream.