跳到正文
原文
Rohan Paul· @rohanpaul_ai · X·· 12 天前AI 评分53
AI 导读

Microsoft 论文 Coding Agents are Strong Prompt Optimizers 提出 Coding-Agent Skill Distillation(CASD),让普通编码智能体基于智能体已保存的运行轨迹编写分析代码,统计全量日志中的重复错误并生成优化提示词。

正文

New Microsoft paper shows a coding agent that studies your agent's old logs usually writes a better prompt than trial-and-error tuning tools, so start there.

Many prompt-tuning tools tweak the prompt, rerun the agent, and judge each change from just a few runs.

This paper skips all that and hands your agent's saved logs to an ordinary coding agent. It writes code to count what happens across every run, so it catches repeat mistakes that a handful of runs can hide.

Given the same logs, the coding agent's prompts beat the tuning tool GEPA on 3 of 4 agent benchmarks, at about $1.60 per prompt.

Point a coding agent at the logs you already have first, and save trial-and-error tuning for squeezing out the last gains.

来源:Rohan Paul · x.com