ALASKA is a veteran-focused encrypted AI assistant for claims, benefits, healthcare, documents, voice, and crisis support.
It is designed to feel like a real personal assistant for a single veteran profile — conversational chat, voice mode, real VA form auto-fill, encrypted storage, task planning, and VA-aware routing — all in one secured dashboard.
The product emphasizes privacy, speed, and practical action:
- keep sensitive data local and encrypted
- auto-fill real VA PDFs from the veteran's profile
- detect crisis language and respond safely
- use AI to summarize, plan, and organize next steps
- Make veteran support feel personal, immediate, and trustworthy.
- Keep sensitive data encrypted in the browser.
- Turn natural language into filled VA forms, practical actions, and reminders.
- Support voice-first interaction and conversational follow-up.
- Provide a single demo-ready experience that feels like a real product.
The app centers around one authenticated veteran profile and a five-tab dashboard.
Main areas:
- Voice — hands-free conversational AI
- Chat — text-based assistant with conversational form filing
- Tasks — planning and scheduling support
- form_filler.ai — standalone 7-step VA form wizard
- secure.hub — unified encrypted storage: files, vault, notes, health summary, encryption demo
- Sign up and sign in with email and password.
- Demo login uses a prebuilt veteran identity with realistic profile data.
- User profile is stored in session storage for the active session.
- Persistent conversation with AI, encrypted history.
- VA department routing badges (VBA, VHA, NCA, CRISIS).
- Conversational form filing — veteran says "file a disability claim" and Alaska prepares the real PDF form inline.
- Document attachment from vault — 📎 button lets the veteran attach encrypted vault files as chat context.
- Crisis detection with crisis line routing.
The core differentiator. When a veteran says a triggering phrase in chat:
- Alaska detects the intent and loads the real VA PDF from the filesystem.
- Gemini Vision reads all AcroForm fields from the PDF.
- A deterministic profile mapper pre-fills every matching field from the veteran's profile.
- A form card appears inline in the chat conversation showing all fields grouped by section.
- Fields show: ✓ auto-filled · ⚠ needs input · ✗ manual required.
- Veteran reviews inline, edits any field, uses voice input for narratives.
- Veteran says "check it" — Alaska reviews every field and flags issues.
- Veteran downloads the filled PDF, saves to vault, or opens the submission guide.
Supported forms: 21-526EZ, 21-0781, 10-10EZ, 22-1990, 20-0995, 10-0998, 21-4142, 21P-530EZ, 10-10D, 21P-527EZ.
Standalone 7-step form wizard for when the veteran wants to manually select and fill a form:
- Upload or select a VA form
- Gemini Vision analyzes and extracts fields
- Auto-fill preview from veteran profile
- Step-by-step question guide for missing fields
- Tips per form
- Save to vault
- Submission guide with exact VA office addresses
- Tap-to-speak microphone interaction.
- Speech recognition for input.
- Speech synthesis for spoken replies — the form card speaks to the veteran.
- Voice mode supports a follow-up conversation style.
- Natural language task input.
- Auto-detects priority, deadlines, and VA form references.
- Designed to support planning, scheduling, and follow-through.
Unified security module with five internal sub-tabs:
- Files — drag-drop upload, AI document analysis, Q&A per file
- Vault — encrypt and store sensitive documents by type, reveal on demand
- Notes — encrypted auto-save notes with sidebar
- Health — blurred medical profile with access log for emergency responders
- Encryption — live AES-256-GCM encryption demo with ciphertext visualization
- Crisis language is detected before normal AI routing.
- Critical cases trigger a fullscreen crisis banner with spoken support.
- Veterans Crisis Line: 988 Press 1 · Text 838255 · veteranscrisisline.net
- Panic overlay for CRITICAL distress level.
ALASKA uses AI as a personal assistant, not a generic chatbot.
AI behavior goals:
- sound human and respectful
- keep replies short and practical
- remember prior conversation context
- explain next steps clearly
- plan tasks and appointments when asked
- support panic and emergency flows safely
Provider support:
- Claude Sonnet 4.6 is the primary provider (Anthropic SDK).
- Gemini 2.0 Flash is used for file-aware workflows and as fallback.
- Gemini Vision is used for form field extraction and document analysis.
The form pipeline has three parts:
Field extraction (/api/form-pdf-fields):
- Read the real PDF from
public/using the filesystem. - pdf-lib extracts all AcroForm field names and types.
- A deterministic mapper fills known fields from the profile (name, SSN, DOB, address, service dates, bank info).
- Gemini Vision receives the PDF + field list and returns human labels, section groupings, and remaining values.
- Results are merged and returned to the front end.
Form display (PDFSmartFormCard):
- Dynamic card in the chat thread, no static field definitions.
- Fields grouped by Gemini-determined section names.
- Inline editing, voice input for narratives, progress bar.
PDF filling (/api/form-pdf-fill):
- Receives field name → value pairs from the front end.
- pdf-lib fills TextField, CheckBox, Dropdown, and RadioGroup fields.
- Returns filled PDF as base64 for browser download.
The backend uses Next.js API routes.
Main routes:
/api/ai— main AI orchestration (crisis detection, routing, Claude/Gemini)/api/form-pdf-fields— PDF field extraction with pdf-lib + Gemini/api/form-pdf-fill— AcroForm filling with pdf-lib/api/form-analyze— Gemini Vision document analysis
Request flow for chat:
- Receive user text, history, and optional file data.
- Run crisis detection.
- Run VA department routing.
- Build system context from the active profile.
- Send the request to Claude (primary) or Gemini (fallback).
- Rank and sanitize the response.
- Return routing, form cards, and assistant text to the UI.
- Sensitive values are stored encrypted in the browser (AES-256-GCM).
- Clipboard protection replaces copied content with ciphertext outside the app.
- Session keys are kept in memory only, never persisted.
- localStorage is used only for encrypted payloads.
- Environment secrets are excluded from git via
.gitignore.
| Area | Technology |
|---|---|
| Framework | Next.js 14 App Router |
| UI | React 18, inline styles + CSS variables |
| AI (chat) | Claude Sonnet 4.6 (primary), Gemini 2.0 Flash (fallback) |
| AI (forms/files) | Gemini Vision 2.0 Flash |
| PDF manipulation | pdf-lib 1.17.1 |
| Encryption | Web Crypto API, AES-256-GCM |
| Voice | Web Speech API (recognition + synthesis) |
| Storage | sessionStorage (session), localStorage (encrypted only) |
| Deployment | Vercel |
app/page.js— landing and demo loginapp/dashboard/page.js— main five-tab shellapp/api/ai/route.js— AI orchestration (Claude + Gemini)app/api/form-pdf-fields/route.js— PDF field extractionapp/api/form-pdf-fill/route.js— PDF form fillingapp/api/form-analyze/route.js— Gemini Vision document analysis
components/ChatView.js— persistent assistant chat with form filingcomponents/PDFSmartFormCard.js— inline PDF form card in chatcomponents/VoiceView.js— conversational voice assistantcomponents/TasksView.js— planning and task trackingcomponents/FormFillerView.js— standalone 7-step form wizardcomponents/SecureHubView.js— unified secure.hub (Files + Vault + Notes + Health + Encryption)components/PanicOverlay.js— emergency panic workflowcomponents/MarkdownContent.js— AI response markdown renderer
lib/encryption.js— AES-256-GCM encryption and encrypted persistencelib/vaForms.js— VA form registry, veteran profile, autoFillField()lib/formTriggers.js— chat intent detection for 10 VA forms + check-itlib/vaRouter.js— VA department routing (VBA/VHA/NCA/CRISIS)lib/crisisDetector.js— crisis language detectionlib/panicDetector.js— panic severity classificationlib/intentRouter.js— navigation intent routinglib/responseRanker.js— response cleanup and form card extractionlib/clipboardProtection.js— encrypted clipboard
public/VBA-21-526EZ-ARE.pdf— Disability Compensationpublic/VBA-21-0781-ARE.pdf— PTSD Stressor Statementpublic/VA Form 10-10EZ.pdf— Healthcare Enrollmentpublic/VBA-22-1990-ARE.pdf— GI Bill Educationpublic/VBA-20-0995-ARE.pdf— Supplemental Claimpublic/VBA-21-4142-ARE.pdf— Release of Recordspublic/VBA-21P-530EZ-ARE.pdf— Burial Benefitspublic/VA Form 10-10d.pdf— CHAMPVA Dependentspublic/VBA-21P-527EZ-ARE.pdf— Veterans Pensionpublic/10-0998 online corrected.pdf— Higher-Level Review
- User signs in or chooses the demo account (John Doe, US Army, 100% P&T).
- Dashboard loads with five-tab navigation.
- User says "file a disability claim" in chat.
- Alaska loads the real 21-526EZ PDF, pre-fills 60+ fields from the veteran profile.
- User reviews the inline form card, edits as needed.
- User says "check it" — Alaska reviews every field and flags issues.
- User downloads the filled PDF in one click.
- User can also upload documents, chat, use voice, manage tasks, or access secure.hub.
ALASKA is positioned as a veteran-specific personal assistant with privacy, form automation, and VA-aware guidance built into the product itself.
The goal is not to be a generic chatbot. The goal is to feel like a secure, useful, highly personal support tool for one veteran at a time — one that can actually fill out their paperwork.
No middleman. No breach risk. No 4-hour hold times.
18,000,000 veterans. $23,000,000,000 in unclaimed benefits annually. 4.5 hour average VA phone hold time.
Alaska changes that in 30 seconds.