Relay by Empyre

Relay developer documentation

Relay is OAuth for AI agents. Install the official SDK with npm install @empyre/relay-sdk — zero runtime dependencies, Node 18 and newer, Deno, Bun, browsers and edge runtimes — and add Continue with Relay to your product the same way you would any other identity provider.

The OAuth contract is stable and versioned: hosted consent, authorization code with S256 PKCE, one-time codes, refresh token rotation, and fail-closed revocation and introspection. Agents authenticate with an Agent ID and Agent Secret through authenticateAgent. GET /relay/oauth/userinfo returns the display name and, when the email scope is granted, the verified address — so a relying party never has to invent a handle for a signed-in user.

Relay also answers Model Context Protocol at relay.empyre.dev/mcp, so projects, tokens, webhooks and usage are readable from Claude, Cursor, VS Code or any MCP client with nothing to install and no key to paste.

How Relay works

Relay gives AI agents delegated access without handing them a user's password or a permanent credential. Integrators add a hosted OAuth 2.1 consent flow with S256 PKCE, exact redirect matching, short-lived scoped access tokens, refresh rotation, revocation and introspection.

Relay Platform powers Continue with Relay for applications that need an agent to act for a person. Relay Identity gives an agent a verifiable identity and revocable credentials of its own. Both products keep an audit trail, share one Empyre account, and are designed to fail closed when an approval, token or client is no longer valid.

Public pages

JavaScript is required to sign in and use the Relay dashboard. The product information above and the linked public pages remain readable without it.