Claude SWE-Bench Performance
Jan 6, 2025

Summary
This post details the development of an agentic system around Claude 3.5 Sonnet to achieve high performance on the SWE-bench benchmark. It explains the agent's minimal scaffolding, consisting of a Bash Tool and an Edit Tool, and the design philosophy of giving the language model maximum control. Specific technical contributions include detailed tool descriptions designed to preempt model misunderstandings, error-proofing mechanisms for tools (e.g., requiring absolute paths for the Edit Tool), and a string replacement strategy for file edits with exact match requirements. The post also discusses challenges encountered, such as duration/cost, grading accuracy, hidden tests, and the limitations of current multimodal integration for debugging.
More from the AI Code Generation and Software Engineering Agents trail
- Using Claude Science to produce the first complete map of the sky in UV light
- Project Swap: What happens when agents trade for us?
- Automated researchers can reliably mitigate alignment failures
- How Claude is accelerating protein design and analytical chemistry
- Patterns and problems in multiagent systems