@kevinswiber Agreed, it depends on what you're defending against. For an agent's own mistakes on your own repo, a container suffices. A VM is justified once the agent runs code or follows instructions from untrusted sources.
@kevinswiber Split it into three swappable layers: the isolation boundary, the credentials the agent can see, and its network access. Take the first out of the box (e.g. Docker with gVisor).
@3ShibasDad Systems engineering, and verification is where it bites. Tests, machines and pipelines fail too, and an agent can't tell a broken check from broken code. The verifier needs as much engineering as the agent.
@stretchcloud Who votes: the people watching, or the agents? And what does the 30-second timer do when nobody’s watching? If it approves by default, I’d flip that: no answer should mean no.
@enunezq@shengzheyao Agree, and most of the interface already exists. Antigravity CLI ships an ACP server that Google says works in any ACP editor. What’s blocking it is policy: its FAQ names Claude Code as third-party software that breaks the terms with an Antigravity login.
@bebuu_ai Compatible API shape ≠ portable. The real test is what opaque state a harness passes between turns. If only the original provider can read it, “bring your own model” works until the first handoff. Worth checking before standardising on one.
I use process checks alongside Git state: cleanup requires the branch to be merged and the worktree clean, and skips it if a process’s working directory is inside it or its command line references the path. Recent writes aren’t the activity signal. These are point-in-time checks, so new activity between checking and deletion remains a gap.
@AsumaCodes Good point—I phrased that too broadly. Checking an action against permissions I’ve already set can absolutely be automated. What I keep with me is approving an expansion of those permissions. The agent can operate within its authority, but shouldn’t be able to grant itself more.
Building with multiple AI agents has expanded what I can take on independently, so I can see this enabling more small ships too. My guess is teams will do both: each person orchestrating agents while collaborating on direction, tradeoffs, and how the pieces fit together. Being able to produce more independently doesn’t remove the value of someone questioning what you’re building and why.
I’m seeing a version of this with coding agents: producing a fix is often much faster than proving it’s safe to ship. A fix can pass its own tests and still fail when combined with other changes or run under load. Faster discovery makes validation capacity and controlled rollouts more important.
Update: the nightly no longer gates changes. Full check: ~35 min. Typical wait to merge: 78 min, down from 270.
How: each change lands alone, no batches. It runs only the checks its files can affect, and passes carry over when nothing a check reads changed. Steady checks run on the bigger Linux box, timing-sensitive ones on a quiet one, and the Mac runs only what needs Apple’s tools.
Rejection rate hasn’t improved yet, but no diagnosed failure was a product bug. Most were the tests.
With coding agents, writing code is no longer the bottleneck. Proving it works is.
I work with multiple coding agents in parallel on software that ships to macOS, Linux, web, iPhone, Android, and a server. A change takes an agent minutes to write. Validating it takes three computers and roughly 60 minutes. The Mac remains the bottleneck because it's the only machine that can run the macOS and iOS checks. The other two run Fedora Linux.
I have tried several approaches:
- Let agents compile and test as they work. The Mac was once asked to do about twenty times what it can run at once.
- Defer testing until integration. The machines survive, but unverified changes pile up and failures surface after the original context is gone.
- Reuse warm build environments. Builds get faster, but shared caches and stale paths cause failures that have nothing to do with the change being tested.
- Use a gated merge queue. Integration is better controlled, but one bad push to main blocks every change behind it, including its own repair.
One nightly validation run lasted more than 16 hours and approved nothing. Each rerun exposed one more failure.
About twenty tests passed alone and failed under load. It was tempting to call them flaky. Every one I traced was a real defect in the product or the test.
What's left is getting independently written changes integrated, tested across platforms, and released with confidence - autonomously.
So far, every improvement has moved the cost somewhere else.
@grosscode That makes sense. I’ve been handling it a little differently: when a review is holding up a release, I ask the reviewer to focus on Sev1/Sev2 issues and defer minor findings. Using Sonnet for regular reviews and Opus for a weekly review sounds worth trying.
For large coding tasks, I’ve been trying to determine which approach is more cost-effective?
1. Use a cheaper model like Sonnet for the initial implementation, then have Opus (x high) /Fable (high) review, refine, and raise the quality bar.
2. Use a balanced model like Opus (High) to handle the entire implementation end-to-end.
Curious whether the multi-model approach actually saves money once you factor in review cycles, rework, and token overhead.
I’ll see if I can get out some benchmarks on this.
I agree. I chose Rust for my core apps because runtime performance mattered to me. That also steered me away from Python.
Rust’s build costs have been painful, though. Parallel builds have exhausted RAM and swap, and build artifacts consume a lot of SSD space.
Go’s promise of cheaper builds is appealing for daemons, but I haven’t evaluated it enough to compare firsthand. This experience has made me give build and test costs much more weight alongside runtime performance.
@grosscode I've been biased toward stronger models for reviews so far. How has your experience been with moving to Sonnet-class models for reviews?
Evaluating against previous commits sounds like a good way to compare them.
I've been thinking about getting a dedicated desktop/server too, probably with 128GB RAM and at least 2TB of SSD storage. Both my Mac and Fedora laptops start throttling under sustained builds and tests, and I regularly run into RAM and disk space limits.
Leveraging the cloud compute available through AI subscriptions is an interesting idea. I hadn't considered that before.
Mostly yes, and that's close to what I run: the Mac is a queue with a concurrency limit, it tests the exact merge candidate, and each result records commit + tool versions.
Two pieces I don't have yet.
Fast checks per change: when every agent tested as it worked, the Mac drowned, so I pulled checking back into the queue. Running everything that doesn't need the Mac on the Linux machines first is the right move, and I haven't done it yet. The macOS and iOS checks still have to wait for the Mac.
A repair slot: the queue does catch a push that got around it, marks main broken and blocks releases. But it still takes changes in arrival order, so the repair waited behind changes that couldn't pass.