LESSON 209 / 215·2 min readIntermediate

Agents and frameworks

ReferenceReference guide
01 Understand02 Recall03 Prepare

Words made simple

A few useful meanings before you read the explanation.

Agent
An application that uses a model to choose its next action within defined limits. It can use tools and continue through several steps.
AI
Software techniques for tasks such as recognizing patterns, understanding language or generating content.
Retrieval
Finding and fetching information that is useful for the current question.
More words from this lesson
Tool calling
The model proposes using a named function and supplies its inputs. Application code checks permissions and runs the function.
Orchestration
Coordinating tasks: deciding their order, passing data between them, and handling waiting or failures.
State
The data describing where a workflow is now, what it already knows, and what still needs to happen.
Checkpoint
A saved snapshot of workflow progress that can help it continue later.
Durable
Able to retain progress and recover across interruptions. Durable workflows require appropriate storage and retry behavior.
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.

PAUSE & RECALL

Can you explain it without the notes?

Agents and frameworks

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

Check your explanation

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…

CONNECT IT TO YOUR INTERVIEW

Turn this concept into a clear answer.

Practice this concept
YOUR NEXT STEP

Keep connecting the ideas.

Next lesson: Workflows, memory, and safe operations

Adapted from 13_AI.MD · “Agents and frameworks”. Examples are study fragments; framework behavior can depend on your version.