Agent software needs to handle being asleep, unlike always-on servers
Server software has long assumed a machine stays awake continuously, but agents spend most of their time waiting on models, tools, or human approval. Platforms such as DigitalOcean's Managed Agents bill CPU only while active and can pause and resume sessions in about 305 milliseconds, by the vendor's own figures. The author ran weeks of pause, resume and fork experiments on that platform and found that open network connections in copied sessions could hang silently until a timeout. He also found that copied processes kept identical random number sequences, with the kernel reseeding but the running program never informed. The piece argues that developers need to design code that can detect pauses and copies, since nothing currently tells a process it was asleep or duplicated.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in