> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/platform/operate-ai/work-in-a-chat.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Work in a chat

Follow the work, open files, answer questions and permission requests, and use the In this chat panel.

Once you send a request, the chat shows what Operate AI did, what it made, and anything it needs from you. This page walks through each part, using two Demo flows as examples: building a board pack, and handling a card dispute.

## At a glance

| Part of the chat       | What it shows or lets you do                                                                      |
| ---------------------- | ------------------------------------------------------------------------------------------------- |
| **Work log**           | The steps Operate AI took, such as thinking, reading a skill, or running an agent.                |
| **Files**              | Documents Operate AI made. Open one to preview it, or download it.                                |
| **Reply actions**      | Copy, rate, or retry a reply, and see the tokens a turn used.                                     |
| **Question**           | A question Operate AI asks you, with options you can pick.                                        |
| **Permission request** | An action Operate AI wants to take that needs your **Allow once**, **Always allow**, or **Deny**. |
| **In this chat panel** | The outputs, progress, agents, approvals, and connectors available to this chat.                  |
| **Context ring**       | How much of the chat's context window is used.                                                    |

## Follow the work

Above each reply, the work log lists the steps. The step names read like Thought for 3 s, Read the Presentation design skill, Running the Research agent, or Plan · 2 of 5 done. A step can end as Failed, or as Skipped connecting. Expand a step to see its request, code, or error, and copy it.

Read the log to check how Operate AI reached its answer. If it read the wrong skill, or ran a tool you didn't expect, say so in your next message.

## Example 1: build a board pack

The request is Create our Q3 board deck from the latest pipeline and finance numbers. This is the **Board pack** Demo flow.

### Files

When Operate AI makes files, a card for each appears in the reply under a count, such as 3 files. In the demo they are a presentation, a PDF handout, and a spreadsheet. Select a card to preview the file in a panel on the right. Select the download icon on a card to download one file, or **Download all** to download every file from the reply.

Operate AI saves a revision as a new version, so the earlier version stays available. In the demo, asking Add a slide on hiring produces a new card named Q3 board update (v2).

### The preview panel

The panel shows the file name, a zoom control, and the content. For a deck, each slide has its number, such as 1 / 6. The controls at the top right copy the file, download it, expand the panel to full width, or close it. The **Versions** menu next to the title switches between the **Latest** version and earlier ones, such as Version 1.

### Reply actions

Under each reply:

* **Copy reply** copies the text.
* **Good reply** and **Bad reply** rate the reply.
* **Retry** asks Operate AI to produce the reply again. If a reply fails, the chat says Something went wrong and offers **Retry**.
* **Tokens this turn** shows an estimate of the tokens the turn read in and wrote.

For the credits a reply used, see [Credits used](https://docs.uptiq.ai/platform/console/console-assistant.md#credits-used).

## Example 2: handle a card dispute

The request is A cardholder disputes a $482.19 debit card charge from Oct 30 at TECHSTORE ONLINE. This is the **Disputes: act, then ask** Demo flow.

### Permission requests

When the next step needs your permission, the chat pauses and a request appears above the message box. It states the action, why Operate AI wants to take it, and a **Needs approval** badge. In the demo it reads Post provisional credit of $482.19.

Select **Preview what will be sent** to see the details behind the action. In the demo they are the case, the account, the amount, and the procedure. Then choose:

* **Allow once.** Operate AI takes this one action and continues.
* **Always allow.** Operate AI takes the action and continues. The chat records your decision as Always allowed.
* **Deny.** Operate AI doesn't take the action. Tell it what to do instead in your next message.

While a chat waits for permission, it also appears on the **Gates** page, as a **Permission** gate. See [Agents, connectors, schedules, and Gates](https://docs.uptiq.ai/platform/operate-ai/agents-connectors-schedules-and-gates.md#gates).

### Questions

When Operate AI needs a detail from you, it asks a question above the message box. Pick an option, or press its number key. Some questions let you pick any that apply. You can also type an answer in your own words. Use **Submit answers** to send, or **Skip and finish** to move on. The arrows go to the previous and next question. A question waiting on you appears on the **Gates** page as a **Question** gate.

### Stop and queue

While Operate AI is working, the send button becomes **Stop**. A message you send meanwhile is queued: the button reads **Queue message**, and the queue shows Sends when Operator finishes. Remove a queued message from the queue before it sends.

## The In this chat panel

Select **Show overview** at the top right of the chat to open **In this chat**. **Hide overview** closes it. It has these sections:

* **Outputs.** Files Operate AI makes in this chat. Empty until it makes one, when it reads Files Operator makes show up here.
* **Progress.** How far the plan has got, step by step. Only a chat with a plan has this section.
* **Agents.** The agents this chat can use, each with a switch. Turn one off to stop Operate AI using it in this chat. The filter shows **All agents**, **System agents**, or **User agents**. **Manage agents** opens the **Agents** page.
* **Approvals.** Each permission request in this chat, and what you decided. **All approvals** opens the **Gates** page.
* **Connectors.** The apps this chat can reach, each with a switch to use it in this chat. **All connectors** opens the **Connectors** page.

## The context ring

Next to the send button, a ring and a percentage show how much of the chat's context window is used. Select it to see what takes the room: **Files**, **Instructions and skills**, **Messages**, and **Tools and results**. The figure is an estimate. The menu says Plenty of room left in this chat, Filling up. Long files and tool results take the most room, or Nearly full. Operator will summarise older turns to keep going.

## Parts that appear only in Demo flows

Some parts of the chat appear in the Demo flows but are not sent by the assistant yet: suggested follow-ups under a reply, a sources row, charts and metric tiles, a card that asks you to connect an account, a card that proposes a schedule, and a card that proposes a skill. They are shown in the demo so you can see how they will look.

## What's next

{% content-ref url="/pages/LVYuQp62nIyXto6IrS8R" %}
[Chats and projects](https://docs.uptiq.ai/platform/operate-ai/chats-and-projects.md)
{% endcontent-ref %}

{% content-ref url="/pages/OLKt8atlY0HtAghsj940" %}
[Agents, connectors, schedules, and Gates](https://docs.uptiq.ai/platform/operate-ai/agents-connectors-schedules-and-gates.md)
{% endcontent-ref %}

{% content-ref url="/pages/nSwE0kv9vYcPX181X2u5" %}
[Console assistant](https://docs.uptiq.ai/platform/console/console-assistant.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/platform/operate-ai/work-in-a-chat.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
