StripeKiran PrasadBenchmark
Stripe evals: Measuring real-world coding agent performance
Summary
Stripe built an evaluation framework to measure how well coding agents build high-quality Stripe integrations, addressing the problem that agents bias toward older APIs and miss key features. The benchmark includes 69 scenarios across one-time payments, subscriptions, and Connect, tested on 14 model and harness pairs with and without the Stripe agent plugin. A Stripe agent plugin improved scores by 3 to 8 percentage points across all agents and reduced web searches by 96%, as models relied on trusted guidance instead of searching the web. The plugin also reduced outdated parameter references from 7% to 1.3% of API call parameters, and agents wrote about 40% fewer test lines. However, strict pass rates requiring all criteria to pass dropped the average from 78.1% to 29.4%, showing agents struggle with the last mile of correctness, such as checking order eligibility after payment.
Context
Coding agents often produce incorrect Stripe integrations because they favor older APIs prevalent in training data, miss key features, and hallucinate. Existing coding benchmarks only check deterministic code passes, not API integration correctness.
Approach / What changed
Stripe built an evaluation framework with 69 scenarios across payments, subscriptions, and Connect, using a roleplaying agent to drive scenarios and a judge model to score criteria. They also developed a Stripe agent plugin that provides MCP tool calls and skills to steer agents toward better integrations.
Takeaways
The Stripe agent plugin improved scores by 3 to 8 percentage points across all 14 tested model and harness pairs and reduced web searches by 96%.
Strict pass rates requiring all criteria to pass dropped the average score from 78.1% to 29.4%, indicating agents struggle with the last mile of correctness.
The plugin reduced outdated parameter references from 7% to 1.3% of API call parameters and led to about 40% fewer test lines written.
FAQ
How does the Stripe agent plugin affect coding agent performance?
The plugin improved scores by 3 to 8 percentage points across all agents, reduced web searches by 96%, and decreased outdated parameter references from 7% to 1.3% of API call parameters.
Why do strict pass rates differ so much from average scores?
Strict pass rates require all MUST criteria to pass, while average scores include partial credit. The drop from 78.1% to 29.4% shows agents often create almost correct implementations but miss critical requirements.
What scenarios are included in the Stripe evals benchmark?
The benchmark includes 69 scenarios across one-time payments (24), subscriptions (26), and Connect platforms (19), covering tasks like hosted checkout, metered billing, per-seat subscriptions, and marketplace payment splitting.
Source and freshness
- Source
- stripe.dev
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.