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
299 questions

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

OpenAI Agents SDK

AI Engineering·Modern agent frameworks

The OpenAI Agents SDK provides agent-oriented building blocks for model calls, tools, handoffs, and run management. It offers a higher-level agent interface than manually processing each API response. SDK features and provider integration details depend on…

Intermediate2 min read

Microsoft Agent Framework: agents and workflows

AI Engineering·Modern agent frameworks

Microsoft Agent Framework, or MAF, provides agent abstractions and explicit workflows. An agent handles model-driven interaction and tool use; a workflow connects agents and ordinary functions through controlled paths. Microsoft describes it as the successor…

Intermediate2 min read

Semantic Kernel and AutoGen

AI Engineering·Modern agent frameworks

Semantic Kernel is a Microsoft ecosystem for integrating models, plugins/functions, and agent capabilities into applications. AutoGen is known for multi-agent conversation and orchestration abstractions. Their historical APIs remain relevant in existing…

Intermediate2 min read

CrewAI and Google ADK

AI Engineering·Modern agent frameworks

CrewAI organizes agent work around roles, tasks, and orchestration constructs such as flows. Google ADK is an agent development toolkit with agent and workflow-oriented components. Both provide reusable abstractions; neither makes a multi-agent design…

Intermediate3 min read

Deterministic workflows

AI Engineering·Deterministic and agentic workflows

A deterministic workflow follows explicitly coded transitions for given inputs and recorded external outcomes. It can call nondeterministic services, but its orchestration rules remain controlled. It is the natural extension of validation, transactions, and…

Intermediate2 min read

Agentic workflows

AI Engineering·Deterministic and agentic workflows

An agentic workflow allows a model to choose some steps based on observations. The surrounding application limits the actions, resources, and impact of those choices. It is useful for variable tasks but offers less predictable paths and call counts.

Intermediate2 min read

Hybrid workflows and state machines

AI Engineering·Deterministic and agentic workflows

A hybrid workflow combines deterministic control with model-driven interpretation or planning. A state machine defines named states and permitted transitions. The state machine constrains what can happen even when a model proposes something else.

Intermediate2 min read

State machines, DAGs, and event-driven workflows

AI Engineering·Workflow orchestration

A state machine models valid states and transitions. A DAG, directed acyclic graph, models dependencies without loops. Event-driven workflows react to events such as document.uploaded or review.approved instead of doing all work inside one HTTP request.

Intermediate2 min read

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