1Password for Agents vs. Out-of-Band 2FA Relays: Why Static Vaults Still Stall Unattended Agents
A technical breakdown of what 1Password for Agents and 1Password Service Accounts solve—and why autonomous agents still require an out-of-band Email, SMS, and rollover-safe 2FA relay.
Static Credential Governance vs. Dynamic Out-of-Band Verification
1Password’s Agentic AI products (Personal AI Agent integrations and Browserbase Secure Agentic Autofill) solve an important slice of browser security: governing stored static secrets (usernames, passwords, API keys, and pre-shared TOTP seeds) with human oversight.
However, inspecting how 1Password operates reveals four hard architectural boundaries where unattended background agents still stall:
| Capability | 1Password (Agents & Service Accounts) | Sentry Relay (sentryrelay.com) |
|---|---|---|
| Primary Layer | Static credential vault & human-approved browser autofill | Unattended out-of-band Email, SMS & TOTP 2FA relay |
| Inbound Email OTP & Magic Links | No — cannot receive emails or unwrap click-tracker links | Yes — dedicated @in.sentryrelay.com + 60s Gmail/Outlook forwarding |
| Dedicated Carrier SMS DIDs | No — cannot provision phone numbers or receive SMS codes | Yes — 1 to 20 dedicated US Telnyx carrier DIDs included in paid plans |
| Unattended 3:00 AM Execution | Personal/Director autofill pauses for human mobile approval; SDK works for static secrets | 100% unattended — escalates to humans only on non-auth messages |
| MCP Tool Channel Support | Explicitly avoids MCP data channel for raw credentials | Native stdio (@sentryrelay/mcp) & hosted /api/mcp Streamable HTTP |
| TOTP Rollover Protection | Returns current code even with <2s left in 30s period | autoWaitFreshWindow pauses <=4s to guarantee a fresh 26–30s code |
Why Ephemeral 60-Second OTPs Belong in MCP (While Master Passwords Stay Out)
1Password correctly avoids pushing long-lived master passwords through the Model Context Protocol (MCP) channel so static secrets stay out of LLM context windows.
Single-use 60-second verification codes and RFC 6238 TOTP tokens have the opposite lifecycle: an AI browser agent in Claude Code, Cursor, or Browser Use must read the ephemeral 6-digit code to type it into input[name="code"]. Meanwhile, Sentry Relay keeps your long-lived Base32 TOTP seed locked inside Google Cloud KMS AES-256-GCM envelope encryption—never returning raw seeds over MCP or REST.
Better Together: @1password/sdk for Static Passwords + @sentryrelay/sdk for 2FA
Many production engineering teams deploy both side by side: store static logins inside 1Password Service Accounts (op://vault/item/password), and call Sentry Relay whenever the portal fires an out-of-band Email OTP, Magic Link, or SMS shortcode:
import { createClient } from '@1password/sdk';
import { SentryRelay } from '@sentryrelay/sdk';
const op = await createClient({
auth: process.env.OP_SERVICE_ACCOUNT_TOKEN!,
integrationName: 'nightly-erp-worker',
integrationVersion: '1.0.0',
});
const relay = new SentryRelay({ apiKey: process.env.SENTRY_RELAY_API_KEY! });
// 1. Resolve static password from 1Password Service Account vault
const password = await op.secrets.resolve('op://Production-Bots/Stripe-Portal/password');
await page.fill('input[name="email"]', 'ops@company.com'); // Auto-forwards 2FA to @in.sentryrelay.com
await page.fill('input[name="password"]', password);
await page.click('button[type="submit"]');
// 2. Catch out-of-band Email OTP, Magic Link, or SMS challenge via Sentry Relay (<200ms)
const auth = await relay.wait('stripe-prod-bot', {
sender: 'stripe.com',
timeout: 30,
});
if (auth.event?.otpCode) {
await page.fill('input[name="code"]', auth.event.otpCode);
await page.click('button[type="submit"]');
}