Cursor's continuous improvement system for its AI coding agent harness
Building a reliable AI coding agent harness requires accurately measuring quality beyond benchmarks, catching tool-call degradations at scale, and customizing behavior per model — all while system complexity grows with each new model and capability added.
Early static context-engineering guardrails were deprecated as model capabilities improved, and an experiment using a more expensive model for context summarization showed negligible quality improvement.
Over a focused sprint, Cursor drove unexpected tool call errors down by an order of magnitude and established a continuous automated loop for detecting, investigating, and fixing harness degradations.
Frequently asked questions
What did this team achieve with this AI workflow?
Over a focused sprint, Cursor drove unexpected tool call errors down by an order of magnitude and established a continuous automated loop for detecting, investigating, and fixing harness degradations.
What tools did this team use?
CursorBench, Automation, Cloud Agents, GenerateImage, WebSearch, Linear.
What results were reported?
Unexpected tool call errors: down by an order of magnitude; Agent quality improvement from expensive summarization model: negligible difference (source-reported, not independently verified).
What failed first in this deployment?
Early static context-engineering guardrails were deprecated as model capabilities improved, and an experiment using a more expensive model for context summarization showed negligible quality improvement.
How is this quality assurance AI workflow structured?
Vision-driven hypothesis → Offline eval via CursorBench → Online A/B harness test → Keep Rate tracking → LM satisfaction scoring → Error classification by cause → Anomaly detection alerting → Weekly automated log review → Cloud Agent issue fixing.