Cursor tracks agent code keep rate
Tibor Tee, a community developer at Cursor, shared that the team tracks the "Keep Rate," the percentage of agent-generated code remaining in a user's codebase over time. This telemetry helps evaluate the long-term quality and correctness of AI agent output.
Code volume is a vanity metric; "Keep Rate" is the ultimate measure of AI agent utility and codebase hygiene.
- –High AI code acceptance rate means nothing if developers must immediately refactor or delete the generated changes.
- –Tracking survival rates over fixed time intervals exposes the long-term maintainability of agentic output.
- –This telemetry allows the Cursor team to continuously run online A/B testing and calibrate their models based on actual human retention.
- –The metric incentivizes building agents that prioritize code correctness over sheer output speed.
DISCOVERED
1d ago
2026-06-20
PUBLISHED
1d ago
2026-06-20
RELEVANCE
AUTHOR
tibor_tee