Planning & Reasoning interview question

Agentic AIPlanning & ReasoningPrompt Engineeringmedium

A bank moves its claims-triage planner from a general chat model to a reasoning model. The old prompt says "Think step by step", lists a fixed 10-step script (call get_policy, then get_police_report, …) and includes six long example traces. With the reasoning model, plans follow the script even when steps do not apply (it requests police reports for burst-pipe claims), and token use has risen. What is the best first revision of the prompt?

  1. AKeep the script, add "think step by step before each step" to every item and add more example traces, since reasoning models follow detailed procedures best when every intermediate step is spelled out.
  2. BState the goal, constraints, success criteria and when each tool applies; remove the script and "think step by step" and start zero-shot, since reasoning models already plan their own path internally.
  3. CReplace the written instructions with the six example traces alone, since reasoning models infer policy from demonstrations more reliably than from rules, goals or descriptions of the available tools.
  4. DAsk the model to write its full reasoning into the visible answer before every tool call, since reasoning models plan better when their internal chain of thought is repeated in the output as well.
Show the answer and explanation

Correct answer: B, State the goal, constraints, success criteria and when each tool applies; remove the script and "think step by step" and start zero-shot, since reasoning models already plan their own path internally.

Explanation Planning & Reasoning

Reasoning models already produce an internal chain of thought before they answer, so some prompting habits from non-reasoning models work against them:

  • "Think step by step" is unnecessary: the model reasons anyway, so the instruction adds tokens rather than quality.
  • A rigid step script replaces the model's own planning with yours. The model follows it faithfully, including steps that do not fit the case, which is exactly the police-report symptom.
  • Long example traces anchor the model on the examples' specific paths. Provider guidance for reasoning models is to try zero-shot first and add a few examples only if needed, keeping them consistent with the instructions.

A reasoning-model planner needs a clear specification of the problem instead:

Give the modelExample
Goalroute each claim to the right queue with a severity
Constraintspolicy rules, limits, actions that always need a human
Success criteriawhat a finished triage contains: queue, severity, missing documents
Toolswhat each tool does and when it applies

Then let the model choose the path, and measure with evals before reintroducing examples.

Why the alternatives fail: more scripted steps and more examples double down on the cause. Demonstrations alone hide the actual rules the plan must respect. Asking for visible reasoning duplicates the hidden reasoning, adding output tokens without reliably better plans.

Interview tip: a crisp line is "with reasoning models I specify the what and the why (goal, constraints, success criteria) and leave the how to the model".

Practice it as a quiz

Answer this and the other free questions with instant grading, streaks and weak-topic tracking, or unlock all 4,000 questions.

More Agentic AI questions

  1. In LLM applications, what is an AI agent?
  2. Why do long-running agents checkpoint (persist) their state after each step?
  3. During an outage, a retailer's inventory API answers every request with HTTP 503. The shopping assistant reaches it through the three layers below; assume the…
  4. After one chat, a grocery-delivery assistant's memory extractor proposed the candidate long-term memories below. Which write policy keeps later recall precise?
  5. Trace mining of 50,000 runs of a telecom billing-support agent gives the tool paths below. The team will hard-code the three most frequent paths as…