What the Messages tab shows
A conversation with an AI agent looks simple from the outside. The user asks something and the agent answers. Behind each answer the agent may have asked a model what to do, looked something up, charged a card, or retried a call that failed. The Messages tab puts both views side by side. On the right you read the chat. On the left you see an outline of the work behind each reply. Use it when you want to know:- What did the user ask, and what did the agent say back?
- How long did a reply take, and what did it cost?
- What did the agent do before it answered?
- What was a model or a tool given, and what did it return?
Three words to know
What the icons mean
Every row in the outline has a small icon that tells you what kind of item it is. The colors match the other BotGauge views.Open the Messages tab
Go to Logs
Pick a tab
Click any row

The Logs page. Select a row to open it.
The two halves of the tab
The Messages tab is split in two. The left half is an outline of the conversation. The right half shows whatever you have selected in the outline.
The Messages tab with the whole session selected.
- Messages tab. Messages, Graph view, and Timeline are three ways to look at the same conversation. They sit side by side at the top of the panel.
- The outline. The conversation as a list. The session is the first row, each turn is under it, and each turn can be opened to show its steps. Click the small arrow beside a turn to open or close it. The first turn starts open and the others start closed.
- The reading area. It shows what is selected on the left. With the session selected, it shows the whole conversation as a chat.
- Session arrows. They move to the next or previous row of the list you opened the panel from, such as “Session: 1 of 4”.
Read the conversation
When the session row is selected, the right half is the Transcript. It is the whole conversation as a chat, with the user on one side and the agent on the other.
The Transcript for the booking session.
- Session name. The name of the whole conversation.
- Capture label. How much of the conversation BotGauge recorded. Complete means all of it. See Is everything there? for the other labels.
- Latency and cost. How long the conversation took and what it cost in total.
- Transcript tab. The chat view. The Evaluations tab next to it, and the colored result labels beside that, show results from evals and are not covered on this page.
- The user’s message. User messages sit on the right with a white background.
- The agent’s reply. Agent replies sit on the left with a tinted background.
Follow the work behind a reply
Each turn in the outline is one reply. Click the arrow beside a turn to open it. Underneath you see the steps the agent took, from top to bottom in the order they ran.
The outline with a turn open.
- Session. The whole conversation, with its total time and total cost on the second line.
- Turn. One user message and the agent’s reply. The selected turn is highlighted.
- Model call. Teal. The name includes the model that was called.
- Tool call. Orange. It shows only how long the tool took.
- The numbers on a model call. They show how much text went in and out, and what the call cost. The next section explains how to read them.
- Arrow. Opens or closes a turn. A turn that is closed still shows its totals.
How to read the numbers
Models read and write text in small pieces called tokens. A token is roughly three quarters of an average English word. The text a model reads is counted as input tokens, and the text it writes back is counted as output tokens. A model call is priced by the tokens it reads and writes, so the numbers on the second line of a model call show how big the call was. For example,231 → 74 (Σ 305) $0.002404 reads as follows.
Look inside a step
Click any row in the outline. The right half shows what that item received and what it returned. The three kinds of rows you will click most are shown below.A turn
For a turn, the input is the user’s message and the output is the agent’s reply.
A turn selected in the outline.
- Selected row. Highlighted in the outline.
- Time and cost. How long this turn took and what it cost. The cost covers all of the turn’s steps.
- Input. What came in. For a turn, the user’s message.
- Output. What went out. For a turn, the agent’s reply.
- Formatted or Raw. Formatted lays the content out for reading. Raw shows it as it was stored.
- Attributes. The item’s ID, name, type, created and updated times, project, trace and parent IDs, status code, and tags.
A model call
A teal row is a call to a language model. Its details show the conversation the model was handed and what the model answered.
A model call selected in the outline.
- Selected row. The model call you clicked.
- Time and cost. How long this one call took and what it cost.
- System. The standing instructions the agent gives the model.
- The conversation so far. The user and assistant messages the model saw.
- Output. What the model replied. Here it asked to run
search_flightstwice. The two orangetool search_flightsrows below it are the calls that carried that out.
A tool call
An orange row is a tool the agent used. Tools and lookups call their two boxes Query and Response. Every other kind of row uses Input and Output.
A tool call selected in the outline.
- Selected row. The tool call you clicked.
- A dash. No cost is recorded for this step.
- Query. What the tool was asked. Here, a search for flights from London to Lisbon next Friday.
- Response. What the tool sent back. Here, the two flights it found.
Find a step
A long session can have dozens of steps. Type part of a step’s name in the Find in trace box at the top of the outline. Press ⌘F on a Mac, or Ctrl+F on Windows, to jump straight to the box.
Searching the outline for hold_fare.
- Find in trace. Type part of a name. It does not matter whether you use capitals.
- Match count. “1 match”, “3 matches”, or “No matches”.
- The match. The matching part of the name is highlighted, the other rows fade, and any turn that contains a match opens by itself. Click the row to see its details.
tool hold_fare. It does not search the text of the messages. Press Esc, or the cross in the box, to clear it.
Is everything there?
Next to the session name, a small label says how much of the conversation BotGauge recorded. Every session in the sample project shows Complete. The other four labels appear when they apply to your own sessions.Where the messages come from
The chat is built from the content your app recorded on each turn. If a turn has none, BotGauge reads the message attributes on its steps instead. When it still has no conversation messages, the Transcript shows each turn’s own input and output. The outline, times, and costs come from the steps your app reports.Which tab should I use?
Messages, Graph view, and Timeline show the same conversation in three ways. Pick the one that answers your question.Open the Messages tab in the console
Go to BotGauge, open a session in Observability, Logs, and choose Messages.
Common questions
Why does a tool show no cost?
Why does a tool show no cost?
What do the colored labels next to the Transcript and Details tabs mean?
What do the colored labels next to the Transcript and Details tabs mean?
Why is some text cut off?
Why is some text cut off?
Why are only some turns open in the outline?
Why are only some turns open in the outline?
The tab says 'No turns in this session'. What now?
The tab says 'No turns in this session'. What now?
How do I see the same conversation as a diagram?
How do I see the same conversation as a diagram?
.png?fit=max&auto=format&n=rExdh2xAS2_ywWU5&q=85&s=2336659947d2543be68f95bf2d539b85)