Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 4 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Better Auth

Comprehensive authentication framework for TypeScript with multiple strategies.

Auth and security librariesNPM

GitHubWebsite

1. License

License from npm.

github.com/better-auth/better-auth

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Better Auth does

Comprehensive authentication framework for TypeScript with multiple strategies.

Better Auth popularity

79 / 100
Gid Score, #113 overall
21.1M
downloads a week, npm
30.9K
GitHub stars
103
agent projects use it
Better Auth: downloads per weeknpm, better-auth 21,121,233
Better Auth: GitHub starsbetter-auth/better-auth 30,856

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Better Auth is used

  • Better Auth is a dependency in 103 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.1% of the 4,867 JavaScript/TypeScript ones), #7 of 141 in auth and security libraries.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 362; those are left out of every share on this page.
  • The most used alternative in our scan is NextAuth.js (150 projects).
  • Projects that use it most often also use Tailwind Merge (77.7%), clsx (76.7%), Lucide React (76.7%).

By coding agent

57 projects, 1.9%
53 projects, 1.6%
43 projects, 1.8%
15 projects, 4.4%
8 projects, 1.7%
7 projects, 1.5%
5 projects, 1.8%

Often used with

In 77.7% of its projects
In 76.7% of its projects
In 76.7% of its projects
In 72.8% of its projects
In 68.9% of its projects
In 80.6% of its projects
In 89.3% of its projects
In 58.3% of its projects

More about Better Auth

Funding
  • GitHub Sponsors: https://github.com/better-auth
  • 10 GitHub sponsors

See all

Agent Skills for it
  • better-auth-best-practices: Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when
  • better-auth: Implement authentication and authorization with Better Auth - a framework-agnostic TypeScript authentication framework. Features include ema

See all

Head to head
More in Auth and security libraries

Alternatives

Better Auth This page

MITGid 7921.1M/wk

NextAuth.js

Complete open-source authentication solution designed for Next.js applications.

ISCGid 759.4M/wk

Clerk

Modern authentication and user management SDK for Next.js and React.

MITGid 624.1M/wk

Passport.js

Modular authentication middleware for Node.js supporting OAuth, JWT and local strategies.

MITGid 6910.5M/wk

Compare Better Auth with another tool

Get started

Install it.

npm install better-auth

No step-by-step start for Better Auth yet: we have not written its hand-checked card.