Tinker AI agents

by Samy (Kondasamy Jayaraman)

OK

Step 2 of 18 · Model → Host appget_order(order_id: 1042)

Chapter 3 of 7

Plans, and approving a plan

In chapter 2 nobody saw where the agent was heading until it arrived. The support lead wants its steps first, and a way to say no.

This chapter: How does an agent plan, change the plan when surprised, and who approves it?

About this chapter

You will learn

  • What a plan adds, and why a surprise makes the agent re-plan
  • How approving a plan once replaces approving every call, and why a change goes back to the person
  • Why approval stops a planted instruction only if someone reads the plan

Words you’ll meet

Plan
The steps the model writes down before it acts, one item per tool call. The host shows it on the clipboard.
Re-plan
The agent changing its plan part way, because a result told it something the plan did not expect.
Plan approval
A person approves the plan once before anything runs. A call outside the approved plan comes back to them.
Prompt injection
Instructions hidden in data the model reads, such as a customer email, written to make it do something else.

Step 1 of 10

mode asks the model to write its steps on the clipboard before it calls anything.

Turn plan mode on.