Skip to content

Agent Frameworks & SDKs

17 questions
0 of 17 done · 5 unlocked for you
DONEUNLOCKEDLOCKED

Agent Frameworks & SDKs Interview Questions

Google ADK, LangChain and LangGraph, Microsoft Agent Framework, CrewAI, and the OpenAI and Claude agent SDKs, read through the same questions: who owns the loop, where state lives, how a run pauses for a person and resumes, how agents hand work to each other, and what each one hides that you will meet in production.

Worked answers that trace the run, put each decision on the right side of the authority line, and end with the follow-ups and scoring a panel applies.

You have 5 free answers unlocked here.Sign in free for 1 more · 11 are premium.
01–07Foundationsthe mechanisms behind this topic, and the terms a panel uses for them0/7 done
08–13Core questionsthe questions this topic is most often tested on, with full worked answers0/6 done
14–17Field scenariosopen-ended designs, incidents and trade-offs where you must state what is missing0/4 done
PRACTICE TESTStudied this track? Prove it: a timed Agent Frameworks & SDKs test.fresh items every sitting · explanations for every answer · easy items free with an accountStart →

The concepts behind Agent Frameworks & SDKs

Lessons behind these answers. The opening lessons are free; deeper ones are Premium.

Foundational
Reading Any Agent FrameworkFrameworks such as Google ADK, LangGraph, Microsoft Agent Framework, CrewAI and the OpenAI and Claude agent SDKs differ in vocabulary but wrap the same mechanism. Reading one well means asking six questions: who drives control flow (the model, a graph you declare, or both); where state lives and how it is persisted; how a run pauses for a person and resumes after a restart; how work moves between agents (handoff or agent as tool); how tools, MCP and A2A plug in; and what traces and evaluations it gives you. The answers predict where a framework will help and where it will surprise you in production.
Foundational
LangChain and LangGraphLangChain and LangGraph reached 1.0 in October 2025 (MIT). LangChain's create_agent builds a model-calling-tools loop with middleware: hooks before and after the agent and model, and wrappers around model and tool calls. LangGraph is the runtime for long-running, stateful agents: a StateGraph of nodes and edges over typed state with reducers, compiled with a checkpointer so each thread can resume. interrupt() pauses a node and Command(resume=...) continues it, re-running that node from its start. Deep Agents packages a harness on top.
Core
Sign in
Google Agent Development Kit (ADK)Google's Agent Development Kit (Apache-2.0; 2.15.0 in November 2026) runs agents through a Runner that loads a Session from a session service. Session state is scoped by key prefix: none for the session, user: across a user's sessions, app: across the app, temp: for one invocation. Callbacks wrap agent, model and tool calls. ADK 2.0 adds graph workflows of agent and function nodes with routers and RequestInput for human input, and tools can require confirmation. It supports MCP and A2A.
Advanced
🔒 Premium
Microsoft Agent Framework, and What Became of Semantic Kernel and AutoGenMicrosoft Agent Framework (MIT; 1.0 in April 2026) is the direct successor to Semantic Kernel and AutoGen, built by the same teams, with migration guides from both. Agents have sessions, context providers and middleware. Workflows connect executors with edges built by WorkflowBuilder; executors receive typed messages, send them on, yield outputs and can request information from a person. Builders cover sequential, concurrent and Magentic orchestration, and a workflow can be exposed as an agent. Python, .NET and a Go preview.
Advanced
🔒 Premium
CrewAI: Crews and FlowsCrewAI (crewai on PyPI, MIT; 1.15.44 in November 2026) models agents with a role, goal and backstory, and tasks with a description, expected output, assigned agent, context from earlier tasks, tools, guardrails and structured output. A Crew runs tasks with a sequential or hierarchical process, where a manager assigns work. Flows are event-driven workflows: methods decorated with start, listen and router, combined with or_ and and_, sharing unstructured or Pydantic-typed state. The persist decorator saves flow state (SQLite by default), a flow can resume by id or fork from a saved state, and tasks or flow steps can ask a person for feedback.
Advanced
🔒 Premium
The OpenAI Agents SDK and the Claude Agent SDKThe OpenAI Agents SDK (MIT) offers Agent, Runner, handoffs with input filters, agents as tools, guardrails that trip a run, sessions, tracing, and approvals: tools marked needs_approval interrupt the run, which is saved as RunState, approved or rejected, and resumed. The Claude Agent SDK (MIT, Python and TypeScript) runs the Claude Code harness as a library, with built-in file and shell tools, permission modes, a can_use_tool callback, hooks such as PreToolUse that allow, deny, ask or defer, subagents, skills, MCP and forkable sessions.
Advanced
🔒 Premium
Choosing an Agent Framework, or NoneAgent frameworks converge on features (tools, MCP, multi-agent, human-in-the-loop, tracing) and differ in behaviour under failure: what is persisted and when, what re-runs on resume, what history crosses a handoff, how errors reach the model, and how quickly APIs change. A sound choice starts from the system's hard requirements, writes a small conformance suite of failure scenarios, runs it against a framework-free baseline and two or three candidates, and weighs the results against version churn and lock-in. A framework earns its place when it removes code you would otherwise maintain without hiding a behaviour you need to control.
Unlock all 17 answers · $25

All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.

6 months · One payment · No auto-renewal