Skip to main content

Overview

The PassAgent dashboard is the central control plane for credential management, security monitoring, and agent operations. It is built with Next.js App Router and organized into functional modules accessible from the sidebar navigation.

Password Vault

Encrypted credential storage with search, categories, and strength indicators

Security Center

Score ring, breach monitoring, password health, device trust

AI Chat

Conversational interface for automated password resets

Generator

Random, memorable, and PIN generation with crack-time estimation

Integrations

OAuth, IMAP, CSV import, Slack/Discord webhooks

Settings

Account, security, and notification preferences

Architecture


Main Dashboard

The primary view (/dashboard) serves as the credential management hub displaying all stored passwords with real-time search, category filtering, and security indicators.
FeatureDescription
Password listSortable table with name, username/email, website, and strength badge
Quick searchInstant filter across service names, usernames, and URLs
Inline actionsCopy password, reveal/hide, open website, trigger AI reset
AI chat panelSlide-out conversational interface for automated resets
Service faviconsAuto-resolved icons from the known-services registry
The dashboard aggregates cross-feature data: active shares count, pending shares, trusted devices count, 2FA enrollment status, and connected integrations count.

Security Center

The security center (/dashboard/security) provides a comprehensive security posture view.

Security Score

A circular ring indicator showing the overall score (0-100), calculated as max(0, 100 - weakPasswords * 10), accounting for password strength, 2FA status, breach exposure, and device trust.

Tab Panels

TabContent
Password HealthLists all passwords with strength ratings. Filter by weak, reused, old, or compromised. One-click reset action launches the AI chat flow.
Breach MonitorChecks emails against HIBP. Add/remove monitored addresses. Compromised credentials flagged for rotation.
Account Protection2FA management: enrollment, TOTP QR setup, recovery codes, verification, and disabling.
Device TrustTrusted device list with fingerprint verification. Auto-detects new devices. Supports rename, revoke, restore, and remove.
Below the tabs, a ranked list of recommended security actions (enable 2FA, reset weak passwords, remove untrusted devices, etc.) with inline completion and a progress counter.

AI Chat Interface

The chat view (/dashboard/chat) provides the primary interface for automated password resets. Users type requests like “Reset my Instagram password” and the orchestrator handles the multi-phase execution.
  1. User sends a reset request
  2. Orchestrator identifies the service via the service registry
  3. Playbook, universal agent, or vision AI executes the reset
  4. Progress streams to the chat UI via <!-- section:progress --> markers
  5. Screenshots and status updates render inline as accordion panels
  6. On success, the new password is saved to the vault
The chat also handles CAPTCHAs, OTP codes, and reset link confirmations.

Password Generator

The generator (/dashboard/generator) creates passwords in three modes:
ModeDescriptionControls
RandomCryptographic random charactersLength slider, toggles for lowercase, uppercase, numbers, symbols
MemorableWord-based passphrasesWord count, separator, capitalize toggle
PINNumeric-only codesLength slider (4-12 digits)
Strength tiers: Weak (25%), Medium (50%), Strong (75%), Very Strong (100%), displayed with an animated SVG gauge and crack-time estimation.

Integrations Hub

The integrations page (/dashboard/integrations) manages external connections:
CategoryProvidersConnection Type
EmailGmail, Outlook, YahooOAuth 2.0
ImportBitwarden, LastPass, 1Password, DashlaneCSV file upload
IMAPCustom email serversIMAP credentials
NotificationsSlack, DiscordWebhook URL
Each provider supports multiple connected accounts (e.g., three Gmail accounts simultaneously). The integration list shows account identifier, connection status, expiration, and a disconnect action.

Family & Settings

Family Sharing (/dashboard/family)

  • Create family groups with invite codes
  • Share passwords with granular permissions (view-only or full access)
  • Member management: invite, remove, leave
  • Shared password sync across group members

Settings (/dashboard/settings)

SettingTypeDefault
Two-Factor AuthenticationToggleOff
Password Rotation PeriodNumber (days)30
Automatic RotationToggleOn
New Login NotificationsToggleOn
SettingTypeDefault
Email NotificationsToggleOn
Password Rotation RemindersToggleOn
Security AlertsToggleOn
Weekly Security DigestToggleOff

API Routes

RouteMethodDescription
/api/passwordsGET, POSTList and create password entries
/api/passwords/[id]GET, PUT, DELETEManage individual passwords
/api/security/overviewGETSecurity score, weak count, agent status
/api/vault/saltGET, POSTZero-trust vault salt management
/api/encryptPOSTClient-side encryption helper
/api/decryptPOSTClient-side decryption helper
RouteMethodDescription
/api/2fa/enrollPOSTBegin 2FA enrollment
/api/2fa/verifyPOSTVerify 2FA token
/api/2fa/statusGETCheck 2FA enrollment status
/api/devicesGET, POST, DELETETrusted device management
/api/hibpPOSTBreach database check
RouteMethodDescription
/api/chat-resetPOSTAI-powered password reset
/api/universal-password-resetPOSTUniversal agent reset
/api/vision-agentPOSTVision AI reset
/api/gmailGETOTP/link retrieval

Service Registry

The service registry (lib/agents/service-registry.ts) provides per-service configuration for 12 major services with a generic fallback:
ServiceReset URLRecovery Method
Instagram/accounts/password/reset/Magic link
Facebook/login/identifyOTP email
Google/signin/v2/usernamerecoveryOTP SMS
GitHub/password_resetReset link
Twitter/X/i/flow/password_resetOTP email
Microsoft/password/resetOTP email
Discord/login (forgot link)Reset link
OpenAIDynamic (chat flow)Reset link
The registry uses domain aliasing: gmail.com maps to Google, x.com to Twitter, outlook.com and live.com to Microsoft, and chatgpt.com to OpenAI.