Ask HN: How do coding agent labs manage agent state in cloud sandboxes?

Share This Post

As Simon Williamson said, an LLM agent is something that runs tools in a loop to achieve a goal. https://simonwillison.net/2025/Sep/18/agents/

I might be overthinking this, but:

For a coding agent like Devin, the output of a tool use is usually in the system environment like the terminal state.

When assigned a task, Devin would (probably) first pull the github repo onto a ephemeral firecracker-like container instance that is hardened and isolated. It would then connect to and call an LLM API service with context of (user query, terminal state, existing code) and execute tool-calls recommended by the LLM.

It’d continue doing so in a loop until it’s goal (user query) is reached.

Now, how are they storing effective ‘agent state’ to fight against container reliability concerns. I’ve always read that stateful API services are a bad idea.

In a way the sandbox service is also an API, but if user sessions are mapped 1:1 to sandboxes, how do you achieve statelessness in the compute layer without storing or caching entire system states somewhere?


Comments URL: https://news.ycombinator.com/item?id=45455520

Points: 1

# Comments: 0

Source: news.ycombinator.com

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Windows Securitym Hackers Feeds

US to open more public land for coal mining

Article URL: https://apnews.com/article/trump-coal-mining-power-climate-burgum-electricity-eebec80c6060f37890de8dc18a1732ec Comments URL: https://news.ycombinator.com/item?id=45456673 Points: 1 # Comments: 0 Source: apnews.com

Windows Securitym Hackers Feeds

Dead Simple NFS NixOS to macOS Client

Article URL: https://thotcontrol.bearblog.dev/dead-simple-nfs-nixos-to-macos-client/ Comments URL: https://news.ycombinator.com/item?id=45456666 Points: 1 # Comments: 0 Source: thotcontrol.bearblog.dev

Do You Want To Boost Your Business?

drop us a line and keep in touch

We are here to help

One of our technicians will be with you shortly.