# Better Auth — card for AI agents

Comprehensive authentication framework for TypeScript with multiple strategies.

Category: Auth and security libraries · npm package `better-auth` · latest version 1.7.14 (checked 2026-11-01)
Install: `npm install better-auth`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Agent Skills for it
- better-auth-best-practices from midudev/autoskills: `npx skills add midudev/autoskills --skill better-auth-best-practices`
- better-auth from mrgoonie/claudekit-skills: `npx skills add mrgoonie/claudekit-skills --skill better-auth`

## Numbers (AgentGid data)
- Gid Score: 79.3 (#113 of all tools, 1 of 141 in its category)
- Used in 103 public projects set up for AI coding agents (1.6%)
- Downloads last week: 21,121,233 (as of 2026-11-24), +68.0% over 4 weeks
- GitHub stars: 30,856 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
Tailwind Merge 77.7%, clsx 76.7%, Lucide React 76.7%, Class Variance Authority 72.8%, tw-animate-css 68.9%, Zod 80.6%

## Checked alternatives (same job)
- NextAuth.js: https://agentgid.com/tools/next-auth/agent.md
- Clerk: https://agentgid.com/tools/clerk/agent.md
- Passport.js: https://agentgid.com/tools/passport/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/better-auth/
- Homepage: https://better-auth.com
- Repository: https://github.com/better-auth/better-auth

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
