Keep agents running

Close the window,
your agents keep working

With Agents on close set to Keep them running in the background, closing AgentsRoom no longer stops your Claude Code, Codex or other agents. The app hides in the macOS menu bar or the Windows and Linux notification area, and everything carries on.

Consoles, team runs, scheduled tasks and the phone keep working. Reopen AgentsRoom from its icon or by launching it again. Off by default: closing still stops every agent until you choose otherwise.

Screenshots

Real captures of the app, added as this feature evolves.

  • AgentsRoom settings, Startup & system: Agents on close set to Keep them running in the background, just under On quit
    One setting keeps your Claude Code, Codex and other agents working when you close the window or quit AgentsRoom.
Keep agents running

Agents on close

Stop themKeep them running in the backgroundAsk me
23:41

Open AgentsRoom

Quit and stop all agents

Windows and Linux: the same menu on the AgentsRoom icon in the notification area.

A long task is running in three agents, and you want your screen back. Until now, closing AgentsRoom stopped every agent, because each console is a child of the app. Herdr or tmux users know the other way: close the view, the agents stay alive, come back later.

AgentsRoom now offers that choice. The app stays alive without a window: same process, same consoles, nothing to reattach. Closing the window, Cmd+Q on macOS or Alt+F4 on Windows simply hides it, and the AgentsRoom icon is your way back.

It is a choice, not a new default. Agents on close starts on Stop them, the behavior you had before, and you can also ask AgentsRoom to ask you each time an agent console is open.

Filmed in the real app: in Settings, Agents on close is set to Ask me, then three agents get a task, two on Claude Code and one on Codex. With two still working, the window is closed: AgentsRoom lists the agents still working and Keep running in the background is clicked. The window goes away and AgentsRoom waits in the menu bar. Half a minute later it is opened again: all three are done, the cart bug is fixed with four tests passing, and nothing had to be restarted.

Watch on YouTube

What changes when you close AgentsRoom

Three choices, one icon, nothing to reattach.

Three choices

Stop them, the behavior you know. Keep them running in the background. Or Ask me, which asks each time an agent console is open, with a Remember my choice box.

Everything keeps working

Agent consoles, team runs and scheduled tasks keep running, and the phone still reaches the computer, because the app itself never stops.

One icon to come back

The AgentsRoom icon tells you how many agents are working and how many are waiting for you, and on macOS the number at work sits next to it. Its menu offers Open AgentsRoom and Quit and stop all agents. A notification, the island or an agentsroom:// link also brings the window back, and so does launching AgentsRoom again from Finder, Spotlight, the Start menu or your launcher.

Asked at the right moment

When you close while agents are working, the Agents are still working warning now offers Keep running in the background, for that close only.

The same on every computer

The choice is saved on your AgentsRoom account, so the laptop and the desktop behave the same way once you set it on one of them.

macOS, Windows and Linux

The menu bar on macOS, with the Dock icon removed while hidden. The notification area on Windows. A tray icon on Linux desktops that host one, otherwise the window is minimized instead of hidden.

How to set it up

One setting, then close the window as usual.

  1. 1

    Open the setting

    In Settings > Startup & system, find Agents on close, under On quit. You can also search for it in the settings.

  2. 2

    Pick Keep them running in the background

    Or pick Ask me if you prefer to decide each time. The choice applies to all your computers signed in to the same account.

  3. 3

    Close the window

    Click the close button, press Cmd+Q on macOS or Alt+F4 on Windows: AgentsRoom hides, its icon appears, and your agents keep going. The first time, a notification tells you where to find AgentsRoom and how to stop it for good.

  4. 4

    Come back, or stop everything

    Click the icon and choose Open AgentsRoom, or launch the app again. When you really want to stop, choose Quit and stop all agents: it quits like before, restore question included.

Where AgentsRoom goes on each system

On macOS, the windows are hidden and the Dock icon goes away; the AgentsRoom icon stays in the menu bar. Launching the app again from Finder, Spotlight or Launchpad brings it back. On Windows, the icon sits in the notification area, often behind the ^ arrow of Windows 11, and a left click opens the app; launching it from the Start menu works too.

On Linux, the icon needs a desktop that hosts tray icons. Without one, AgentsRoom minimizes its window to the taskbar instead of hiding it, so a choice made on your Mac never leaves the app out of reach on your Linux machine. In Linux server mode or on a machine with no screen, the setting is ignored: there is nothing to hide, and the server mode already keeps agents running.

What still stops your agents

A real quit still stops every agent, as before: Quit and stop all agents, Close and update, a restart to install an update, and a shutdown of the computer. AgentsRoom never holds back a system shutdown.

So if you leave agents running for hours, set Automatic updates to As soon as no agent is working: the update then waits for your agents to finish instead of restarting the app in the middle of their work.

Limits

  • The agents live inside the AgentsRoom process: if the app crashes, they stop with it. Use Restore agents and terminals to bring them back.
  • An update restart, Close and update and a computer shutdown are real quits and stop the agents.
  • On a Linux desktop without a tray, the window is minimized to the taskbar instead of hidden.
  • Ignored in Linux server mode and on machines with no screen, which keep agents running on their own.
  • A computer that goes to sleep pauses everything, AgentsRoom included. Keep Awake keeps it up while agents work.
  • The phone app has no such setting: it drives the computer, which stays online while its windows are hidden.

Frequently asked questions

Ask us something else
Can Claude Code keep running after I close AgentsRoom?
Yes. Set Settings > Startup & system > Agents on close to Keep them running in the background. Closing the window or quitting then hides AgentsRoom in the menu bar or the notification area, and your Claude Code, Codex and other agents keep working in their consoles until you stop them.
Where does AgentsRoom go when it runs in the background?
On macOS, to the menu bar, with the Dock icon removed. On Windows, to the notification area, sometimes behind the ^ arrow. On Linux, to the tray of desktops that host one, otherwise the window is minimized to the taskbar. Click the icon and choose Open AgentsRoom, or launch the app again.
How do I really quit and stop all agents?
Click the AgentsRoom icon and choose Quit and stop all agents, or pick the same entry in the app menu, just below Quit AgentsRoom (the AgentsRoom menu on macOS, the File menu on Windows and Linux). It quits exactly like before: the restore question and the Agents are still working warning appear as usual. You can also set Agents on close back to Stop them.
Is it on by default?
No. Agents on close starts on Stop them, the behavior AgentsRoom always had. You choose Keep them running in the background, or Ask me to be asked each time an agent console is open.
Does it work on Windows and Linux?
Yes. On Windows the icon is in the notification area and a left click opens AgentsRoom. On Linux it needs a desktop that shows tray icons; without one, the window is minimized instead of hidden, so the app is never out of reach.
Can I still reach my agents from my phone?
Yes. The computer stays online while its windows are hidden, so the AgentsRoom mobile app keeps seeing your agents, sending them messages and getting their notifications.
What still stops my agents?
A real quit: Quit and stop all agents, Close and update, a restart to install an update, a shutdown of the computer, or a crash of the app. Set Automatic updates to As soon as no agent is working so an update does not restart the app in the middle of a task.
Is it the same as running AgentsRoom on a server?
No. This keeps the desktop app alive on your own computer without a window. Linux server mode runs AgentsRoom on a machine with no screen, where this setting is ignored, and an Always-on machine is a computer you leave on so your agents work around the clock.

You may also like

Close the window, not the work

AgentsRoom runs on macOS, Windows and Linux, free to download, with the mobile app for iOS and Android.

Download AgentsRoomFree

Companion app: monitor your agents on the go

Bring your own: Claude, Codex, Antigravity CLI, or other AI provider.

Push bugs and requests straight to your public backlog.