session/update notifications and update them as work progresses.
plan_update carries a plan object with a type discriminator and a required planId so Clients can track multiple plans independently.
Agents can send items or markdown plans and remove them with plan_removed. No Client capability is required. Clients MUST accept both plan types and plan_removed. Accepting a plan does not require displaying it.
Creating plans
When the language model creates an execution plan, the Agent SHOULD report it to the Client withplan_update.
Item-based plans
An array of plan entries representing the tasks to be
accomplished.
Markdown plans
The complete plan as Markdown,
not just the text that changed.
The absolute path of the file that holds this plan. Omission and
null are
equivalent and mean the plan has no file.path MUST be an absolute path. A Client that displays the plan uses content whether or not it can reach the file. It can use path to open the file.
Removing plans
Agents can remove a plan by sendingplan_removed with the plan ID:
plan_removed when a plan is cancelled, for example when the user rejects it or the Agent abandons it. A finished plan doesn’t need to be removed. Clients MUST ignore plan_removed for a planId they don’t know.
To clear the plan for older Clients that don’t recognize plan_removed, Agents can first send an items update with the same planId and entries: [].
Extensibility
plan.type values can be custom or future variants when Clients can preserve or display them generically. Custom plan content types MUST begin with _. Unknown non-underscore plan content types are reserved for future ACP variants.
Every plan content variant, including custom or future variants, MUST carry a planId.
Plan entries
Each plan entry represents a specific task or goal within the overall execution strategy:A human-readable description of what this task aims to accomplish. It can be
plain text or Markdown, like a
text content block.
The relative importance of this task.
highmediumlow
_. Unknown non-underscore priorities are reserved for future ACP variants.The current execution status of this task
pendingin_progresscompletedcancelled
_. Unknown non-underscore statuses are reserved for future ACP variants.Updating plans
As the Agent progresses through the plan, it SHOULD report updates by sending moresession/update notifications with the same sessionUpdate: "plan_update" structure and planId.
Each plan_update replaces the whole plan with that planId, whatever its type, including when the type differs from the previous update. A Client that doesn’t understand the new type still treats the update as replacing that plan, so it stops showing the previous content.
For item-based plans, the Agent MUST send a complete list of all plan entries in each update and their current status. The Client MUST replace the current contents of that plan completely. An empty entries array empties the plan. Clients MAY hide an empty plan.