Quiz · 16 · Agent Frameworks
66 questions from 10 pages
These are the Check Yourself questions from each page of the module, collected in course order. Each heading links back to the page the questions test. All module quizzes →
Choosing an Agent Framework
Check yourself
0 / 4 answered
- Which concern does an agent framework NOT remove from your responsibility?
- A process runs for three days with two human review steps and must survive restarts. Which layer do you need?
- Why build an agent loop by hand before adopting a framework?
- In the lab, two frameworks' agents cancelled another customer's order that three others refused. What caused it?
LangChain and LangGraph
Check yourself
0 / 4 answered
- What must a LangGraph graph have for interrupt() to work?
- A node sends an email and then calls interrupt(). What goes wrong on resume?
- Which LangChain 1.x piece replaces AgentExecutor?
- Where would you enforce 'refunds only on the customer's own orders' in a create_agent agent, other than inside the tool?
OpenAI Agents SDK
Check yourself
0 / 4 answered
- The triage agent hands off to billing. Who writes the reply the user sees?
- How does a run requiring approval survive a process restart?
- Why does the lab call set_tracing_disabled(True)?
- An input guardrail classifies every message with a second model call. What does it cost, and how does the SDK hide the latency?
Claude Agent SDK
Check yourself
0 / 4 answered
- What does the Claude Agent SDK provide that the Messages API Tool Runner does not?
- What name does the model see for tool refund_item on in-process MCP server 'shop'?
- Which runs first when the agent tries to run a Bash command?
- Why is bypassPermissions acceptable only in a sandbox?
Google ADK
Check yourself
0 / 4 answered
- A support agent should let the model pick a specialist who then talks to the user directly. Which mechanism?
- What happens when before_tool_callback returns a dict?
- Which state key prefix persists across all sessions of the same user?
- Why does ADK 2 deprecate SequentialAgent and LoopAgent?
CrewAI
Check yourself
0 / 4 answered
- In a hierarchical process, who assigns tasks to agents?
- In a Flow, what triggers a method decorated with @listen('review')?
- Why log the actual prompt before tuning a CrewAI agent?
- Why is a Flow the recommended backbone for a production CrewAI app?
Microsoft Agent Framework
Check yourself
0 / 4 answered
- Which two projects does Microsoft Agent Framework succeed?
- Where does a MAF workflow save checkpoints?
- Which orchestration keeps a task ledger and re-plans when progress stalls?
- How does a run with a tool marked approval_mode='always_require' continue?
PydanticAI
Check yourself
0 / 4 answered
- How does a tool get the current database connection in PydanticAI?
- What happens when the model's output fails validation against output_type?
- Why does TestModel make agent unit tests cheap?
- What does wrapping an agent in TemporalAgent change?
Q&A Review Bank
Check yourself
0 / 6 answered
- What does an agent framework add to a raw model API loop? Name five things.
- What does a framework hide that you need when debugging?
- Place these on the layer map: LangGraph, OpenAI Agents SDK, anthropic SDK, Bedrock AgentCore.
- When is no framework the right choice?
- The same model and tools ran in six frameworks in this module's lab. Where did results differ, and why?
- How do you keep the cost of switching frameworks low?
Check yourself
0 / 5 answered
- What replaced AgentExecutor in LangChain 1.x?
- Name four built-in LangChain middleware and what each does.
- What two things does interrupt() need to work?
- Why must side effects come after interrupt() in a node, or be idempotent?
- What is the LangGraph Store for?
Check yourself
0 / 4 answered
- Handoff vs agent.as_tool - what's the difference?
- How is a run requiring approval resumed after a restart?
- What do input guardrails cost and how is latency hidden?
- What do you lose running the Agents SDK on a non-OpenAI model through Chat Completions?
Check yourself
0 / 4 answered
- How does the Claude Agent SDK differ from the Messages API Tool Runner?
- How are custom tools added, and what name does the model see?
- In what order are permissions decided?
- Which hook would you use to make the agent run tests before finishing?
Check yourself
0 / 4 answered
- What are ADK's three ways to involve another agent?
- What replaced SequentialAgent, ParallelAgent and LoopAgent in ADK 2?
- What happens when before_tool_callback returns a dict?
- What do the state prefixes user:, app: and temp: mean?
Check yourself
0 / 3 answered
- What does a hierarchical crew add over a sequential one?
- In a Flow, what do @start, @listen and @router do?
- Why is a Flow the recommended backbone for production CrewAI apps?
Check yourself
0 / 5 answered
- What does Microsoft Agent Framework combine?
- Name MAF's five built-in orchestrations.
- How does PydanticAI pass a database connection to tools?
- How does PydanticAI pause for approval?
- How does PydanticAI make runs durable?
One Agent, Many Frameworks
Check yourself
0 / 3 answered
- Why does the lab keep the tools as plain functions in common.py rather than writing them per framework?
- Which approval styles let a reviewer approve tomorrow from another process?
- The OpenAI Agents SDK scored 12/18 and LangChain 15/18. Is LangChain the better framework?