Always on: your computer is asleep
When your computer is asleep or offline, texts and channel messages for the bot wait for it. Turn on Always on and pick a Fail over to computer (one of your cloud computers) and those messages go there instead. The cloud computer is started if it is stopped.- Each bot fails over on its own. Every always-on bot goes to the computer picked on its own card, and messages for bots that are not always on keep waiting for your computer. A channel connection (Telegram, WhatsApp, Teams, Discord) follows the bot that answers it by default.
- The switch happens only while your computer is offline. When it sends its next heartbeat (within a minute of waking), messages go back to it.
- Every switch is written to the bot’s thread as a “Moved to your cloud computer while your computer was offline” line, so you can see which computer answered.
- The cloud computer needs your model sign-ins to answer. Vendor accounts you already host there keep working.
- Your main bot is always on by default when your account has a cloud computer: when a bot becomes your main bot, and once for your existing main bot when the cloud computer is ready. If you ever turn Always on off (or pick a different computer) on its card, your choice stays and is never switched back.
- No cloud computer yet? The picker says so, and messages wait for your computer as before (the cloud still tells you when texts are waiting).
Fallback brain: a vendor session needs a check
A connected bot (Claude, ChatGPT, Gemini, and others) never switches brains on its own. If its session isn’t ready, the bot stops and tells you to sign in again. If you would rather it keep answering, enter a fallback brain asprovider/model, for example anthropic/claude-sonnet-5-5. Then, when the vendor session is not ready, is blocked, or needs you to sign in:
- the bot answers on that brain instead of refusing;
- the reply starts with one line, “Answered by claude-sonnet-5-5 because your Claude session needs a check.”;
- the thread records a “Switched lane” event with the reason.
Limits
- Always on moves messages, not a half-finished turn: a turn already running on your computer when it goes offline is not resumed elsewhere.
- Spoken (voice call) turns on a connected bot do not use the fallback yet; they stop and tell you.
- Fallback applies to the first message that finds the session not ready. The vendor session still needs your attention under Settings → Connections.
For developers
- Settings live in the bot’s
config:availability = {alwaysOn, failoverRuntimeId, userSet}andfallbackBrain. No column.userSet: truemarks a choice made on the Stay on card; the main-bot default (useMainBotCloudDefault, mounted in the desktop and phone shells) only writesalwaysOn: truewith the firstwakeableruntime whenuserSetis not set. - The failover computer must know the bot, so turning Always on (or picking a failover computer) first copies the bot there with
PUT /api/v1/agents/:id/package(see Copy a bot to another computer). The copy carries persona (Soul), instructions, the memory file and settings, not channels, numbers or sign-ins. If the copy fails, Always on is not saved and the card showsCouldn't copy <bot name> to your cloud computer: <reason>. The main-bot default copies first too and tries again later if it fails. The cloud computer needs its own sign-in for the bot’s brain; sign-ins are not copied. - Routines are separate: new ones run on the cloud computer by default. See Bot routines.
- The runtime reports
failovers: [{botId, failoverRuntimeId, accounts}]in its 60 s heartbeat (POST /api/v1/runtime-presence/heartbeat), one entry per always-on bot.accountslists the channel connections whose default bot it is. The cloud keeps the list onruntime_devices.bot_failovers(migration092; the singlefailover_runtime_idfrom091stays for older runtimes). For each queued channel message it picks the delivery computer by the route’sbot_id, else by the route’s connection (its label), and records each switch per bot inruntime_failovers.bot_id. The next heartbeat’s reply carries finished failovers (withbotId); the runtime writesbot_failovers(V263) and abot.failoverevent on that bot’s standing threads. GET /api/v1/runtime-presencereportswakeable: truefor cloud computers.- Fallback lives in
gateway_runner::run_with_fallback; it writeslane.fallback {from, to, reason}.