Dhinakaran says coding agents depend on system prompts that teams repeatedly revise, alongside their underlying models. She describes system prompt learning as using feedback from past attempts to improve those instructions over time.
The Unreasonable Effectiveness of Prompt Learning
Speaker
Aparna Dhinakaran of Arize explains how prompt learning and evaluation can improve coding agents, using Claude Code and Kline benchmarks as examples.
She contrasts prompt learning with reinforcement learning, where a system may get a score but little guidance on how to improve. Prompt learning adds written explanations of errors, which can help teams update agent instructions without fine-tuning the model.
The team tested Claude Code and Kline on SWE-bench, starting with no added repository rules. With Claude Sonnet 4.5, Kline resolved about 30% of issues and Claude Code about 40%. They ran the agents, checked patches with unit tests, and used an LLM judge to explain failures.
The judge received the problem, the agent’s solution, the tests, and the actual solution, then identified whether the patch passed and why it failed. Those explanations fed a meta-prompt that generated rules to append to the agents’ system prompts. Across 150 SWE-bench Lite examples, the team reported a 5% improvement for Kline and 15% for Claude Code.
Dhinakaran compares the approach with GEPA, a DSPy prompt optimizer that also uses English feedback. She says GEPA required more loops and rollouts in their side-by-side benchmark, and emphasizes that carefully designed evaluations were central to getting useful explanations.
Takeaways
- Use failure explanations, not just pass rates, to decide how agent instructions should change.
- Run unit tests and use an evaluator that explains what went wrong on each task.
- Append learned repository rules to the system prompt before considering model fine-tuning.
- Track baseline and updated performance on the same benchmark set.
- Invest in evaluation prompts: their explanations shape the quality of prompt improvements.
Mentioned in this talk
Search inside this talk
What was claimed 7
- foundedAparna Dhinakaran founded
Arize AICo-founder and CPO“I'm one of the founders of Arize”
0:03inBreak It 'Til You Make It: Building the Self-Improving Stack for AI AgentsYouTube Verified9 sources· Talk, Web· archived
- metric
Kline: Resolved about 30% of GitHub issues at the starting benchmark
“Kline resolved about 30% of GitHub issues”
YouTube Unverified1 source· Talk
- metric
Claude Code: Resolved about 40% of GitHub issues at the starting benchmark
“Claude Code resolved about 40% of the GitHub issues”
YouTube Unverified1 source· Talk
- featureprompt learning: Uses English feedback from evaluations to generate system prompt rules
“The LLM-as-a-judge evaluation gave us an explanation of why it failed”
YouTube Unverified1 source· Talk
- metric
Claude: Prompt learning increased GitHub issues resolved by 15% on 150 SWE-bench Lite examples
“Claude up by 15%”
YouTube Unverified1 source· Talk
- metric
Claude Code: Prompt learning increased GitHub issues resolved by 5% on 150 SWE-bench Lite examples
“we were able to get Cloud Code up by 5% in GitHub issues resolved”
YouTube Unverified1 source· Talk
- featureGEPA: Prompt optimizer that uses English feedback inside the prompt
“GEPA is a prompt optimizer from DSPy”
YouTube Unverified1 source· Talk










