Primary sourcearXiv: Anthropic
View sourceEvent ·Official first-hand
Self-Reflective APIs:结构化建议让AI Agent恢复率提升40个百分点
当AI Agent调用API遇到验证错误时,传统做法返回自然语言错误描述,但Agent往往无法有效修复。该论文提出Self-Reflective API,在验证失败时返回机器可读的结构化恢复建议(recovery_feedback.suggestions[]),使Agent能直接修复请求并重试,无需外部推理。在30个样本、3个LLM、10个对抗任务的实验中,结构化建议在Anthropic模型上将任务完成率提升36.7-40个百分点,且每个成功token效率提升1.8-2.2倍。在gpt-4o-mini上效果不显著,但计费API的二次验证确认了模式。研究还发现了LLM基准测试中两类未记录的答案泄露问题,并开源了审计工具。
Current read
做Agent系统或API设计的开发者,这个方案直接解决了Agent调用API时频繁失败、需要人工介入的痛点——用结构化建议代替自然语言错误,让Agent自己就能修复重试,实测效果显著,建议直接参考其设计思路。
7 sources62° AI heatLast updated 2026/6/3 16:02:11
Evidence
7 sourcesRelated source 1IT之家
View sourceRelated source 2Gary Marcus
View sourceRelated source 3lmarena.ai
View sourceRelated source 4宝玉
View sourceRelated source 5cat
View sourceRelated source 6shao__meng
View sourceConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.