{"slug": "before-you-pick-a-hosted-agent-runtime-check-what-happens-at-idle", "title": "Before you pick a hosted agent runtime, check what happens at idle", "summary": "A Gobare engineer compared the sandbox documentation of three hosted agent runtimes — Perplexity, OpenAI's hosted Agents API, and Gobare — finding they diverge on what happens when an agent goes idle. Perplexity keeps a container alive only within a single response at $0.03 per session, OpenAI deletes hosted sandboxes after an hour of inactivity while preserving files written to /workspace/outputs as downloadable artifacts, and Gobare pauses workspaces after five idle minutes and snapshots files best-effort, excluding git history, installed dependencies and running processes. \"After the agent stops typing, does its machine still exist?\" the author asks, noting that picking a runtime without checking this leads to failures an hour into a job.", "body_md": "*Disclosure: I work on Gobare, one of the three runtimes below. To keep that from mattering, I quote the other two instead of describing them, and there is a section on where each of us loses, Gobare included. All quotes are from public docs, checked 27 September 2026. Misha.*\n\nI read the sandbox docs of three hosted agent runtimes side by side, ours included. In a 30-second demo they look the same. The agent writes code, runs it, shows a result.\n\nThe difference is one question the demo never asks:\n\n**After the agent stops typing, does its machine still exist?**\n\nPerplexity, OpenAI and Gobare give three different answers. None of them is wrong. They are building different things. But if you pick one without checking, you find out an hour into a job, at the step where the work was supposed to land.\n\nThis post is the check I wish I had done first.\n\nOpenAI ships two things with similar names. They are not layers of each other.\n\nSo \"can I use Claude with OpenAI's agents?\" has two answers. In the SDK, yes. In the hosted Agents API, the one that gives you a sandbox, non-OpenAI models are on a second-class path.\n\nEverything below is about hosted runtimes: the ones that give you a machine.\n\n**Perplexity**, on their [sandbox tool](https://docs.perplexity.ai/docs/agent-api/tools/sandbox):\n\n\"Multiple executions in a single response share the same container: files written and packages installed by an earlier step are still there for a later one.\"\n\nBetween responses, nothing is promised. That is the right design for an answer engine that computes. If you want an answer, paying to keep a machine alive afterwards is waste.\n\n**OpenAI**, on [hosted sandboxes](https://developers.openai.com/api/docs/guides/agents-api/environments/openai-hosted):\n\n\"If activity and keep-alives stop for an hour, the sandbox can be deleted.\"\n\nFiles you write to `/workspace/outputs` become immutable artifacts that \"remain downloadable after the sandbox expires.\" The rest of the workspace does not survive. Clean contract: the sandbox is a place to do work, not to keep it.\n\n**Gobare**, on [limits](https://docs.gobare.dev/limits):\n\n\"A workspace is also paused after five minutes with nothing happening, and woken by the next thing you send.\"\n\nBefore the machine is reclaimed, the workspace files are snapshotted. It is best-effort. Git history, installed dependencies and running processes are not in the snapshot, and a workspace over 300MB is skipped.\n\nSide by side:\n\n|  | Perplexity | OpenAI hosted | Gobare | \n|---|---|---|---|\n| Machine lives for | One response | Until an hour with no activity or keep-alives | Paused after five idle minutes, woken by your next message | \n| What survives | Nothing promised between responses | Files in `/workspace/outputs` , as artifacts | Workspace files, best-effort snapshot | \n| What doesn't | The container | The rest of the workspace | Git history, installed deps, running processes; workspaces over 300MB | \n\nThese are not failures of a bad runtime. They are where a correct runtime, picked for the wrong shape of work, gives you a system you cannot finish.\n\nPerplexity publishes a price for the container itself, on their [pricing page](https://docs.perplexity.ai/getting-started/pricing):\n\n\"$0.03 per session (≤20-min billing window)\"\n\nThat is roughly $0.09 an hour for a managed container. It is the clearest public anchor I found for what hosted agent compute costs.\n\nIt also explains the product. Perplexity's money is in the search index. For them, the runtime does not need to be profitable, and that sets the floor for everyone else.\n\n`previous_response_id`.`/workspace/outputs` stays. Non-OpenAI models are second-class on the hosted path.`auto_stop_interval=0`, or the sandbox stops mid-agent.\nTake this list to whichever runtime you are evaluating. Every item comes from a place where these three differ.\n\n**Lifetime**\n\n**State**\n\n**Workload fit**\n\n**Control**\n\nNot \"which runtime is best.\" Ask:\n\nAfter my agent stops typing, do I still need the machine?\n\nIf no, a per-request container is the honest choice, and you shouldn't pay for more. Perplexity's model is the clean version of that.\n\nIf yes, you are choosing between owning the compute yourself and having someone manage its state for you. Both are defensible. Not knowing which one you picked is not.\n\nFull version with every source link: [gobare.dev/blog/agent-runtimes-disagree-on-what-a-session-is](https://gobare.dev/blog/agent-runtimes-disagree-on-what-a-session-is)\n\nIf you have run agents in production: which of these questions did you only learn to ask after something broke?", "url": "https://wpnews.pro/news/before-you-pick-a-hosted-agent-runtime-check-what-happens-at-idle", "canonical_source": "https://dev.to/mishabuildingai/before-you-pick-a-hosted-agent-runtime-check-what-happens-at-idle-4lj7", "published_at": "2026-09-27 14:05:52+00:00", "updated_at": "2026-09-27 14:30:57.712651+00:00", "lang": "en", "topics": ["ai-agents", "ai-infrastructure", "ai-tools", "developer-tools"], "entities": ["Gobare", "Perplexity", "OpenAI", "Agents API", "Claude"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/before-you-pick-a-hosted-agent-runtime-check-what-happens-at-idle", "markdown": "https://wpnews.pro/news/before-you-pick-a-hosted-agent-runtime-check-what-happens-at-idle.md", "text": "https://wpnews.pro/news/before-you-pick-a-hosted-agent-runtime-check-what-happens-at-idle.txt", "jsonld": "https://wpnews.pro/news/before-you-pick-a-hosted-agent-runtime-check-what-happens-at-idle.jsonld"}}