TL;DR: Answer in three parts. The requirement that decided it ("approvals wait up to a day and refunds must never repeat"), the evidence ("we ran a pause, restart, resume test against two candidates and a plain loop; one re-ran the refund"), and what you still built (authority checks inside tools, idempotency keys, evaluation, cost limits, trace export). Name the framework last. Close with what would make you change it.
How to approach it
This is a judgement question disguised as a technology question. Lead with the system's hard requirements, show you tested behaviour rather than read marketing, and be specific about the boundary between the framework and your code.
A strong answer
Start with the requirement. "Our claims agent waits for adjusters, sometimes overnight, and issues payments. Two things could not go wrong: losing a run during a wait, and paying twice."
Show the evidence. "We wrote five failure scenarios against a scripted model: side effect then pause then process restart then resume; a tool that succeeds but times out; a handoff after a tool result containing instructions; two branches updating the same field; and a model looping on one call. We ran them through thin adapters against a plain loop we wrote and two frameworks. One framework replayed the paused node from its start, so the payment ran twice unless we moved it; the other persisted after every step. Both handled the loop with a budget."
Then the choice. "We chose the graph runtime with per-step checkpoints and a durable store, because the approval path had to be explicit and resumable, and kept the open-ended part of the work inside one model-driven node."
What the framework did not do.
| We built | Why the framework could not |
|---|---|
| Authority checks inside each tool | Only our services know who may pay which claim |
| Idempotency keys on payments | Retries happen below the framework too |
| Evaluation set and regression gate | Quality is defined by our domain |
| Per-run and per-tenant spending limits | Business policy |
| Trace export and redaction | Our compliance rules |
What would change the decision. "If the framework's persistence changed semantics in an upgrade, the suite would catch it; if our team moved to .NET, we would re-run the suite against an alternative there. The suite, not the name, is the asset."
What if · interview follow-ups
Hold your answer as the constraints change
You chose a framework for a claims agent. The interviewer pushes on the decision.
Start here
Why not just write the loop yourself?
What did the framework remove?
We could, and our baseline passed the scenarios we wrote it for. The framework removed persistence backends, streaming to the UI and trace export, which we would otherwise maintain, without hiding behaviour we needed to control.
Carry it forwardA framework earns its place by removing code you would own, not by existing.
Weak answerClaiming frameworks are always faster to build with.
Constraint changes
A new major version changes how resume works. What happens?
What runs on every upgrade?
The conformance suite runs in CI on the upgrade branch. If the side-effect count changes, the upgrade is blocked until we adapt, for example by moving the payment to its own step.
Carry it forwardThe conformance suite guards every upgrade.
Weak answerPinning forever and never upgrading.
Constraint changes
Your company standardises on a different framework next year. How hard is the move?
Where do tools, prompts and evals live?
Moderate, because tools, prompts, evaluation sets and business logic are in our code behind interfaces. We write a new adapter, run the same suite, and fix what differs.
Carry it forwardKeep tools, prompts and evals outside the framework.
Weak answerSaying it would be a rewrite, which shows the framework had become the architecture.
Now defend it
One-line summary?
I chose it for a specific requirement, verified with failure scenarios against alternatives and a plain loop, built authority, idempotency, evaluation and limits myself, and keep a suite that makes the choice reversible.
What interviewers probe next
"What did you regret?" A specific answer earns credit: "We let the framework's default in-memory store reach staging and lost two runs in a deploy."
"Would you choose it again?" "For this shape, yes; for a coding agent working in a repository, a packaged harness would fit better."
How it's scored
Weak: Lists features or popularity.
Hire: Names a decisive requirement and how the framework meets it.
Strong Hire: Requirement, tested failure behaviour against alternatives including a baseline, the explicit list of what was still built, how upgrades are guarded, and what would change the decision.
Common mistakes
- Leading with the framework's name.
- Claiming the framework handled authorisation or evaluation.
- No evidence beyond documentation.
- Treating the framework as the architecture.