users: Add guide for running sandboxed AI agents with OpenShell #10

Open
quinnb wants to merge 2 commits from quinnb/docs:users-openshell-guide into main
First-time contributor

Adds a user guide for running AI coding agents in OpenShell sandboxes on Fedora, as requested by Justin Wheeler.
Closes <ticket URL from step 1>.

The guide installs the openshell CLI from the release tarball and runs the gateway as a rootless Podman container, because OpenShell is not packaged in Fedora yet.
It does not use Copr.

Tested on Fedora 44 (Podman 5.8.9, SELinux enforcing, OpenShell 0.1.5, x86_64): the commands run as written, including stop, start, and cleanup.

Not tested:

  • Running an agent inside the sandbox (marked with a TODO in the source)
  • aarch64 and Silverblue
  • Persistence across reboots
  • Vale

The page builds locally with ./docsbuilder.sh -b.

Adds a user guide for running AI coding agents in OpenShell sandboxes on Fedora, as requested by Justin Wheeler. Closes <ticket URL from step 1>. The guide installs the `openshell` CLI from the release tarball and runs the gateway as a rootless Podman container, because OpenShell is not packaged in Fedora yet. It does not use Copr. Tested on Fedora 44 (Podman 5.8.9, SELinux enforcing, OpenShell 0.1.5, x86_64): the commands run as written, including stop, start, and cleanup. Not tested: * Running an agent inside the sandbox (marked with a TODO in the source) * aarch64 and Silverblue * Persistence across reboots * Vale The page builds locally with `./docsbuilder.sh -b`.
Add a user guide for installing the OpenShell CLI, running the gateway in rootless Podman on Fedora, and running an AI coding agent in a policy controlled sandbox.

Tested on Fedora 44 with Podman 5.8.9 and SELinux enforcing.

Requested by Justin Wheeler and written per his request.
jflory7 self-assigned this 2026-10-28 15:57:02 +00:00
Owner

Hey @quinnb, thanks for submitting this PR! I am super excited to have a doc for this 😎 I will commit some time today and/or tomorrow to review. I also pinged in #ai-ml:fedoraproject.org on Matrix to see if we can find anyone working with OpenShell on Fedora who could run through this guide or validate it too.

I, for one, will try and set this up as I review 😀

Hey @quinnb, thanks for submitting this PR! I am super excited to have a doc for this 😎 I will commit some time today and/or tomorrow to review. I also pinged in `#ai-ml:fedoraproject.org` on Matrix to see if we can find anyone working with OpenShell on Fedora who could run through this guide or validate it too. I, for one, will try and set this up as I review 😀
@ -1 +1,2 @@
* xref:index.adoc[User Guides]
* xref:run-sandboxed-agents-openshell.adoc[Run sandboxed AI agents with OpenShell]
Owner

To make this a nested sub-menu, it should be a sub-bullet, i.e.,

** xref:run-sandboxed-agents-openshell.adoc[Run sandboxed AI agents with OpenShell] 
To make this a nested sub-menu, it should be a sub-bullet, i.e., ```asciidoc ** xref:run-sandboxed-agents-openshell.adoc[Run sandboxed AI agents with OpenShell] ```
smilner left a comment

The content LGTM! I am providing some comments but they are all very minor and optional.

The content LGTM! I am providing some comments but they are all very minor and optional.
@ -0,0 +72,4 @@
[[install-cli]]
== Install the OpenShell CLI
Download the CLI from the https://github.com/NVIDIA/OpenShell/releases/latest[latest OpenShell release] on GitHub and verify its checksum.
First-time contributor

It may be worth noting the name or the naming convention of the binary here. If I didn't know better I may think it's the instructions on the page itself telling me to download and run their shell script, or I may think it's the sandbox, driver, prover, etc..

You may say it later in the next section(s) but for the checksum sha256sum $FILE

It may be worth noting the name or the naming convention of the binary here. If I didn't know better I may think it's the instructions on the page itself telling me to download and run their shell script, or I may think it's the sandbox, driver, prover, etc.. You may say it later in the next section(s) but for the checksum `sha256sum $FILE`
First-time contributor

You do denote this! Consider updating the wording to say "We will download" or something like that so it leads into the commands instead of explaining what to do and then showing them how to do it. Same could be applied later in the document as well.

You do denote this! Consider updating the wording to say "We will download" or something like that so it leads into the commands instead of explaining what to do and then showing them how to do it. Same could be applied later in the document as well.
@ -0,0 +138,4 @@
[[run-gateway]]
=== Run the gateway container
First-time contributor

This may be a good place to let the user know they may want to save the following as a shell script for future use.

This may be a good place to let the user know they may want to save the following as a shell script for future use.
@ -0,0 +157,4 @@
The options matter on Fedora:
`--userns=keep-id:uid=1000,gid=1000`::
First-time contributor

Big +1 for explaining these options!

Big +1 for explaining these options!
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u users-openshell-guide:quinnb-users-openshell-guide
git switch quinnb-users-openshell-guide

Merge

Merge the changes and update on Forgejo.
git switch main
git merge --no-ff quinnb-users-openshell-guide
git switch quinnb-users-openshell-guide
git rebase main
git switch main
git merge --ff-only quinnb-users-openshell-guide
git switch quinnb-users-openshell-guide
git rebase main
git switch main
git merge --no-ff quinnb-users-openshell-guide
git switch main
git merge --squash quinnb-users-openshell-guide
git switch main
git merge --ff-only quinnb-users-openshell-guide
git switch main
git merge quinnb-users-openshell-guide
git push origin main
Sign in to join this conversation.
No reviewers
ai-ml/Members
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ai-ml/docs!10
No description provided.