AI Agent 错误日志智能分析模板
将 Agent 运行日志粘贴给 AI,自动识别失败原因、给出修复建议和重试策略
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]
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。


