How do you give an AI agent access to enterprise files while keeping control over what it can do with them?
I paired Box Mount with NVIDIA OpenShell to explore that question. Box Mount makes a Box folder available as a regular filesystem inside the runtime. OpenShell controls which programs can reach which endpoints, and also lets you update those rules while the runtime is still running.
I’ve already created the OpenShell runtime, configured the Box credential provider and network policies, uploaded Box Mount, and mounted a Box folder with three fictional vendor contracts. Here’s what I run during the demo.

The Box folder mounted into the OpenShell runtime, with three contracts ready for review
The agent sees files, not the Box credential
I start by checking the Box access token environment variable from inside the runtime:
openshell sandbox exec -n contract-review --no-login-shell -- \
/bin/sh -c 'echo $BOX_ACCESS_TOKEN'The output is a placeholder:
openshell:resolve:env:v14070491726522013480_BOX_ACCESS_TOKENOpenShell holds the real credential and injects it into approved requests. The runtime gets the access it needs through Box Mount without exposing the actual token to the agent.
Then I check that the mount is running and list the contracts:
openshell sandbox exec -n contract-review --no-login-shell -- \
/sandbox/box-mount status
openshell sandbox exec -n contract-review --no-login-shell -- \
ls /sandbox/box/contracts/The mount reports status=running, and the folder contains:
acme-vendor-agreement.md
globex-nda.md
initech-services-contract.mdThat familiar filesystem interface is useful for developers because an agent or script can work with files using standard operations. Box Mount handles the connection and sync with Box behind that path.
The work shows up where the team works
I run a simple review script against the contracts:
openshell sandbox exec -n contract-review --no-login-shell -- \
/bin/sh /sandbox/review_contracts.shIt flags an auto-renewal clause and liability cap in the Acme agreement, an indefinite term and non-solicitation clause in the Globex NDA, and no SLA at signing plus vague data handling terms in the Initech contract.
I sync the report back to Box:
openshell sandbox exec -n contract-review --no-login-shell -- \
/sandbox/box-mount sync onceThe report appears in the Reviewed/ folder. The review logic is intentionally simple; the point here is that the script can work with a local-looking folder while the result ends up back in the shared Box workspace.
Then I tighten one operation
Two-way sync also means a file deletion in the mounted folder can be reflected in Box. I confirm that first with a disposable test file:
openshell sandbox exec -n contract-review --no-login-shell -- \
rm /sandbox/box/contracts/delete-me-test.txt
openshell sandbox exec -n contract-review --no-login-shell -- \
/sandbox/box-mount sync onceThe file disappears from Box. That’s expected behavior, but it shows why an operator may want different rules for different operations.
I add a policy for Box Mount that blocks file deletion requests:
openshell policy update contract-review --rule-name box-delete-guard \
--binary /sandbox/box-mount \
--add-endpoint api.box.com:443:read-only:rest:enforce --wait
openshell policy update contract-review --rule-name box-delete-guard \
--binary /sandbox/box-mount \
--add-deny 'api.box.com:443:DELETE:/2.0/files/*' --waitOpenShell reports policy versions 5 and 6 loaded and active. The runtime keeps running; I don’t restart it.
To test the rule, I create another disposable file, sync it to Box, delete the local copy, and try to sync again:
openshell sandbox exec -n contract-review --no-login-shell -- \
/bin/sh -c \
'echo "Another disposable test file." > /sandbox/box/contracts/delete-me-test-2.txt'
openshell sandbox exec -n contract-review --no-login-shell -- \
/sandbox/box-mount sync once
openshell sandbox exec -n contract-review --no-login-shell -- \
rm /sandbox/box/contracts/delete-me-test-2.txt
openshell sandbox exec -n contract-review --no-login-shell -- \
/sandbox/box-mount sync onceThe second sync reports:
Status: 403
Code: policy_denied
Method: DELETEThe local copy is gone, but it remains in Box. OpenShell blocked the API request that would have propagated the deletion.
The rule applies to the program, too
Finally, I try connecting to the Box API from Bash:
openshell sandbox exec -n contract-review --no-login-shell -- \
/bin/bash -c 'echo "test" > /dev/tcp/api.box.com/443'Bash gets Permission denied. Box Mount has the approved access; Bash doesn’t.
What I like about this setup is that Box access and runtime policy don’t have to become custom logic inside every agent workflow. Box Mount gives the agent a workspace; OpenShell lets the operator control how the program using it can reach Box. That leaves developers more room to focus on the work they want the agent to do—and a way to refine its boundaries as the application grows.
Discover more
- Docs: Box Mount
- GitHub: Nvidia-OpenShell-BoxWorks-workshop

