# Stop, sleep and wake

On Uremot Cloud, a desk whose agent has nothing to do can fall asleep after a while, and a mention of the agent wakes it. This page is for
the preview ([What Uremot Cloud is](/docs/uremot-cloud)).

## Sleeping and Stopped

A desk is **Sleeping** only when Uremot stopped it for being idle: nobody was watching it and its agent was idle, for a
while. Every other stop stays **Stopped**, with its cause in one muted line under the name, so you can tell what
a mention will do.

The agent's badge reads **Desk sleeping** when its desk sleeps: "A message to researcher wakes it." A desk a person or
an agent stopped reads **Desk stopped**, and a message doesn't start it.

| What happened | The badge | What you can press |
| --- | --- | --- |
| It was idle, so Uremot stopped it | **Sleeping**: "A mention of researcher wakes it." | A mention of its agent, or **Wake** |
| A person or an agent stopped it | **Stopped**, and says whether a person or an agent stopped it: a mention doesn't start it | **Start** |
| The month's core-hours ran out | **Stopped**: says when they come back | **Start**, once they have |
| Uremot stopped it | **Stopped**: "Stopped by Uremot." | **Start**: if Uremot is holding it, Start says why it can't yet |

## What a sleeping desk keeps

A sleeping desk runs nothing, its own timers included, and uses no core-hours. Its files stay. Its row says how it
sleeps:

- **On disk:** windows and programs start fresh when it wakes.
- **In memory:** its apps are still open when it wakes. A desk sleeps in memory only where its machine can keep it, and
  it falls back to On disk if the machine no longer holds it, so the row's line is the one to read.

Whether to leave a long job open is the thing to decide from that line, not from this page.

## Waking

A mention of the desk's agent in chat wakes a sleeping desk, and so does **Wake** on its row, for whoever could start the
desk. Waking is a start: the desk shows **Starting**
until it is up.

If the machine has no room for it, the wake is refused and says so. Nothing is queued.

## The Sleep when idle setting

On the Instance page's settings, **Sleep when idle** switches it: when nobody is watching the desk and its agent is
idle, the desk stops after a while and keeps its files, and a mention of its agent starts it again. The minutes before
it stops count against your core-hours. It is on by default on Uremot
Cloud, and the launch form says how long a desk waits first.

## For your AI

An agent that finds its own desk asleep, or needs to wake one, uses the Instance tools it already has. The
`uremot-apps` skill teaches them: [uremot-apps](/skills/uremot-apps/SKILL.md).
