AI EngineeringInterview preparation
Intermediate·Concept·2 min read

Agents and frameworks

Practice this question
ConceptPractical explanation
AgentBounded decision/action/observation loop toward a goal
ReActAlternate choosing useful action and observing results
RouterSelect a narrow permitted route
Planner/executorPropose steps separately from controlled execution
Supervisor/handoffCoordinate specialists / transfer task ownership
Reflection/criticCheck and revise a draft with bounded retries
Multi-agentSpecialized roles only when evaluations justify coordination
LangChainUseful model, prompt, retrieval, and tool components
LangGraphExplicit state, nodes, transitions, checkpointing, and review/resume
MAFModel-driven agents plus explicit workflows in Microsoft ecosystem
OpenAI Agents SDKAgent-focused tools, runners, and orchestration helpers
MCPStandard integration protocol between AI hosts and external capabilities
MCP primitivesTools act; resources provide context; prompts provide task templates

LangGraph essentials: nodes return state updates; reducers define merge behavior; edges control next steps; model routes need validation; production needs durable checkpoint storage and authorized threads. An interrupted node can restart, so pre-pause side effects may repeat. Checkpointing does not make external writes atomic.

MCP essentials: host manages model interaction; client implements protocol; server exposes capabilities; business service enforces object/action rights. MCP is not a replacement for REST, model tool calling, or authorization. Review discovery and tool-definition changes.

Adapted from 13_AI.MD · “Agents and frameworks”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.