> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rocket.new/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent sleeping

> Wake up the Rocket.new agent after inactivity and resume your task instantly.

export const LlmsDirective = () => <blockquote className="llms-directive">
    For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
    For a lightweight markdown version of this page, append .md to the URL.
  </blockquote>;

<LlmsDirective />

The Rocket agent automatically sleeps after around **10–15 minutes of inactivity** in a task. When this happens, a message appears in the chat and task features pause until you resume. No data is lost.

## What pauses during sleep

When the agent is sleeping, you will see this message in the chat:

> **The agent is sleeping due to inactivity**

<Frame>
  <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/4I1iYFbsqbVxe2Dt/images/build-docs/editor/agent-sleeping/agent-sleeping-light.webp?fit=max&auto=format&n=4I1iYFbsqbVxe2Dt&q=85&s=0ed4a0971eb5aedd3383bd394135e9d9" alt="Agent sleeping message in Rocket chat" className="theme-image light-image" width="962" height="280" data-path="images/build-docs/editor/agent-sleeping/agent-sleeping-light.webp" />

  <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/4I1iYFbsqbVxe2Dt/images/build-docs/editor/agent-sleeping/agent-sleeping-dark.webp?fit=max&auto=format&n=4I1iYFbsqbVxe2Dt&q=85&s=8f13c468f499742b4955e44da5e1ebda" alt="Agent sleeping message in Rocket chat" className="theme-image dark-image" width="962" height="280" data-path="images/build-docs/editor/agent-sleeping/agent-sleeping-dark.webp" />
</Frame>

The following are paused while the agent sleeps:

* Chat input
* Code generation and editing
* Visual design editing
* Live preview
* Launching your app
* GitHub push and pull
* Background processing

## Wake up the agent

Click **Wake Up Agent** in the chat. The agent resumes immediately and all Build features become available again: chat, code generation, live preview, and any other active functionality.

<Note>
  Waking the agent does not affect your task history, files, or outputs. Everything is preserved exactly as it was.
</Note>

## Why this happens

The agent sleeps automatically to conserve server resources. This typically happens when you step away for 10–15 minutes during a Build session.

Your task, messages, and generated content are all intact when you return. Sleep only affects the active session, not your saved work.

## What's next?

<CardGroup cols={2}>
  <Card title="Troubleshooting" icon="wrench" href="/help/troubleshooting">
    Fix common build errors and unexpected behavior.
  </Card>

  <Card title="FAQs" icon="circle-question" href="/help/faq">
    Answers to common questions about building with Rocket.
  </Card>
</CardGroup>
