~/CLIRank

Agent-Friendliness Report

Better Auth

Framework-agnostic TypeScript auth library. Self-hosted, open-source, with built-in support for email/password, social login, 2FA, and session management.

82/100

Good

CLI Readiness 9/10 · Quality 7/10

CLI Readiness

9/10
  • Official SDK available+2
  • Env var authentication+2
  • Headless / CI compatible+2
  • CLI tool available+1
  • JSON responses+1
  • curl / CLI doc examples+1
  • Reasonable rate limits+1
  • Machine-readable pricing+1

Quality Score

7/10
  • npm weekly downloads45K
  • GitHub stars9K
  • Days since last release10
  • Issue close ratio75%
  • TypeScript support
  • Docs qualityGood
  • Breaking changesmoderate

Context7 Docs Benchmark

87.5

Trust Score

9.3/10

Snippets

2,773

Tokens

458K

Library ID

/llmstxt/better-auth_llms_txt

Want to improve your score? Here's how

  • This API is already hitting all the major agent-friendliness signals. Nice work.

How we calculate this score

The Agent-Friendliness Score measures how well an API works when used by AI coding agents (Claude Code, Cursor, Copilot) rather than humans in browsers.

CLI Readiness (60%) scores 8 signals that matter for headless, automated use: official SDK availability, env var auth (no browser OAuth), headless compatibility, CLI tooling, JSON responses, curl examples in docs, rate limits, and machine-readable pricing. Each signal is weighted by how much it blocks or enables agent workflows.

Quality (40%) covers SDK maturity and maintenance: npm download volume, GitHub stars, release freshness, issue close rate, TypeScript support, docs quality, and breaking change frequency.

Docs Benchmark (where available) is sourced from Context7, which tests how well an LLM can answer practical questions using the library's documentation.

Coming soon: live agent benchmarks that measure tokens burned, success rate, and time to first working API call using real integration tasks.

How agent-friendly is YOUR API?

Check your score at clirank.dev/score