Content & privacy
AI Engineering · INTERVIEW GUIDE

AI Engineering

Learn LLMs, RAG, agents, secure tools, and production AI through practical insurance examples.

Practice this topic
Filters
11 questions

What LangGraph is and why it exists

AI Engineering·LangGraph, in depth

LangGraph represents execution as a graph of steps sharing explicit state. Nodes do work and edges select the next step; the graph can contain both ordinary code and model decisions. It supports applications that need branching, repeated tool use, and…

Intermediate3 min read

State and reducers

AI Engineering·LangGraph, in depth

State is the structured data shared by graph steps, such as current intent, evidence IDs, and task phase. A reducer specifies how a new update combines with an existing state field. Some fields replace earlier values; others safely combine multiple updates.

Intermediate2 min read

Nodes, edges, conditional edges, and routing

AI Engineering·LangGraph, in depth

A node is a function performing one graph step. An edge describes the next step, while a conditional edge selects from allowed destinations based on state. Routing can use model output, deterministic checks, or both.

Intermediate2 min read

Practical TypeScript graph with an approval pause

AI Engineering·LangGraph, in depth

This is a minimal orchestration demonstration, not an insurance backend. Dependencies are @langchain/langgraph and zod. It uses the documented StateSchema style; older tutorials may use Annotation.Root. Select compatible package versions before adopting…

Intermediate2 min read

Checkpoints, persistence, and memory

AI Engineering·LangGraph, in depth

A checkpoint records execution progress and state at a recovery boundary. Persistence saves it outside the process. Memory is selected information reused by later turns or tasks; a checkpoint is not automatically good long-term user memory.

Intermediate2 min read

Interrupts and human review

AI Engineering·LangGraph, in depth

An interrupt pauses graph execution and exposes a payload for external input. Resumption supplies the requested value. The node containing the interrupt can run again from its beginning on resume, so code before the pause may repeat.

Intermediate2 min read

Tool integration and the agent loop in a graph

AI Engineering·LangGraph, in depth

A graph can separate model decisions, tool execution, and stop checks into different nodes. The model node proposes calls; the tool node uses approved business services. Conditional routing returns to the model only while permitted progress remains.

Intermediate2 min read

Subgraphs and multi-agent graphs

AI Engineering·LangGraph, in depth

A subgraph is a smaller graph used as a component of a larger one. A multi-agent graph assigns model-driven responsibilities to separate nodes or subgraphs. Subgraphs support modularity even when no multi-agent behavior is involved.

Intermediate2 min read

Streaming graph events

AI Engineering·LangGraph, in depth

Graph streaming exposes progress such as state updates, node events, and model token events. It lets a UI distinguish “retrieving,” “waiting for approval,” and “complete.” Stream modes and event APIs vary by version.

Intermediate2 min read

Errors, retry logic, and recovery

AI Engineering·LangGraph, in depth

Error handling distinguishes recoverable infrastructure failures, invalid user input, unsupported model decisions, and business failures. Retry repeats an operation after an appropriate transient failure. Recovery uses persisted progress and reconciliation to…

Intermediate2 min read

Production architecture and choosing LangGraph

AI Engineering·LangGraph, in depth

A production graph sits within an authenticated application, durable execution service, approved tools, checkpoint store, and monitoring system. LangChain supplies components; LangGraph controls stateful execution. A graph can be deterministic, agentic, or…

Intermediate2 min read

Difficulty is an editorial estimate. Completion means you chose to mark a question as understood.