From the experiment

Do coding agents recommend Better Auth?

Better Auth took 3% of the choices in 1,063 judged authentication sessions, ranking seventh.

Published November 24, 2026 Read as Markdown

Better Auth took 3% of the choices in 1,063 judged authentication sessions, ranking seventh. It was also raised as a candidate in 85 further sessions without being chosen.

This page reports what happened when Claude Code, Codex, Cursor, Grok Build CLI and Muse Code had to solve a problem in authentication inside a realistic codebase. Not what a chat assistant says about Better Auth. What an agent actually installed.

The numbers

CategoryAuthentication
Sessions in the category1063
Sessions where Better Auth was chosen38
Share of the choices3%
Rank in category7 of 28
Codebases it won in3
Raised as a candidate, not chosen85
Chosen when considered31%
Sitebetter-auth.com

By agent

Claude Code, Codex, Cursor, Grok Build CLI and Muse Code land within 6 points of each other on Better Auth, which is closer than most products in this experiment manage.

AgentSessionsChose Better AuthShare
Claude Code20194%
Codex34091%
Cursor13376%
Grok Build CLI5000%
Muse Code339134%

By who was asking

Better Auth performs similarly across the four kinds of buyer, from 0% to 6%. That is unusual: the category leader changed with the persona in 22 of the 31 categories we measured.

Who is askingSessionsChose Better AuthShare
Vibe coder14200%
Junior developer328256%
Senior engineer358134%
Enterprise team23500%

What Better Auth was up against

The full ranking in authentication, from the same sessions:

#ProductRuns wonShare
1WorkOS AuthKit19923%
2Auth026222%
3Clerk13111%
4Microsoft Entra ID11510%
5Arctic175%
6Keycloak424%
7Built in-house (no product adopted)854%
8Better Auth (this page)383%

What this means

Better Auth was raised in 85 sessions and chosen in 38. That ratio is balanced enough that the ceiling is presence rather than integration: the product converts reasonably when it is on the table, and it is not on the table often enough.

Where these numbers come from

The 1,063 sessions in authentication are part of a published set of 19,501, run with real coding agents inside realistic codebases and judged blind. The full method is on one page: how we measured this.

Every authentication run can be replayed on the board.

If you work on Better Auth: the judge recorded a reason for every session where it was raised and passed over. Those reasons are in the transcripts.

<!-- generated by scripts/write-data-pages.mjs -->

Common questions

Do coding agents recommend Better Auth?

Yes. Better Auth was chosen in 38 of the 1063 judged sessions in authentication and took 3% of the choices, ranking seventh in its category.

Does Claude Code recommend Better Auth?

In 9 of the 201 sessions in authentication run with Claude Code, 4% of its choices.

Do different coding agents treat Better Auth differently?

Not much. Claude Code, Codex, Cursor, Grok Build CLI and Muse Code chose it at similar rates, between 0% and 6% of their choices.

How was this measured?

Real coding agents at pinned versions were run in sandboxes inside 110 realistic codebases and asked to solve real tasks. A simulated project owner approved or questioned each recommendation before any code was written, and a judge from a model family that builds none of the agents read every session blind.

How often is Better Auth considered but not chosen?

It was raised as a candidate in 85 sessions without being chosen, and chosen in 38. That is a 31% conversion from considered to chosen.

Where this comes from

Armature ran 19,501 judged sessions with Claude Code, Codex, Cursor, Grok Build CLI and Muse Code inside 110 realistic codebases, and published every run. The numbers on this page come from that work.

Read next

All library pages