YoloAI: A sandbox and diff/apply workflow your agent can't escape
External enforcement stops agents escaping sandboxes like Claude Code.
Permission fatigue is a real problem. Sandbox escape is a real problem. yoloAI solves it.
Eliminates permission fatigue by sandboxing agents, then diffing before apply.
Developers using Claude Code, Aider, Codex, or similar AI coding agents
Claude Code · Aider · OpenCode
yoloAI runs your AI coding agents (Claude Code, Codex, Gemini, Aider, OpenCode) inside disposable containers so that they can operate without permission prompts. Your files are never touched because the agent works on an isolated copy. When it's done, `yoloai diff` shows exactly what changed, and `yoloai apply` patches your real project.
Workflow:
yoloai new fix-bug ./my-project --prompt "fix the failing tests" # agent works freely inside the sandbox yoloai diff fix-bug # see what changed yoloai apply fix-bug # patch your real project (either workdir changes or new git commits) yoloai destroy fix-bug # toss the container
This isn't just some Docker wrapper script. yoloAI handles the full lifecycle: copying your project into the sandbox, setting up git baselines, injecting credentials, managing agent state across sessions, and giving you a clean diff/apply workflow to review changes before they land. Your originals are protected until you explicitly choose what to keep.Single Go binary. Works on Linux (Docker), macOS (Docker Desktop, Tart VMs, or native Seatbelt sandboxing). Profiles with user-supplied Dockerfiles for reproducible environments. Network isolation with domain allowlists. Five agents supported out of the box.
Early access: The core workflow is solid, rough edges remain. MIT licensed.
https://github.com/kstenerud/yoloai
I built this because I was tired of babysitting Claude Code through permission prompts. Now I can't live without it. Happy to answer questions about the design, the tradeoffs, or the sandboxing approach.
External enforcement stops agents escaping sandboxes like Claude Code.
60-second game exposing AI permission fatigue before you blindly approve everything.
O-cap security model beats the credential-bag approach every agent framework currently uses.
Returns exact filesystem diffs per command, solving the silent-failure problem in agent loops.
Virtualenv-style sandboxing with namespace isolation for runaway LLM agents.
Virtualenv for system isolation—your configs carry over but SSH keys stay protected.