How are you all handling state for long-running agents? Stateless sandboxes are eating my evenings
Summary
A developer discusses challenges with state persistence in long-running coding agents using sandbox environments, detailing the costly resume overhead and seeking community solutions for persistent state handling without custom checkpointing layers.
Similar Articles
How are you actually using agent sandboxes like E2B or Daytona? Trying to work out if I need one
A developer discusses the tradeoffs of using agent sandboxes like E2B and Daytona for running code execution, asking the community about lifespan, state persistence, network isolation, and managed vs self-hosted solutions.
Secure Sandboxes for Agents (4 minute read)
Perplexity AI's SPACE provides secure ephemeral sandboxes for AI agents, ensuring credential isolation and encrypted storage for sensitive tasks.
@sidpalas: https://x.com/sidpalas/status/2066521471430574162
This post evaluates sandbox platforms for background agents, focusing on requirements like running real workloads, ingress, and cost. It outlines the Deputies sandbox provider interface and key considerations.
How We Built Secure, Scalable Agent Sandbox Infrastructure (8 minute read)
Browser Use describes two patterns for isolating AI agents that execute code: isolating the tool vs isolating the agent. They implemented the agent isolation pattern using Unikraft micro-VMs on AWS, achieving secure, scalable, and disposable sandboxes.
@_akhaliq: StateAct Program State, before Pixels, for Long-Horizon Computer-Use Agents paper: https://huggingface.co/papers/2607.2…
StateAct proposes a code-first, multi-agent system for long-horizon computer-use agents that operates directly on program state instead of screenshots, achieving higher success rates and lower costs on OSWorld2.0.