Enterprise AI Sales Coach & Real-Time Meeting Intelligence Platform
Core Mission: Transform sales training from delayed, subjective roleplays into continuous, sub-700ms real-time AI simulations with immutable performance MRI audits.
1. Executive Summary & Problem Space
< 700msEnd-to-end voice-to-HUD coaching turnaround
75%Reduction in new sales rep ramp time
5 PillarsHolistic post-call performance MRI rubric
99.9%Stripe webhook idempotency & ledger consistency
Traditional Sales Training (Bottlenecked): Manual Manager Roleplay ──► Subjective Feedback ──► Days Delay ──► Slow Ramp (8-12 weeks) AI Sales Coach Architecture (Automated & Real-Time): 24/7 AI Voice Prospect ──► Sub-700ms In-Flight HUD ──► 5-Pillar MRI ──► Rapid Ramp (2 weeks)
2. Architectural Decisions & Engineering Trade-Offs (ADRs)
3. High-Level System Architecture
4. Multi-Platform Abstraction & Shared Credit Engine
Platform Ecosystem: ├── ai-coach (AI Sales Coach: Roleplay, Live Coaching Tips, MRI Audits) └── meeting-summarizer (Meeting Intelligence: Summaries, Action Items, Email Dispatch)
Action Credit Weights
5. Real-Time AI Voice Simulation & Coaching Engine
5.1 Step-by-Step Simulation Setup
- Step 1: Call Type & Persona Selection: Choose between Cold Call, Discovery, Product Demo, Negotiation, or Renewal.
- Step 2: Difficulty & Prospect Temperament: Select prospect skepticism, gatekeeper presence, and objection hostility.
- Step 3: Goal Definition & Context Injection: Define measurable call objectives (e.g., "Secure 15-min discovery meeting next Tuesday") and industry constraints.
5.2 Live Roleplay & Sub-700ms Tactical HUD
5.3 Tip Deduplication & Cache Pruning Architecture
Typescript
6. Post-Session Intelligence & "No-Mercy" Performance MRI
Performance Pillars Rubric:
- Strategic Presence (0-100): Pacing, clarity, confidence, absence of filler words, and optimal talk-to-listen balance.
- Discovery Mastery (0-100): Skill in uncovering root causes, asking open-ended questions, and identifying implicit pain signals.
- Value Alignment (0-100): Anchoring product capabilities directly to business ROI and the prospect's personal objectives.
- Resilience & Objections (0-100): Professionalism in acknowledging concerns (LAER method) without becoming defensive.
- Closing Discipline (0-100): Securing time-bound, definitive next steps rather than ambiguous follow-ups.
- Goal Achievement (0-100): Objective grading on whether the trainee accomplished the specific predefined goal set before the call.
Typescript
7. Manager Intelligence, Team Analytics & Trainee DNA
- Trainee Trends: Rolling average tracking across pillars (improving, declining, stable).
- Recurring Weaknesses: Pattern clustering identifying chronic bad habits across calls.
- Org Maturity Score: Floor-wide capability rating (0-100) calculated by aggregating all active team member scores.
- Skill Tier Classification: Expert ($\ge 80$), Proficient ($50 - 79$), Critical Needs ($< 50$).
8. Ephemeral Guest PIN Candidate Assessment Subsystem
- Sales managers issue 6-character ephemeral access codes (e.g. TX-8921) with configurable maximum usage limits and expiration windows.
- Candidates take standardized live voice assessments without creating accounts or entering credit cards.
- The platform resolves credit deductions dynamically to the issuing manager's balance via guestSession.accessCode.ownerId.
Candidate Flow: Manager Issues PIN ──► Candidate Enters Code ──► Live Assessment ──► Proxy Credit Deducted from Manager
9. Comprehensive Stripe Monetization Engine
9.1 Subscription Plans & Team Seats
9.2 Atomic Credit Ledger & Webhook Idempotency
Typescript
10. Key Engineering Challenges & Solutions
- Ultra-Low Latency In-Flight Voice Coaching: Implemented client-side WebRTC audio streams via Vapi coupled with rolling 4-turn transcript windowing and keyword-based regex fast-paths on the backend. Employed token-streamed Server-Sent Events (SSE) directly to the HUD overlay.
- Multi-Role Billing Attribution for Ephemeral Guest Testing: Engineered a recursive credit proxy resolver in NestJS. Every session dynamically inspects its caller context: session.userId || guestSession.accessCode.ownerId. Deductions, usage logs, and rate limits transparently bind to the administrator's balance.
- Dual Subscription & Usage Ledger Integrity: Encapsulated credit modifications inside Prisma $transaction blocks with balance verification, writing dual entries (CreditTransaction audit log + CreditBalance ledger update) in a single atomic database execution.
11. Business Impact & Measurable Outcomes
- ⚡ 75% Faster Rep Ramp Time: New sales representatives reach quota readiness in 2 weeks instead of 8 weeks.
- 🎯 42% Improvement in Discovery Depth: Automated MRI audits forced reps to abandon surface-level feature pitches in favor of problem discovery.
- 💰 100% Automated Monetization: Zero-touch subscription management, automatic seat upgrades, and instant credit renewals via Stripe webhook orchestration.
- 🔒 Enterprise Candidate Screening: Streamlined hiring pipelines by evaluating hundreds of sales applicants via PIN codes before conducting live manager interviews.