Sleep and wake
An agent you do not need right now can sleep. Its window closes; its place in the team, its session and its memory stay. A message or a task for it wakes it by itself, in the same session.
What sleep keeps and what it stops. A sleeping agent does no work and uses none of your computer's memory. Its seat, session and conversation stay; messages to it are held and arrive in order when it wakes. Sleep is not the same as «Turn off»: turning off frees the seat for good, and nothing is kept to come back to.
One agent
- Sleep: the moon button on the agent's row (Agents page, the team, the role's window). It sleeps at once, without a question: waking undoes it.
- Wake: the sun button in the same place. The same session opens in a new tab.
- Closing a seated agent's terminal window also puts it to sleep.
- Only an agent that holds a seat in a team can sleep.
A whole team
On the team's header, «⋯» › «Sleep team», then:
- «After the current step»: idle agents close now; busy ones finish their step first (up to 10 minutes, then they are interrupted).
- «Right now».
While the team sleeps, nobody takes the items on its board, and messages to it are held. To bring it back: «Wake team» on the team's banner, or «Wake only the lead» to start with the lead.
What wakes an agent by itself
harnsy wakes a sleeping agent when a message or an item comes for it. It does not when:
- you chose «Sleep, do not wake on schedule» in the agent's «⋯» menu: nothing wakes it by itself until you do;
- its whole team was put to sleep: only the team's lead can still hand work to its own team;
- «Stop all» is in effect (below);
- harnsy Max's soft stop holds its subscription (below);
- it is the Assistant: only you, or your chat with its bot, wake it.
Auto-sleep when idle
An agent with a seat that stands idle with no open item is put to sleep after 24 hours by default. Change it in Settings › Notifications, «An agent idles with nothing to do» › «Put it to sleep by itself after» (up to 30 days; 0 means never). It works together with the idle notice on the same row: if you turn that notice off, nothing is put to sleep by itself. Leads, the Assistant and agents waiting for your answer are never put to sleep this way. You get a note on Home when it happens; a message or an item wakes the agent again.
On the Agents page, idle agents get a line with «Put all to sleep»: each one's window closes, and harnsy wakes each one when work comes for it.
Stop all
«Stop all» on the Agents page closes every agent on this machine, for example before an update or a reboot. Agents with a seat sleep; seats, sessions and messages stay. Home then offers «Restore N agents» or «Don't restore». To have them come back after harnsy starts, switch on «Restore stopped agents when harnsy starts» (off by default).
From a phone or another computer
Signed in from outside (harnsy Max), you can put an agent or a team to sleep only «after the current step», as an emergency brake that needs no new passkey check. Waking from outside needs full control.
At the subscription's limit (harnsy Max)
On the Usage page, «Soft stop» (95% by default): above this share of a subscription's 5-hour or weekly window, harnsy by itself neither wakes nor starts agents on it; running agents finish their turn. You and the team's lead still can. See Usage.
In a terminal
In harnsy term: Ctrl+] then s puts the chosen agent to sleep (it asks: y after its step, r right now), Ctrl+] then w wakes it.
What you see
A team shows «asleep», «partly asleep · 2 of 5» or «off». A sleeping team's banner says since when and how many messages are held. An agent going to sleep after its step shows «closes when its step ends».
Looking for Pause? It is gone: use sleep and wake. A team that was paused before the update was put to sleep after its step.
Anthropic, Claude Code, OpenAI, ChatGPT, Codex, OpenCode, pi, Telegram, Discord, GitHub, Apple, macOS, iOS, iPhone, Safari, Google, Android, Chrome, Microsoft, Windows, Windows Security, Defender and QR Code are names of their owners’ products. harnsy is not affiliated with or endorsed by them. iOS is a trademark of Cisco used under licence by Apple; QR Code is a registered trademark of DENSO WAVE INCORPORATED. No logos.