Plan mode

Use Plan mode in Cloudera Agent Studio to have an agent research a task and propose a plan, and to review the plan before the agent carries out any action that changes state.

How Plan mode works

Plan mode has two stages: planning and execution.

  1. Planning is read-only. The agent can read, call helpers, ask you questions, and use the read-only built-in scout. Nothing changes until you approve the plan. Plan mode denies any request that changes state, such as a file write or a network call.
  2. When the agent submits its plan, the Approve execution plan card shows the proposed steps for your review.
  3. Execution starts only after you accept the plan. After you approve, each step can do exactly what the step names.

Scope of an approval

Your approval is limited to the plan that you reviewed. The card states that accepting the plan pre-approves only the exact effectful actions that the plan lists, while their steps are active. A denied action stays blocked, and a read-only tool still follows the ordinary permissions. If the agent needs to take an action outside the scope of the plan, it must submit a revised plan for your approval. The existing permission restrictions still apply.

Feedback and revision

You can send feedback on a plan to ask the agent for a revised plan. A plan has up to three rounds of review, and the card shows the current round, for example Round 1 of 3. You can also decline the plan or cancel the run, which stops the agent without approving the proposed actions.

For the steps to review a plan, see Reviewing an execution plan.