Back to prompt library
Text · General-purpose LLMAI Agent Error Log Intelligent Analysis TemplatePW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

AI Agent Error Log Intelligent Analysis Template

Paste agent runtime logs to AI to automatically identify failure reasons, provide fix suggestions, and retry strategies

28Views
Full promptReplace variables in braces, then use it directly

You are an expert AI agent debugger. I will paste agent execution logs below. Your task: 1. **Identify failures**: Find all error messages, exceptions, timeouts, and unexpected behaviors 2. **Root cause analysis**: For each failure, determine the most likely root cause (tool misconfiguration, context overflow, rate limiting, hallucination, etc.) 3. **Fix recommendations**: Provide specific, actionable fixes ranked by likelihood of resolving the issue 4. **Retry strategy**: Suggest whether to retry as-is, retry with modifications, or escalate to human 5. **Prevention**: Recommend guardrails or checks to prevent this class of error in the future Format your response as: ## Failures Found [list each failure with line reference] ## Root Cause Analysis [detailed analysis per failure] ## Recommended Fixes [prioritized fix list] ## Retry Strategy [retry/modify/escalate recommendation] ## Prevention [guardrails to add] --- Here are the logs: [PASTE LOGS HERE]

4/5/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.