Library
The Christensen Engine Has No Twin — But It Has Relatives in Surprising Places · 5 of 12

Key Principle

Separate the LLM conversation layer from deterministic decision logic. The state machine is authoritative about what happens next; the LLM handles only how the conversation flows — tone, phrasing, natural language generation within strict guardrails. This is the "Thick Deterministic Core / Thin LLM Shell" pattern.

"The machine is authoritative about what happens next. The LLM is creative about how the conversation flows. Keep that boundary sharp and you'll avoid the most expensive mistakes these teams made." (p. 1, chunk 006)

Why This Matters

In regulated domains (clinical, financial, legal), unpredictable LLM outputs create liability exposure. When the LLM controls routing, you cannot guarantee every assessment follows a validated path. Deterministic control is not an engineering preference — it is a compliance requirement. Every Tier 1 product (Woebot, Ada Health, Origin Financial, Limbic, Neota Logic) arrived at this architecture because their regulators demanded it.

Independent convergence from Salesforce ($500M+ ARR), Stately/XState (~27K GitHub stars), Rasa CALM, and Microsoft Research ("StateFlow") proves this is not a design choice but a structural necessity. "When the stakes of AI output are high enough to demand deterministic control, this architecture emerges naturally." (p. 1, chunk 003)

Good Examples

  • Ada Health: Bayesian probabilistic reasoning engine makes ALL decisions — which question to ask, when to stop, what the output is. The NLP layer is strictly a translator: it maps natural language to structured "findings." The two layers communicate via structured data contracts, not natural language. (p. 5, chunk 003)

  • Origin Financial: 138 automated compliance checks on every output (numerical accuracy, factual consistency, suitability, disclosure compliance, privacy). Deterministic code handles all mathematical calculations for cent-level precision. $500M ARR validates commercial viability. (pp. 3-4, chunk 003)

  • XState/Stately Agent: Dave Mosher's two-bridge-tool pattern — get_current_state and take_action — is the minimal viable interface between LLM and state machine. Each state gets a focused, minimal prompt and only relevant tools. (p. 5, chunk 004)

Counterpoints

  • Instruction Bloat (Salesforce): Trying to achieve deterministic behavior through increasingly detailed LLM instructions paradoxically causes agents to fail. Vivint (2.5M customers) found satisfaction surveys randomly not sent despite clear instructions — invisible until audited. "We had more faith in the LLM as an industry." (p. 4, chunk 004)

  • The Single-LLM Ceiling (ValidatorAI): 300K+ users prove market demand, but single-prompt architecture with no state persistence produces shallow analysis. 5-10 minute sessions vs. 30-45 minute structured sessions is a category difference, not a feature difference. (p. 5, chunk 002)

  • The B2B Pivot Warning (Woebot): $123M invested, clinical rigor, FDA Breakthrough Device designation — yet consumer app shut down. "Architecture is not enough" — the architecture was never the problem; the business model was. (pp. 2-3, chunk 003)

Key Quotes

"The closest behavioral relatives are not business idea tools at all: they are clinical diagnostic chatbots and regulated financial advisors, where the 'LLM never decides where to go next' constraint exists for the same reason — liability requires deterministic control over the assessment path." (p. 1)

"every team that succeeded eventually arrived at the same architecture — a deterministic state machine controlling an LLM conversation layer — and every team that struggled did so because they initially gave the LLM too much authority." (p. 2, chunk 003)

"generative AI is best used to augment well-structured conversational agents" (p. 2) — Woebot BUILD study

Rules of Thumb

  • The LLM interprets; the state machine decides. Never invert this.
  • Build the state machine first, test with zero LLM calls, then add the LLM shell.
  • 85% of value comes from deterministic workflow design, 15% from AI augmentation.
  • Architecture is converging as best practice — the real moat is the depth of domain expertise encoded in the deterministic layer.

Related References