Overview
Timepoint Pro generates dialog using a per-character approach where each entity generates their own turns via independent LLM calls. This is fundamentally different from single-prompt “all characters talking” generation—it produces more natural, differentiated voices and allows for sophisticated persona-derived generation parameters.Architecture: LangGraph Pipeline
Dialog synthesis uses a three-node LangGraph pipeline defined inworkflows/dialog_steering.py:
Node 1: Steering Node
The steering agent makes three decisions:-
Next Speaker Selection - Who speaks next based on:
- Narrative arc position
- Recent speaker history (avoid repetition)
- Relationship dynamics
- Entity energy levels
-
Mood Shift Detection - Should emotional tone change?
- Conflict escalation
- Resolution moments
- Tension peaks
-
Dialog Continuation - Should dialog continue or end?
- Turn count
- Narrative completion
- Energy budget exhaustion
Node 2: Character Node
Generates the actual dialog turn with: Persona-Derived LLM Parameters:- Back layer (HOW to speak): True emotional state, withheld knowledge, suppressed impulses
- Front layer (WHAT they know): Filtered knowledge, natural-language relationships
- No “I understand your concern” filler
- No corporate speak (“moving forward”, “circle back”)
- No therapeutic framing (“I hear you”)
- No meta-commentary about the conversation
- No obvious AI patterns (“It’s worth noting that…”)
- Natural contractions and interruptions
- Specific details over vague generalities
Node 3: Quality Gate Node
Three-level evaluation: Level 1: Per-Dialog Evaluation- Narrative advancement score
- Conflict specificity
- Voice distinctiveness
- Progression between conversations
- Relationship consistency
- Knowledge flow coherence
- Character arc consistency
- Causal chain validity
- Temporal plausibility
- 0-3: AI-sounding, robotic
- 4-6: Acceptable but stiff
- 7-8: Natural conversation
- 9-10: Indistinguishable from human
Voice Discipline
The 7-principle voice discipline block prevents AI-sounding output:Principle 1: No Therapeutic Filler
❌ Bad:Principle 2: No Corporate Speak
❌ Bad:Principle 3: No Meta-Commentary
❌ Bad:Principle 4: Specific Over Vague
❌ Bad:Principle 5: Natural Contractions
❌ Bad:Principle 6: Grounded in Action
❌ Bad:Principle 7: Natural Interruption
✅ Good:Archetype Rhetorical Profiles
Timepoint Pro uses 10 archetype profiles defined inworkflows/dialog_archetypes.py that shape how characters speak:
Engineer
Executive Director
Military Commander
Scientist
Politician
Additional Archetypes
- Lawyer: Precedent-based, identifies liability, if-then consequences
- Diplomat: Relationship-first, seeks face-saving solutions, avoids binary choices
- Safety Officer: Risk-based, cites regulations, demands written sign-offs
- Doctor: Differential diagnosis, weighs risks vs benefits, clinical precision
- Journalist: Source-based, asks follow-ups, looks for inconsistencies
workflows/dialog_archetypes.py for complete profiles.
Voice Anti-Exemplars
Each archetype includes a voice anti-exemplar—an example of bad AI-generated dialog for that archetype: Engineer anti-exemplar:Params2Persona Waveform
Entity tensor state maps to LLM API parameters per turn:- High arousal → higher temperature → more unpredictable speech
- Low energy → shorter responses
- Low confidence → more exploratory sampling
- Low patience → more repetitive (self-interrupting)
Fourth Wall Context
Dialog generation uses a two-layer context structure:Back Layer (Hidden from Output)
Front Layer (Visible in Context)
Knowledge Extraction (M19)
Dialog synthesis integrates with the M19 knowledge extraction agent: Old (deprecated):- Extracts complete semantic units (not single words)
- Understands context from causal graph
- Categorizes knowledge (fact, decision, opinion, plan)
- Assigns confidence and causal relevance scores
Character Arc Tracking
Dialog synthesis updates character arcs after each conversation:data_argument,emotional_appeal,authority_claimhumor_deflection,silence_withdrawalprocedural_challenge,alliance_appeal,threat_escalation
accepted,dismissed,deferred,ignored,partially_acknowledged
Emotional State Persistence
Dialog synthesis updates emotional state in entity metadata:Best Practices
Use Archetype Profiles
Assign appropriate archetypes to entities:Calibrate Dialog Length
Control turn count and energy drain:Enable Quality Gates
Use semantic evaluation for critical scenarios:Sync TTM ↔ Cognitive
Ensure trained tensor values propagate to dialog:Next Steps
- Explore Templates to configure dialog synthesis settings
- Read Validation to understand dialog quality validators
- See Cost Optimization for fidelity strategies that affect dialog generation

