Updated 21 Nov 2026: November 13 background tasks, expanded supported harnesses and October 8 idle-sleep cutoff materially supersede August beta coverage; previous October proposal was rejected, not duplicated.

Key details

  1. November 13, 2026: background Cloud Agent tasks via CLI, MCP and API with polling, cancellation, webhooks and follow-ups.
  2. Current documented harnesses include Claude Code, Codex, Grok CLI, Railway Agent and OpenCode 2.
  3. A fresh task can create a billed VM; task or conversation-key reuse can preserve context.
  4. Agents created since October 8 can auto-sleep after five qualifying idle minutes; older agents do not.
  5. Sleep stops processes and compute billing while retaining disk state.
  6. Public-domain requests can wake an automatically sleeping agent and restart billing.
  7. Detached shell commands do not by themselves prevent sleep; --keep-awake has no effect.
  8. Sessions on one VM share a disk and should isolate overlapping edits.

What builders should take away

  1. Pass an existing task or conversation key when continuity matters; do not assume two new task submissions share context.
  2. Review generated code and pull requests before deployment, even when task execution finishes successfully.
  3. Use non-production environments and narrowly scoped credentials for autonomous task execution.
  4. Check VM creation date and actual idle behaviour rather than assuming every agent auto-sleeps.
  5. Avoid exposing public agent domains unnecessarily because requests can wake sleeping compute.
  6. Use separate Git worktrees or directories for concurrent sessions sharing a VM.

What changed

Railway's November 13, 2026 changelog introduced Cloud Agent tasks dispatched through the CLI, MCP or public API, with background results, status, cancellation, follow-ups and webhook updates. Current Cloud Agents documentation now lists Claude Code, Codex, Grok CLI, Railway Agent and OpenCode 2. The September 25 release added OpenCode support. Agents created on or after October 8 can sleep automatically after five minutes of qualifying inactivity; older agents do not automatically sleep. The original persistent, project-environment-scoped VM model remains.

Why it matters

Cloud Agents have moved beyond interactive remote terminals into programmable asynchronous coding workers. Scripts and external tools can submit work without maintaining an SSH connection, but creating a new VM incurs compute costs and resuming a prior conversation requires the task or conversation key. Persistent credentials, disk state and proximity to deployment environments remain security boundaries; idle-sleep rules and public-domain wake-ups make cost controls operational rather than automatic guarantees.

Background tasks are now an integration surface

Railway's November 13 changelog documents tasks submitted via CLI, MCP or API. They run in the background and retain results; callers can poll status, cancel, receive webhook updates and continue earlier work. A task without an agent or conversation key can create a fresh billed VM, while a prior task or conversation key preserves context. This is a task execution interface, not evidence that coding changes are safe to deploy without review.

The supported harness and client set has expanded

Railway's current Cloud Agents documentation lists Claude Code, Codex, Grok CLI, Railway Agent and OpenCode 2, with desktop connections for Claude, Codex and OpenCode. OpenCode was added in September. Agent VMs remain persistent project-environment-scoped Linux machines rather than a Railway-specific foundation model; provider credentials and usage are separate from Railway VM compute billing.

Idle sleep is conditional and differs by VM age

Agents created since October 8 automatically sleep after five minutes with no SSH client, low network activity and no active coding agent. Older agents do not automatically sleep. Sleep stops processes and compute billing but retains disk state. A detached shell command alone does not prevent sleep; traffic to a public agent domain can wake an automatically sleeping machine and restart compute billing. The --keep-awake flag is now documented as having no effect.

Persistence remains a security and collaboration boundary

Multiple sessions share one VM disk, so concurrent edits need separate directories or Git worktrees. Project variables, credentials and network access must be scoped deliberately. New asynchronous task dispatch increases the importance of approval gates, audit trails, cancellation and human review of generated pull requests before deployment.

What to watch next

  • Changes to task API stability, limits and webhook delivery guarantees.
  • Additional access controls for task submission, credentials and network scope.
  • Independent reliability and cost comparisons for asynchronous Cloud Agent tasks.
  • Further changes to automatic sleep, VM creation limits and plan pricing.

Still unclear

  • No independent production-scale task reliability benchmark was found; capabilities are documented by Railway.
  • The current documentation does not establish that task completion implies code quality or safe deployment.
  • Compute and provider-model usage are separately billed and depend on configuration.

Sources

Direct reading behind this dossier.

6 sources
Changelog #0302: Cloud Agents Beta
Railway official changelog

Primary announcement for the beta, bring-your-own-harness direction and development-to-production positioning.

Cloud agents
Railway Docs official documentation

Primary source for current supported agents, persistence, credential delivery, lifecycle, billing behavior and environment integration.

Changelog #0316: Cloud Agent tasks
Railway official changelog

Primary dated source for asynchronous task dispatch, results, follow-ups, webhooks and CLI changes.

Cloud Agent tasks
Railway Docs official documentation

Current task reuse, conversation key and billing semantics.

Changelog #0309
Railway official changelog

OpenCode support milestone.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment