Skip to content

Add sandbox command for running AI agents in bubblewrap - #54

Merged
peterjaap merged 1 commit into
mainfrom
sandbox-mode
Apr 2, 2026
Merged

peterjaap merged 1 commit into
mainfrom
sandbox-mode

Conversation

@peterjaap

Copy link
Copy Markdown
Collaborator

Launches AI coding agents (claude, codex) inside a bwrap sandbox that restricts filesystem access to the project directory and tool config dirs. Supports configurable tool profiles, extra bind mounts, and dry-run mode. Unknown flags pass through to the tool so e.g. magebox sandbox claude --resume works.

Launches AI coding agents (claude, codex) inside a bwrap sandbox that
restricts filesystem access to the project directory and tool config dirs.
Supports configurable tool profiles, extra bind mounts, and dry-run mode.
Unknown flags pass through to the tool so e.g. `magebox sandbox claude --resume` works.
@Aquive

Aquive commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

This is nice to have!

@jakwinkler

Copy link
Copy Markdown
Contributor

this is cool, lets merge it :-)

@peterjaap
peterjaap merged commit d27a982 into main Apr 2, 2026
10 checks passed
@Aquive

Aquive commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

I haven't looked into how this works yet. But would it be possible to automatically start Claude this way (with normal Claude command) somehow in a magebox project? Maybe configurable for the people who do not want that? Secure by default, unsecure when you want?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants