Skip to main content

Sales Copilot on GitHub

Complete source code, installation guide, and configuration

What Is It?

Your AI sales coach, live during every call. Sales Copilot records your sales calls and provides real-time coaching while you talk. It captures screen, mic, and system audio, runs dual-channel transcription (your voice vs. customer’s), and feeds everything into a parallel analysis pipeline that produces sentiment scores, cue cards, nudges, talk ratio monitoring, and playbook tracking—all updated live. When the call ends, you get a structured summary with action items, objections, and risk assessment.
The Power: Customer says “That’s expensive.” Instantly, a cue card appears: “Acknowledge, then pivot to ROI. Mention Case Study #2 showing 3x return in 6 months.”

Why Sales Teams Need This

In-Call Assistance

Get help when you need it most:
  • Cue cards appear when objections detected
  • Sentiment shifts alert you immediately
  • Talk ratio warnings keep you balanced
  • Playbook progress shows what to cover

How The Copilot Works

The magic happens through parallel real-time analyzers:
1

Dual-Channel Transcription

Your mic = “you” (the rep). System audio = customer. This separation powers all downstream analysis.
2

Sentiment Analysis

Tracks customer sentiment using pattern detection and optional LLM analysis. Scored per segment, trended over time.
3

Cue Card Engine

Detects objection types (pricing, competition, timing, authority) and surfaces matching response suggestions in real-time.
4

Talk Ratio Monitoring

Calculates balance between rep and customer speaking time. Alerts when ratio drifts outside ideal 40-60% range.
5

Nudge Engine

Generates contextual alerts: monologue warnings, sentiment dip alerts, ratio warnings when conversation is one-sided.
6

Playbook Tracker

Tracks which discovery questions from your playbook have been covered. Shows completion percentage and highlights gaps.

Key Features

Real-Time Speech-to-Text
  • Separate channels for you and customer
  • Live transcription powered by VideoDB
  • Recording history with full transcripts
  • Screen, mic, and system audio capture
Context-Aware Prompts
  • Pricing objection responses
  • Competitive positioning
  • Authority and decision-maker questions
  • Timing and urgency handling
  • Custom cue cards configurable
Customer Emotion Analysis
  • Real-time sentiment scoring
  • Trend line throughout call
  • Alerts on sentiment dips
  • Pattern-based and LLM analysis
Track Engagement
  • Talk ratio (rep vs customer)
  • Speaking pace and question count
  • Engagement score
  • Monologue detection
Discovery Question Tracking
  • Which questions you’ve covered
  • Completion percentage
  • Missing topics highlighted
  • Customizable playbook
AI-Generated Report
  • Key points and action items
  • Objections raised and handled
  • Competitive mentions
  • Risk assessment
  • Next steps recommended
Mark Important Moments
  • Quick bookmark during calls
  • Review later with context
  • Share with team

Real-World Impact

New Reps

Onboard Faster
  • Live coaching reduces ramp time
  • Cue cards provide instant guidance
  • Learn from post-call summaries

Experienced Reps

Close More Deals
  • Never miss an objection
  • Stay balanced in conversation
  • Cover all discovery questions

Sales Managers

Team Performance
  • Review call summaries quickly
  • Identify coaching opportunities
  • Track objection patterns

Tech Stack

Built for performance and reliability:

Electron 34

Desktop application shell

React 19 + TypeScript

Modern UI with full type safety

tRPC 11

Type-safe API layer

Drizzle + SQLite

Local offline-first storage

VideoDB SDK

Recording and transcription

Tailwind + shadcn/ui

Beautiful, modern interface

Getting Started

Prerequisites
1

Clone and Install

git clone https://github.com/video-db/videodb-capture-quickstart.git
cd videodb-capture-quickstart/apps/electron/sales-copilot
npm install
2

Rebuild Native Modules

Run npm run rebuild to rebuild Electron native modules.
3

Start Development

Run npm run dev to start the app in development mode.
4

Register API Key

Enter your VideoDB API key when the registration modal appears.
5

Start First Call

Grant permissions, start recording, and watch the copilot analyze your conversation in real-time!
macOS Permissions RequiredGrant in System Preferences > Privacy & Security:
  • Microphone (for voice recording)
  • Screen Recording (for screen capture)

Configuration

All copilot features are configurable:
FeatureCustomizable
Cue CardsAdd your own objection types and responses
Sentiment AnalysisEnable/disable, configure sensitivity
Talk RatioSet ideal range (default 40-60%)
PlaybookDefine your discovery questions
NudgesConfigure timing and conditions
Access settings from the Settings menu in the app.

Privacy & Data

Local Database - All data stored in SQLite at ~/Library/Application Support/sales-copilot/
Secure Storage - API keys encrypted, credentials protected
User Control - Delete recordings anytime, export transcripts
Webhook Security - Cloudflare tunnel auto-created for secure webhooks

Complete Setup Guide on GitHub

Detailed installation instructions, configuration options, and troubleshooting guide