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

# 關於 Agent 使用狀況

> 學習如何監控和分析 Pathors Agent 的使用狀況和性能指標

本教學將教您如何通過查看聊天記錄，監控和分析 Pathors Agent 的問答流程與決策。

## 教學影片

<iframe width="100%" height="400" src="https://www.youtube.com/embed/BKYhRiP02Hk" frameborder="0" allowfullscreen />

## 概述

本視頻將演示如何利用聊天歷史記錄，追蹤 agent 的問答流程、決策分支、工具調用與 debug 方法。

## 操作步驟

1. **查看歷史記錄**
   * 點擊左側"歷史記錄"可查看所有對話記錄。
   * 每條記錄包含對話時間、內容、所用模型、節點 ID、處理時長等信息。

2. **分析決策流程**
   * 在對話詳情中可看到 agent 的決策理由、信心水準，以及節點跳轉（如定位、提供替代方案、登記預約等）。
   * 若 agent 調用工具，可查看工具的輸入與輸出。

3. **Session ID 與 debug**
   * 每一輪完整對話為一個 Session，Session ID 可在聊天窗口查看。
   * 若遇到系統錯誤，請複製出錯的 Session ID 反饋給技術支持。

## 相關資源

* [上一個教學：自訂模型、整合外部服務](./pathors-tutorial-03-custom-integrations)
* [回到教學 #1：打造對話 Agent](./pathors-tutorial-01-create-agent)
* [分析 API 文檔](/api-reference/dataset)
