返回提示词库
文本 · 通用大模型AI Agent 错误日志智能分析模板PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

AI Agent 错误日志智能分析模板

将 Agent 运行日志粘贴给 AI,自动识别失败原因、给出修复建议和重试策略

28浏览
完整提示词可替换花括号中的变量后直接使用

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]

2026/4/5

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。