TL;DR: Every agent framework wraps the same loop: send the transcript to the model, run the tool calls it returns, append the results, check a stop condition. What differs is the decisions each one makes about that loop, so compare them by asking six questions. Control: does the model pick the next step or does a graph you declared? State: what is kept, where, and what survives a crash? Pause and resume: how does a run wait for a person and what re-runs when it continues? Delegation: does work move between agents by handing over the conversation or by calling an agent as a tool? Integration: how are tools defined, and are the protocols first-class? Visibility: what does a trace show and can you evaluate runs? Pick the framework whose answers fit your system, and be ready to say what you would still build.
How to approach it
Refuse to start from names. Say what is common, so the interviewer knows you could write the loop yourself, then give the questions and what a good answer to each looks like for a stated system. Close with the honest part: the framework's abstraction is worth paying for only when it answers a question you have, and you will build whatever it does not.
A strong answer
The loop is forty lines, and every framework runs it (Reading Any Agent Framework):
while True:
reply = model(messages, tools)
if no tool calls: break
for call in reply.tool_calls:
messages.append(tool_result(call.id, run(call)))
if budget exceeded: break
A framework earns its place by the decisions it makes around that loop, and those decisions are what you compare. Six questions cover them:
| Question | What you are asking | Why it decides |
|---|---|---|
| Control | Does the model choose the next step freely, or does a graph you declared constrain the path? | A refund flow wants declared states; an open research task wants freedom |
| State | What is kept between steps, where, and what survives a process crash? | Without durable state there is no resume, no wait and no audit |
| Pause and resume | How does a run wait for a person, and what re-runs when it continues? | Approvals are waits; a resume that re-runs side effects is a double charge |
| Delegation | Does work move between agents by handing over the conversation, or by calling an agent as a tool with its own context? | Handover keeps history and spends tokens; a call keeps contexts small and loses history |
| Integration | How are tools defined? Are MCP and A2A first-class or bolted on? | A framework that cannot speak the protocols makes every integration yours |
| Visibility | What does a trace show per step? Can you replay a run and evaluate a set of them? | You cannot improve what you cannot see, and agents fail in traces, not in logs |
The answers only mean something against a system, so state one. Take an approval-heavy procurement agent. Control: declared, because the steps and their order are known and auditors will ask. State: durable, keyed per request, with a history that survives a deploy. Pause and resume: a wait of days for a manager with no process alive, and a resume that reads recorded results rather than re-running the purchase call. Delegation: little; one agent with a clear state machine beats a team. Integration: the supplier systems are tools, several behind one protocol. Visibility: every step in a trace with the approval record attached.
Now the same questions for a coding agent flip half the answers: free control, because the path depends on what the tests say; state as a session log; delegation to subagents for isolated exploration so the main context stays small; visibility as a replayable transcript per run. The framework that fits the first system is a poor fit for the second, and a comparison by popularity would never show that.
The last part is what you would still build. Frameworks rarely give you the policy layer that decides whether a tool call is allowed for this user, the idempotency on your own write tools, the evaluation set, or the budgets tuned to your task. Saying "the framework handles that" about any of these is the answer interviewers listen for, because it is usually wrong.
Authority line: a framework structures the loop; the authority decisions, which calls run, under whose identity, with whose approval, are yours in every framework, and a comparison should say where each one lets you put them.
What interviewers probe next
"Why not write the forty lines yourself?" For one agent, often right. The framework pays when you need durable state, waits and replay across many agents, or when a team must read each other's agents. Compare the cost of its abstraction against the parts you would otherwise write and maintain.
"The framework we chose has no trace replay." Then visibility is yours to build, and the choice should be revisited before the second agent, not after the tenth. Say how you would add a trace at the model-call boundary in the meantime.
"Does the framework choice affect the model's quality?" The harness around the model changes outcomes more than people expect: tool definitions, context management and error handling are all framework decisions. Measure on your task set with two frameworks and the same model before believing a benchmark.
How it's scored
Weak: Compares frameworks by popularity or feature lists, or recommends one without stating the system.
Hire: Names the shared loop, asks the six questions, and shows how the answers differ for two concrete systems.
Strong Hire: Also lists what every framework leaves to you, places the authority decisions, treats the choice as revisable with a trigger, and insists on measuring on the team's own tasks.
Common mistakes
- Starting from the framework and fitting the system to it.
- Treating "supports MCP" as the whole integration question.
- Ignoring pause and resume until the first approval flow.
- Assuming the framework's trace is enough to evaluate runs.
- Saying the framework handles authority, idempotency or evaluation.