LESSON 154 / 215·2 min readAdvanced

Which parts are deterministic and which are agentic?

Must knowConcept lesson
01 Understand02 Recall03 Prepare

Words made simple

A few useful meanings before you read the explanation.

Deterministic
Following steps or rules defined by code. The model does not decide which step should run next in a deterministic workflow.
LLM
A model trained to work with language. It can write or summarize text, but its answer still needs checking against reliable information.
Retrieval
Finding and fetching information that is useful for the current question.
More words from this lesson
Grounding
Connecting an answer to supplied evidence, such as a policy document or a verified database result.
Agent
An application that uses a model to choose its next action within defined limits. It can use tools and continue through several steps.
Durable
Able to retain progress and recover across interruptions. Durable workflows require appropriate storage and retry behavior.
Idempotency
Making a repeated request have the same intended business effect as one request. It helps avoid duplicate submissions or payments.
Authorization
Checking what that identity is allowed to read or do. Being logged in does not grant access to every record.
ResponsibilityApproachWhy
Login, tenant/customer identityDeterministicPermissions cannot depend on a model
Policy ownership and active version resolutionDeterministic service lookupAuthoritative applicability must be verified
Exact claim statusDeterministic authorized toolThe backend is the source of truth
Premium/deductible calculationsDeterministic business rulesExact numerical/business behavior
Policy clause retrievalControlled search serviceEligibility, versions, and budgets are explicit
Explain retrieved wordingLLM with source groundingUseful language transformation
Interpret accident descriptionStructured model extractionHandles varied natural language
Ask for missing fields/documentsRules plus bounded agent wordingRules know what is required; model communicates
Choose among safe information toolsBounded agent/graphNext information need may vary
Create/update draftDeterministic record write from validated proposalDraft lifecycle and concurrency need control
Determine required approvalDeterministic policyRisk controls cannot be negotiated by prompt
Submit claim / modify policyAuthorized deterministic workflowExact consent, business invariants, idempotency
Claim denial or settlementAuthoritative rules and authorized human processConsequential adjudication is outside casual agent authority
Draft emailLLM allowedLanguage assistance
Send emailApproved recipients/content + deterministic senderExternal effect and disclosure risk
Retention, deletion, auditingDeterministic policies/servicesConsistent data governance

Agentic portion: interpreting wording, gathering missing information, and choosing among bounded read/search actions. Workflow portion: identity, required fields, approvals, transaction order, retries, and durable outcomes. LangGraph can coordinate the conversation; a durable business workflow coordinates a multi-day operational claim process if required. MCP is optional when several hosts reuse the tools.

PAUSE & RECALL

Can you explain it without the notes?

Which parts are deterministic and which are agentic?

Use your own words. Explain an example and one limitation before checking the explanation.

Check your explanation

Agentic portion: interpreting wording, gathering missing information, and choosing among bounded read/search actions. Workflow portion: identity, required fields, approvals, transaction order, retries, and durable outcomes. LangGraph can coordinate the…

CONNECT IT TO YOUR INTERVIEW

Turn this concept into a clear answer.

Practice this concept
YOUR NEXT STEP

Keep connecting the ideas.

Next lesson: Tools and their safe contracts

Adapted from 13_AI.MD · “Which parts are deterministic and which are agentic?”. Examples are study fragments; framework behavior can depend on your version.