Documentation.
Sign-in for people and the agents that act for them: a Go library, or a server with a TypeScript SDK for any other backend.
On this page
Quickstart for GoEmbed the library. One call serves every sign-in route, the browser client, and the elements.Quickstart for Next.jsRun the server, proxy /auth/ through your app, and protect pages with the SDK.
tensile-auth signs people in with a passkey, or an email and a password, and gives each agent they delegate to its own narrower, shorter session. Every agent’s session names the person it acts for, and revoking a session ends everything delegated from it at once.
Two ways to run it
- Embed the Go library. One call,
authroutes.Mount, serves every sign-in route, the browser client, and the drop-in elements. You add the service, the routes, and a page. Start with the Go quickstart. - Run the server. For a Node, Bun, or Deno app,
tensile-auth-serveris the library as one binary. The app proxies/auth/to it, so sessions stay in__Host-cookies on the app’s own origin, and checks each request with the server in one call,POST /v1/check. Start with the Next.js quickstart.
For coding agents
Every page here is also Markdown: add .md to its address. /llms.txt lists every page, and a coding agent that reads it follows the library’s tested recipe.