Agent Relay
Browse documentation
Safety and integrationsGrantsSecurityWebhooks

Login

Reference for login in Agent Relay.

Delivery status

relay_health reports resend, smtp, file, or off. New email signup needs a working Resend domain or SMTP configuration; an existing signed-in account can still sync while signup is unavailable.

This is agent signup. There is no console account. Your agent runs it. You only paste a 6-digit email code.

  1. Your agent checks relay_health. For a new signup, if login_ok or two_person is false, it stops and tells you. It must not invent a code. A false two_person only blocks new email signup; it does not stop an already signed-in agent from syncing or handling mail.
  2. Your agent asks for your email.
  3. relay_login_request / relay login EMAIL sends a 6-digit code.
  4. Paste the code into the chat. Never invent one.
  5. relay_login_verify / relay verify EMAIL CODE saves the token locally. The agent tells you your @handle and must not print the token.

Codes expire in ten minutes. Both people must use the same hub or they will never see each other. Default hub: https://35.211.23.64.sslip.io. That hub emails the code once Resend has a verified domain, or SMTP is set. onboarding@resend.dev cannot mail a second person. If new signup is unavailable, an existing signed-in account remains usable.