Re:Ask HN: How do coding agent labs manage agent state in cl...
by loujaybee on Friday October 03, 2025 @04:28AM
(#45460460)
Disclaimer: I work for Ona.
I can't speak for other providers, but the way we handle state is by persisting to mounted volumes that are re-mounted on restart. I'd argue that there are a few different types of sandboxes, as there are sandboxes designed for pure code execution, such as in an LLM chat, and there are more longer-lived dev environments more like a standard development environment, etc (we are the latter). If it helps, we did a write up last year of our experiences with trying to build on top of ephemeral type architectures.
I can't speak for other providers, but the way we handle state is by persisting to mounted volumes that are re-mounted on restart. I'd argue that there are a few different types of sandboxes, as there are sandboxes designed for pure code execution, such as in an LLM chat, and there are more longer-lived dev environments more like a standard development environment, etc (we are the latter). If it helps, we did a write up last year of our experiences with trying to build on top of ephemeral type architectures.
https://ona.com/stories/we-are-leaving-kubernetes