Steer Your Coding Agents, Don't Babysit Them A developer built sandwright, an open-source orchestration tool that picks up GitHub issues labeled agent-ready, runs one coding agent per issue inside a sandbox, and merges the results that pass checks. The tool layers on Matt Pocock's Sandcastle, which isolates each agent in a git worktree using macOS Seatbelt or Linux Bubblewrap so it cannot reach the home folder, SSH keys, or other repos, plus a set of agent-skills encoding the developer's TDD and commit workflow. The developer argues that auto-accept and command allowlists are insufficient because approved commands like npm test run agent-editable scripts, and that sandboxing rather than in-agent rules is what makes unattended runs safe. In the evening, I label a few GitHub issues https://dev.tourl agent-ready across my personal projects. By morning, most of them are merged: written, tested and checked by coding agents that never asked me a thing. Getting there changed my job. I stopped approving what my agents do, and started steering them. I decide what gets built, and I review what comes back. The loop behind it is sandwright https://github.com/helderberto/sandwright , a tool I built to orchestrate agents across my projects. This post covers why auto-accept wasn't enough, how sandwright, Sandcastle and my agent-skills fit together, one night of work step by step, and how it scales to every project I have. With Claude Code in my terminal, I spent the day approving things. Run this command? Edit that file? Every few minutes the agent stopped and waited for me. The agent could work for hours. It kept waiting for me instead. With one terminal per project, I was a full-time doorman for several agents at once. What I wanted was a way to work on my projects that was both automated and safe. Every option I tried gave me one of the two. My first try was the middle ground. I auto-accepted file edits, and allowlisted the commands I trusted, such as npm test and git commit . It cut the prompts. It didn't end them. Any command outside the list still stopped and asked: a new script, a package install, a git subcommand I hadn't thought of. Those are the moments when the agent is doing real work. Left alone overnight, one prompt at 2am meant the run sat waiting until I woke up. The allowlist wasn't as safe as it looked, either. Approving npm test approves whatever the test script runs, and the agent can edit that script. Rules inside the agent are a promise, not a wall. A rule that denies git push can be sidestepped by a shell script that pushes. On my own machine, every option traded one for the other: | Approach | Runs alone? | Safe? | |---|---|---| | Approve every prompt | no | yes, while I watch | | Auto-accept and an allowlist | mostly, until a new ask | partly: allowed commands run edited scripts | | Skip all prompts on my machine | yes | no | | Skip all prompts in a sandbox | yes | yes, inside the walls | Skipping the prompts on my machine wasn't an option. An agent that can run anything can also read ~/.ssh , push to main , or touch every repo I have. The last row is the one I wanted. Instead of trusting the agent, trust the walls around it: let it run anything, somewhere it can't reach anything that matters. With that in place, I could steer: write down the work, walk away, and come back to finished branches. sandwright doesn't do this alone. It sits between two other pieces, and each one has a single job: | Layer | Its job | |---|---| | agent-skills https://github.com/helderberto/agent-skills | How to work: my workflow, written as skills the agent loads | | sandwright | What runs and when : picks tasks, runs them in parallel, merges | | Sandcastle https://github.com/mattpocock/sandcastle | Where it runs: a sandbox, a git worktree and a branch for each agent | Sandcastle https://github.com/mattpocock/sandcastle , by Matt Pocock, is the wall. It starts each agent inside Seatbelt on macOS or Bubblewrap on Linux. The agent can write only its own worktree, and it can't see my home folder, my SSH keys, or my other repos. agent-skills is the know-how. It's the same set of skills I use in my terminal, described in My AI Coding Workflow, v3 https://dev.to/posts/my-ai-coding-workflow-v3 : TDD, checks before commits, how to write a commit. sandwright is the part in the middle. It reads my backlog, hands each task to an agent inside Sandcastle, loads my skills into it, checks the result, and lands what passes. flowchart TB accTitle: How the three layers fit accDescr: I plan with agent-skills and write agent-ready issues. sandwright picks them and starts one agent per issue inside a Sandcastle sandbox, with my skills loaded. sandwright checks each branch. Work that passes is merged and comes back to me. Work that fails goes back to the agent. me "Me, with agent-skills: