Coding Agents in KVM: Practical Containment and User Control with Limited Resources
Yutaka Nagashima
Key points
From the paper's conclusion- We analyze these trade-offs and present KVM-Agent, an open-source implementation that automates most setup and provisioning steps.
Abstract
Coding agents often need broad authority for productive development work, but granting that authority can expose users' data and infrastructure. Off-the-shelf cloud workspaces can help contain agent activity, but reliance on provider-specific platforms can lead to vendor lock-in and reduced user control. Researchers and engineers must therefore balance agent autonomy, enforced containment, and user control within available financial, computational, and human resources. We analyze these trade-offs and present KVM-Agent, an open-source implementation that automates most setup and provisioning steps. It gives agents broad authority inside replaceable Ubuntu VMs while keeping host administration outside those VMs and supporting multiple coding-agent applications, model services, and remote job delegation. The approach retains familiar workflows and user choice at the cost of VM resources, maintenance, and residual risks from secrets accessible inside the VMs and permitted network access.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Airlock: Robust Sandboxing and Governance of Rogue AgentsarXiv · 2026
- Aegis OS: A Transactional Multi-Tenant Operating System Runtime for Eliminating Authorization Fatigue in Autonomous Coding AgentsarXiv · 2026
- Ring-0 by Default: Agents as Operating Systems (AaOS)arXiv · 2026
- Compositional Exploits in Autonomous Coding Agents: Attack Mechanics and Ephemeral DefensearXiv · 2026
- HerAgent: A Block-Level Checkpointing Harness for Coding-Agent Environment SetuparXiv · 2026
- WebAgents: Unbundling Agent Creation, Hosting, and Execution for an Agent-Native WebarXiv · 2026