Foundation·Concept·2 min read

The Architecture at a Glance

Practice this question
Example
                         User message
                              |
                              v
                 Authentication / session context
                              |
                              v
                  LLM information extraction
                  - intent and relevant entities
                  - structured candidate facts
                              |
                              v
                   Schema and policy validation
                  - type / format / allowed values
                  - confidence or ambiguity checks
                              |
                              v
                     Deterministic workflow
                  - current state and ledger
                  - rules and decision tables
                  - required questions / obligations
                  - allowed state transitions
                              |
                 +------------+------------+
                 |                         |
                 v                         v
         Ask / clarify / reject      Approved action
         predefined response         via connector/API
                 |                         |
                 +------------+------------+
                              |
                              v
                       Audit / journal
                              |
                              v
                         User response

The critical separation is between interpreting language and making business decisions.

Adapted from 19_deterministic_workflow_engine_learnings.md · “2. The Architecture at a Glance”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.