# The composer

> Attach files, reuse drafts, reference other tasks, set session options, run slash commands, choose memory, and queue messages while the agent works.

Section: Chat and tasks · Updated: 2026-11-19 · Canonical: https://nested.me/docs/composer

The composer is more than a text box. It decides which agent and workspace a new task uses, what context the agent gets, and what happens to messages you send while the agent is still working.

## Before you start

- Pick the agent and workspace in the composer’s pickers. For an open task they are **Fixed for this task**.

## Add to message

Open **Add to message** (the plus) for:

| Item | What it does |
| --- | --- |
| **Attachment** | Attach files or images to the message |
| **Drafts** | Everything you type is saved automatically. Search, open, edit, or delete drafts — for this task or all tasks |
| **Reference tasks** | Point the agent at other tasks so it can use their context |
| **Session options** | Agent-specific settings such as **Mode**; **Reset to agent defaults** undoes them |

When any of these are active, the button shows how many.

## Steps

1. Type your message. Enter sends; Shift+Enter makes a new line.
2. Type `/` at the start to see **Available commands** the agent’s session offers, then pick one.
3. Choose memory with **Memory for this task**: **Default memory**, **No memory**, or **Choose memories** (up to three). See [Memories](https://nested.me/docs/memory).
4. Send. While the agent works, the composer shows **Working…** and you can still type.
5. Send again while it works: the message goes to **Queued messages** and sends after this turn. Edit or remove queued messages before they send.
6. Press Esc to stop the current turn.

## Queued messages

The queue lets you think ahead without interrupting the agent. If the task ends, fails, or you stop it before the queue drains, Nested holds the messages and tells you why. Choose **Resume**, **Send as new task**, or **Discard all**. When the queue is full, wait for one to send or remove one.

> [!NOTE]
> Attachments upload before a queued message sends. If one is no longer available, edit the message to keep its text, or remove it.

## Example

The agent is halfway through a refactor. You attach a screenshot of the failing page, reference yesterday’s “Login bug” task, and send — the message is queued behind the current turn. When the turn ends, the agent picks it up with both pieces of context.

## Questions

### Does Nested save unsent messages?

Yes. Anything you type is saved to **Drafts** automatically. Open them from **Add to message → Drafts**.

### What happens if I send a message while the agent is working?

It joins **Queued messages** and sends after the current turn. Press Esc if you want to stop the turn instead.

### How do I give an agent context from another task?

Use **Add to message → Reference tasks** and pick the tasks it should read.

[Open in Nested](https://app.nested.me/)

## Related

- [Chat, workspaces, and tasks](https://nested.me/docs/chat)
- [Writing faster in chat](https://nested.me/docs/assist)
- [Memories](https://nested.me/docs/memory)
