What job should the planner own in a planner-executor agent?

Instruction: Explain the planner role without turning it into a second executor.

Context: Checks whether the candidate can explain the core concept clearly and connect it to real production decisions. Explain the planner role without turning it into a second executor.

Updated

Example Answer

I would have the planner propose the next steps, required inputs, dependencies, and a clear completion condition. The executor would run only validated actions, record their outcomes, and report facts back to the planner.

For example, a planner could propose checking stock and then placing an order. It cannot grant itself permission to buy. The application checks the account, spending limit, and required approval at the tool boundary before executing the purchase.

I would keep the plan small enough to inspect and allow replanning when new evidence changes the situation. A fixed plan is easier to audit, but it can become wrong after a stock change. Replanning should update the proposal without silently expanding the user's goal or authority.

Why this works

The answer gives each layer a concrete responsibility and makes approval an application control, rather than a planner opinion.

Follow-up to prepare for

What happens if inventory changes between planning and purchase? Recheck the purchase preconditions and ask again if the approved action changes materially.

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions