GitHub - cdr-chakotay/sbx-mistral: sbx-mistral is a Docker sandbox for running Mistral Vibe CLI in full isolation. It launches in YOLO mode (auto-approve) by default, letting you run freely without risking your host system. You can switch to confirmation-based modes using Shift+Tab for more controlled execution. · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
cdr-chakotay
sbx-mistral
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>1 Commit<br>1 Commit
.gitignore
.gitignore
LICENSE
LICENSE
README.md
README.md
spec.yaml
spec.yaml
View all files
Repository files navigation
Docker SBX Mistral Vibe CLI Sandbox (Kit)
sbx-mistral is a Docker sandbox for running Mistral Vibe CLI in full isolation. It launches in YOLO mode (auto-approve) by default, letting you run freely without risking your host system. You can switch to confirmation-based modes using Shift+Tab for more controlled execution.
Before You Start
Setup Docker SBX
Install Docker Sandboxes CLI (sbx):
macOS: brew install docker/tap/sbx
Windows: winget install Docker.sbx
See Docker Sandboxes for more
Note: Docker Desktop is not required to use sandboxes.
Register Mistral Vibe API Token
Go to Mistral AI Console and sign in
Find the API Keys section in your account
Create a new API key and copy it
Store it in your system's keychain by running the command below and typing in the token, when being asked for. This has the benefit of your container never seeing the API Token. (Token is inserted through a proxy running on your machine.)<br>sbx secret set -g mistral
Local Mode
Assumed, you just downloaded the kit, and it is placed under ~/Downloads/sbx-mistral.<br>It does not matter where you put it, but for the examples we are using the Download folder path.
You can run a sandbox from any directory on your computer.<br>By default, this will scope the sandbox to your current working directory.
Say we want to edit the project project_awesome located under ~/Code/project_awesome.
cd ~/code/project_awesome # Change Directory to your project folder
# Use the full path to start the `vibe` agent.<br>sbx run --kit ~/Downloads/sbx-mistral vibe
You can give it a custom name:
sbx run --kit ~/Downloads/sbx-mistral vibe --name myVibeSandbox
You can scope it to a certain directory other than your current working directory:
sbx run --kit ~/Downloads/sbx-mistral vibe --name myVibeSandbox ~/other/dir/scope
If working on a git project, you can use the clone mode to prevent it being able to alter your main project.<br>However, this is optional !<br>After altering your code, you can fetch it from the sandbox like a git remote.
sbx run --kit ~/Downloads/sbx-mistral vibe --name myVibeSandbox --clone ~/other/dir/scope
Remote Mode
You can use this kit from GitHub without downloading it locally.<br>In general, it works identical to the local approach, but you are referencing a GitHub URL.
# Run from GitHub repository (replace with your actual GitHub URL)<br>sbx run --kit git+https://github.com/cdr-chakotay/sbx-mistral.git vibe ~/directory/you/want
Troubleshooting
No API key?<br>Make sure you set your API-Key as showed in the setup instructions.
Network issues?<br>The sandbox can connect to:
Mistral AI servers
GitHub
Python package index
Investigate what is failing:
sbx policy log
Need more domains? Add a network policy:
sbx policy allow network --sandbox myVibeSandbox "example.com"
Or allow all domains (dangerous):
sbx policy allow network --sandbox myVibeSandbox "*"
Clean up
Remove a sandbox by name:
sbx remove myVibeSandbox
List all sandboxes:
sbx list
Additional Resources
Blog Entry by Andrew Lock - Learn about SBX
Mistral Vibe CLI - Vibe CLI documentation
Mistral AI Console - Get your API key
Docker Sandbox Docs - Docker SBX Docs
Docker Sandbox Quickstart Guide - Quickstart guide by Docker
Disclaimer
This is a best-effort approach and sandboxing may not be fully effective. Users are required to assess the software's risks themselves.<br>Note: The...