When the Reasoning pane shows you what happened on a turn but not why, ask the Agent Builder. The builder always has the context of the thread you are looking at, and once you open a reply's reasoning it knows which turn you mean, so you can ask about that turn directly. It reads the agent's program, the conversation and the turn's record, then answers in plain words and names the parts of the program responsible.
#Ask about a turn
- In the Apollo-1 Runtime pane, select Reasoning under the reply you want to ask about. The Reasoning pane opens on that turn.
- In the Agent Builder, choose Ask mode if you only want an answer. Ask mode is read-only, so asking never changes the agent. See Build, Ask and Plan modes.
- Type your question in the builder's message box and send it. You can refer to "this turn" or "this reply".
#Questions that work well
- Where did it get these flights from?
- Which part of the program led it to quote a $15 fee here?
- Why did it ask for the booking code again when the customer had already given it?
- Which lookup came back empty, and what did the agent need it for?
- Would this turn go differently for a caller who is not a Gold member?
The builder shows its work as it goes, for example the searches it ran and the files it read, then answers. For a question like the first one, a typical answer says the flight came from the customer's stored trip record, matched to booking ABC123, rather than from a flight search, and names the source, capability and vocabulary entries involved.
#From an answer to a change
Ask never edits the agent. When you know what should change, switch the builder's mode before you send:
- Build to make the change.
- Plan to agree on an ordered plan first.
The builder still has the conversation and the turn you have open, so it can work from the same example. See Build, Ask and Plan modes and Change your agent's behavior.