How moritzkremb/jev-sales-copilot works
Sales Copilot accepts call utterances through a browser or transcript replay, analyzes each turn, and returns live probability, signals, stage, objection state, and coaching. The server owns session orchestration; the call engine combines Jev’s typed judgments with code-based scoring and state. Optional tailored phrasing runs off the critical path. The excerpts show core engine, replay, and personalization behavior; some UI and server wiring is supported only by the README, so unsampled relationships are omitted.
Main entry points: engine.py Call session · server.py WebSocket server · index.html Browser UI · jev_client.py Jev client
Components 16
Call interaction
- Browser UI
static/index.html - Call transcripts
data/calls - Transcript loader
copilot/replay.py - Replay CLI
copilot/cli.py
Session runtime
- WebSocket server
copilot/server.py - Call session
copilot/engine.py
Call analysis
- Live call state
copilot/engine.py - Probability and signals
copilot/engine.py - Questions and weights
copilot/constants.py - Stage and objections
copilot/constants.py - Jev client
copilot/jev_client.py
Coaching and integrations
- Coaching playbook
data/playbook.json - Tailored phrasing
copilot/personalize.py
Other components
- Sales rep
- TypeSafe Jev
- Anthropic LLM
Connections 21
- Sales rep → Browser UI: provides utterances
README.md - Browser UI → WebSocket server: sends utterances
README.md - Call transcripts → Transcript loader: loads calls
copilot/replay.py - Browser UI → WebSocket server: starts replay
README.md - WebSocket server → Transcript loader: loads replay
copilot/server.py - Replay CLI → Transcript loader: loads transcripts
copilot/cli.py - Replay CLI → Call session: ingests turns
copilot/cli.py - WebSocket server → Call session: ingests turns
copilot/server.py - Call session → Jev client: judges utterance
README.md - Jev client → Questions and weights: uses model settings
copilot/jev_client.py - Jev client → TypeSafe Jev: requests judgments
copilot/jev_client.py - Call session → Questions and weights: uses thresholds
copilot/engine.py - Call session → Probability and signals: computes state
copilot/engine.py - Call session → Stage and objections: tracks decisions
README.md - Questions and weights → Coaching playbook: loads moves
README.md - Call session → Coaching playbook: selects coaching
README.md - WebSocket server → Tailored phrasing: requests rewrite
copilot/server.py - Tailored phrasing → Anthropic LLM: generates phrasing
copilot/personalize.py - Tailored phrasing → Jev client: verifies phrasing
copilot/personalize.py - WebSocket server → Browser UI: streams updates
README.md - Live call state → Browser UI: renders live results
README.md