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

# Message Queue

> Queue follow-up messages while the agent is working so you never lose your train of thought.

export const Keyboard = ({shortcut}) => <span className="inline-block border border-gray-200 bg-gray-50 dark:border-white/10 dark:bg-gray-800 rounded-md text-xs text-gray font-bold px-1 py-0.5">
    {shortcut}
  </span>;

export const Availability = ({tags = []}) => {
  const tagColor = {
    invite: "purple",
    beta: "gray",
    "private-preview": "purple",
    vscode: "blue",
    jetbrains: "orange",
    vim: "gray",
    neovim: "gray",
    cli: "green"
  };
  return <div className="flex items-center space-x-2 border-b pb-4 border-gray-200 dark:border-white/10">
      <span className="text-sm font-medium">Availability</span>
      {tags.map(tag => <Badge key={tag} size="sm" color={tagColor[tag] || "gray"}>
          {tag}
        </Badge>)}
    </div>;
};

<Availability tags={["jetbrains", "beta"]} />

## About Message Queue

The message queue lets you line up follow-up messages while the agent is busy processing a previous request. Instead of waiting for the agent to finish before sending your next instruction, you can queue messages that will be delivered automatically when the agent becomes idle.

<Note>
  The message queue is available in JetBrains **0.428.8+** as a Public Beta opt-in from the Settings page.
</Note>

## How It Works

When the agent is actively working on a request, you can continue typing and queue additional messages:

* **Press <Keyboard shortcut="Enter" />** to add a message to the queue
* **Press <Keyboard shortcut="Cmd/Ctrl Enter" />** to send immediately, interrupting the current agent turn

Queued messages are processed in **FIFO order** (first in, first out) — each message is sent to the agent as soon as it finishes the previous one.

## Queue Controls

Queued messages appear in a **collapsible panel** above the chat input. From this panel you can:

| Action             | Description                                                   |
| :----------------- | :------------------------------------------------------------ |
| **Edit**           | Modify a queued message before it's sent                      |
| **Delete**         | Remove a message from the queue                               |
| **Reorder**        | Drag messages to change the processing order                  |
| **Send now**       | Skip the queue and send a specific message immediately        |
| **Pause / Resume** | Pause the queue to prevent automatic processing, or resume it |

## Error Handling

If an error occurs while processing a queued message, the queue **automatically pauses**. This gives you a chance to review the error and decide how to proceed — you can edit the failing message, skip it, or resume the queue as-is.

## Tips

* **Plan ahead** — queue a sequence of related tasks and let the agent work through them while you focus on something else
* **Course-correct** — use <Keyboard shortcut="Cmd/Ctrl Enter" /> to interrupt with urgent corrections without losing your queued messages
* **Review before sending** — edit queued messages if your requirements change while the agent is working
* **Pause when needed** — pause the queue if you want to review the agent's output before it processes more messages
