agent-auth

By (author)Better Auth

Tech stack:
TS
CSS
JS
HTML
Unclaimed library. This page was created automatically because AI-built apps on Devmarketplace use this open-source package. Are you the maintainer? Contact us to claim this page and showcase your work.

Agent Auth
AI Contributions:0
Published At:June 11, 2026
Files Included:0 file(s)
Updated At:July 22, 2026

Read Me

Agent Auth

Open-source implementations of the Agent Auth Protocol—authentication, capability-based authorization, and service discovery for AI agents that connect to your product.

Agents discover your service, register with a cryptographic identity, request capabilities, and run them. Sensitive actions stay behind user approval. The canonical specification is nicepkg/agent-auth-protocol on GitHub.

Packages

PackageDescriptionInstall
@better-auth/agent-authBetter Auth server pluginnpm i @better-auth/agent-auth
@auth/agentClient SDK for agent runtimesnpm i @auth/agent
@auth/agent-cliCLI and MCP servernpx @auth/agent-cli

Examples

Next.js reference apps under examples/ integrate @better-auth/agent-auth with Drizzle:

  • agent-deploy — Baseline flow with email/password sign-in
  • gmail-proxy and vercel-proxy — Same stack with WebAuthn/passkeys enabled (pick whichever structure fits your app)

The apps/ directory contains internal applications (directory, desktop, browser extension) used in development and demos.

Additional packages and examples will be added over time.

CI and releases

GitHub Actions (under .github/workflows/):

  • CI — On pull requests and pushes to main / canary: pnpm fmt:check (Oxfmt), then install with a frozen lockfile and turbo build, typecheck, and test for packages/* only (published libraries), on Node 22.x and 24.x (see .nvmrc). Format the tree locally with pnpm fmt.
  • Release — Pushing a tag v* runs changelogithub, builds the same packages, and runs pnpm -r publish to npm. Required: repository secret NPM_TOKEN with publish access. Tags matching *-beta, *-rc, *-canary, or *-next publish under that dist-tag; stable tags must point at a commit on main (or a v*.*.x-latest branch), matching the Better Auth release rules.
  • Preview — Pull requests trigger pkg-pr-new for installable previews of ./packages/*.
  • npm dist-tag — Manual workflow to move a dist-tag on an existing version.

Optional: set TURBO_TOKEN and repository variable TURBO_TEAM (or rely on the default team) for Vercel Remote Cache, same idea as Better Auth.

License

MIT

Loading

Loading

Loading

More like this View all

Unclaimed librarybetter-auth

The most comprehensive authentication framework

  • 0

    Ratings

  • 0

    Files

    • TS
    • JS
    • +2

    Tech stack

Unclaimed libraryai

The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents

  • 0

    Ratings

  • 0

    Files

    • TS
    • JS
    • +4

    Tech stack

Unclaimed librarymonaco-editor

A browser based code editor

  • 0

    Ratings

  • 0

    Files

    • JS
    • TS
    • +3

    Tech stack