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

# Your first conversation with the agent

> The order of things, from opening the agent panel to attaching the manuscript you want read as context to sending the first request.

The agent reads files inside the project and answers. So deciding what it reads comes first.

## Opening the panel

Press the **Agent** button at the top right of the project screen. The tooltip is **Toggle AI panel**, and the same button closes it. The panel attaches to the right of the project screen as a sidebar, and dragging its edge adjusts the width only. Use **New chat** to start a fresh conversation, and find past ones in **Recent chats**.

<div className="app-window block dark:hidden">
  <img src="https://mintcdn.com/raumlabsinc/WQIpN21D_2L4wB76/images/en/agent/first-run--01.png?fit=max&auto=format&n=WQIpN21D_2L4wB76&q=85&s=089c5b0233d7810fc6462e273ee29a1f" alt="The agent panel is open as a sidebar on the right with an empty conversation. The New chat and Recent chats buttons in the header and the suggestion list below are both visible." width="2880" height="1800" data-path="images/en/agent/first-run--01.png" />
</div>

<div className="app-window hidden dark:block">
  <img src="https://mintcdn.com/raumlabsinc/WQIpN21D_2L4wB76/images/en/agent/first-run--01-dark.png?fit=max&auto=format&n=WQIpN21D_2L4wB76&q=85&s=f95a751b8622907b6f87313a8d9beeda" alt="The agent panel is open as a sidebar on the right with an empty conversation. The New chat and Recent chats buttons in the header and the suggestion list below are both visible." width="2880" height="1800" data-path="images/en/agent/first-run--01-dark.png" />
</div>

<p className="app-caption">The agent panel, opened against the right side of the manuscript.</p>

## Attaching context

Files you have open in the focused window are attached as chips from the start. Once you edit the context yourself, it stops following along until you send the next message. After you send, the chips you added by hand drop out and only the open-file chips reattach and follow the window again. The same goes when you open a new chat.

Press the at-sign (@) button below the composer (**Add context**) and the project's file list opens. Narrow it down with the **Search...** field and click, and chips stack up above the composer. Press a chip and that file opens; the X beside it removes the chip. You can pick folders too, and they expand into the files inside them when you send. When there is nothing to pick, it says **No items available**.

Typing `@` in the composer brings up the same list. Picking this way embeds the file name in your sentence, and deleting that name takes it out of the context as well.

## Sending the first request

When the conversation is empty, **Review manuscript**, **Research a topic**, **Get an overview**, and **Find documents** appear under **Suggestions**. Pressing one only fills the sentence into the composer and does not send it right away, so edit it as it stands.

The gear button's **Mode** has three settings. **Default** is "Can search, edit, and more", **Ask** is "Answers only, won't make edits", and **Plan** is "Plans first, then executes after approval". If you do not want it touching the manuscript yet, start with **Ask**. Any mode other than Default is written on the button as **Ask mode**.

`Enter` sends and `Shift + Enter` breaks the line. While it is answering, you can halt it with **Stop**. In Default mode, an approval card comes up first when it tries to create or edit a file, and you pick from **Accept once**, **Allow for this session**, **Always allow**, and **Reject**.
