Model vs. Harness: Where AI Agent Controls Belong
A comparison of what AI models should learn versus what agent infrastructure must enforce. See how reasoning, permissions, isolation, budgets, and observability split across the boundary.
Loading…
Topic
23 posts about Sandboxing. Every summary links to the original.
See the idea
A comparison of what AI models should learn versus what agent infrastructure must enforce. See how reasoning, permissions, isolation, budgets, and observability split across the boundary.
AI safety is a budget: prevention, verification, and containment each buy different protection at a different cost. This map shows what each control costs and when it pays off.
A four-stage flow showing how a coding agent moves from a task to a reviewed change by grounding on verified skills, live system state, and code-first config before it acts.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Cursor describes cloud agents running in isolated virtual machines with full development environments, letting them use and test the software they create rather than stopping at code generation. Available through the web, mobile, desktop, Slack, and GitHub, the agents onboard onto codebases, produce merge-ready pull requests, and attach videos, screenshots, and logs as validation artifacts. Each agent receives an isolated VM for parallel work and can interact directly with browsers, desktop applications, and other tools; users can control its remote desktop and edit without checking out the branch locally. Examples include implementing and verifying Marketplace source links, reproducing a clipboard-exfiltration vulnerability, testing lint-label changes in Cursor, and walking through cursor.com/docs. Cursor reports that more than 30% of its merged PRs are created by autonomous cloud-sandbox agents, while its next goals include coordinating agents, learning from past runs, and eventually managing production changes end to end.
Auto-approved terminal commands make coding agents more capable but increase the risk of destructive changes and secret leakage, while repeated approval prompts create approval fatigue. Over three months, the team rolled out a uniform sandbox API across macOS, Linux, and Windows, allowing agents to run freely inside controlled environments and request approval mainly for internet access. macOS uses dynamically generated Seatbelt profiles; Linux combines Landlock, seccomp, and overlay filesystems to enforce workspace and ignored-file restrictions; Windows runs the Linux sandbox through WSL2. Changes to tool descriptions and result rendering help agents recognize constraints and escalate instead of retrying failed commands. Production data reports that sandboxed agents stop 40% less often, and the sandbox now handles a third of requests on supported platforms, although native Windows isolation remains under development.
Workload isolation makes it harder for a vulnerability in one service to compromise the rest of a platform, and becomes especially important when hosting other people’s code. The post surveys isolation mechanisms from chroot and privilege separation through namespaced containers, mandatory access control, seccomp-bpf, capabilities, and language runtimes, before considering virtualized approaches. It emphasizes that network exposure is often the most consequential attack surface, while chroot alone leaves access to ptrace, procfs, device nodes, and networking. Firecracker is presented as the selected VMM: a small Rust implementation that limits itself with seccomp-bpf and runs under an external jailer providing chroot, namespaces, and dropped privileges. The closing menu includes nsjail, unprivileged Docker with tighter filtering, gVisor, and Firecracker or Kata; absent hostile code, the author would tune nsjail for return on investment.
The best engineering reads, once a week.