---
agentTools:
  projectIndex: https://docs.hud.io/llms.txt
---

# “Fix it” prompt for AI Agents

Hud alerts just got smarter. Starting today, production alerts for endpoint failures include a **“Copy prompt to fix”** button - the fastest path from detection to resolution using AI.

Hud automatically maps each endpoint failure to the exact function and exception that caused it. This context is now packaged into a structured prompt designed for AI coding agents.

<br />

<Image align="left" border={true} src="https://files.readme.io/197ea2a2ae5b5ea22477319380178280d4999394c1561823581e4ae7d375f117-Fix_it.gif" className="border" />

<br />

<br />

<br />

<br />

<br />

Here’s how it works:

* Receive an alert in Slack with a link to the issue
* Open a web view with detailed, function-level forensic data
* Click **Copy prompt to fix** button to copy a pre-filled, production-aware AI prompt
* Paste it in your IDE or agent of choice - and fix it instantly

No extra configuration needed. Just actionable data, ready for resolution.