# Chat with the agents (/build/chat)

## Send a message [#send-a-message]

Type in the box under the chat and press `Enter`. Each message uses one credit. Messages you send while the agents are still working wait in a queue, and go in turn.

## Commands [#commands]

Type `/` to pick a command. It tells the agents what kind of job this is:

| Command     | What it does                                         |
| ----------- | ---------------------------------------------------- |
| `/design`   | Research and design the UI                           |
| `/fix`      | Fix bugs                                             |
| `/refactor` | Improve the code without changing what it does       |
| `/explain`  | Explain how some of the code works                   |
| `/plan`     | Make an implementation plan before changing anything |
| `/task`     | Work through a task list, one step at a time         |

## Attach a reference [#attach-a-reference]

Select **Attach a reference** to add a screenshot, an image or a file. A screenshot of what's wrong is often clearer than a description of it.

## Mention another chat [#mention-another-chat]

Type `@` to mention one of the project's other chats, so the agents can read what was said there.

## Stop the agents [#stop-the-agents]

Select **Stop the agent** while they work. What they finished stays; you can carry on with another message.

## Chats and history [#chats-and-history]

- **New chat** starts a fresh conversation in the same project. Start one for each new piece of work, so the agents aren't distracted by an old one.
- **Chat history** lists the project's earlier chats. Open one to pick it up again.

See [Prompting well](/get-started/prompting-well) for how to phrase what you ask.
