A block diagram with five stages: (1) Trigger — the event that starts the workflow. (2) Ingestion — normalize the input, validate schema. (3) Reasoning — LLM call with retrieval, tools, and structured output. (4) Action — the downstream effect: database write, API call, message sent. (5) Audit — structured log for review. Annotations on each stage note the common failure modes and mitigations.
Key Ideas
Trigger, ingest, reason, act, audit.
Every stage has a failure mode. Design for all five.