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

# Ticket Detail

> Deploy the AI agent on a ticket, review its investigation and customer-facing response, and take action on the results.

Open any ticket to see the full conversation thread and Decimal's AI agent side by side. From here you can deploy the agent, review its investigation, and act on the results.

## AI Agent

When a ticket is created in your ticketing system, Decimal's AI agent automatically kicks off in the background. It analyzes the ticket, pulls evidence from your codebase, logs, and documentation to identify resolution steps, and surfaces a ready-to-use response here in the ticket detail view.
You can also trigger the agent manually by clicking **Deploy**. This is useful if you want to re-run the analysis with additional context or after new replies come in. Click **View details** to watch the reasoning unfold in real time, or **Stop** to cancel a run.

### Analysis Modes

When a ticket has conversation replies, you can choose between:

* **Ticket only**: Analyzes the original ticket description
* **With replies**: Includes the full conversation thread for deeper context

## Agent Response

Once the agent completes its analysis, the Response tab displays the result with a toggle between two views:

* **Investigation**: A detailed technical breakdown for your team, including code references and root cause analysis
* **Response**: A customer-friendly message you can send to address the reported issue

### Response Actions

From the response panel, you can:

* **Sources**: View the citations the agent used (code, knowledge base articles, logs)
* **Reasoning**: See the agent's step-by-step investigation process
* **Copy** the response to your clipboard
* **Re-run** the agent, optionally adding text instructions or file attachments to guide the next investigation
* **Save to Knowledge Base**: Convert the findings into a reusable knowledge base article
* **Feedback**: Rate the response with thumbs up or down to help improve future results

## Previous Runs

Decimal preserves the history of all AI agent runs on a ticket. Use the run navigation arrows to switch between previous analyses.
