AIA includes a built-in AI Chat Assistant powered by You.com that you can use to ask questions about incidents, get fix suggestions, and learn best practices — all without leaving the dashboard.
The AI Chat page (/chat) provides a conversational interface where you can:
- Ask about your active incidents
- Request help with specific error types
- Get best practices for deployment reliability
- Learn how to reduce incident resolution time
Navigate to the Chat section from the top navigation bar. The chat requires you to be signed in.
The chat UI provides:
- Message history — Scrollable conversation view with timestamps
- Role indicators — Bot icon for AI, person icon for user
- Suggested questions — Pre-built prompts shown on first load
- Rich input — Press Enter (without Shift) or click Send
- "What are my most critical incidents?"
- "How do I fix a null pointer exception?"
- "What causes deployment failures?"
- "Show me best practices for error handling"
- "How can I reduce incident resolution time?"
POST /api/chat
Request body:
{
"message": "What causes deployment failures?"
}Response:
{
"response": "Deployment failures are typically caused by..."
}The API proxies your message to the You.com AI and returns the response. You.com's models have strong general coding and DevOps knowledge, making them particularly useful for incident analysis.
- Go to you.com and sign in
- Visit the API section in your account settings
- Generate a new API key (starts with
ydc_) - Add it to your environment variables
Note: The same
YOU_API_KEYis used by both the AI Chat feature and the Autopsy analysis service.
The chat window automatically scrolls to the latest message as new responses arrive.
While the AI is generating a response, a spinning loader appears in the chat window indicating "Thinking...".
If the AI response fails, an error toast is shown and a fallback message appears in the chat: "Sorry, I encountered an error. Please try again."
Ask the AI to help you prioritize: "Which incidents should I investigate first?"
Paste an error message and ask: "What are the common causes of this error and how do I fix it?"
Get explanations for complex concepts: "What is the difference between a deployment failure and a runtime error?"
- Voice Control — Control AIA with spoken commands
- Incident Timeline — Visual progress tracker for all incidents
- AI Engine — How the Autopsy AI analysis works